2. Defer Earnings
You can list your earnings records and extend the reflection date of the earnings before the related record is reflected to the sub-merchant.
Earnings deferral by Earning ID (EarningId)
PUT
{{Base Adres}}/api/paywall/marketplace/earning/postpone/id
To perform the related operation, the earning must not have been paid yet. Otherwise, the Paywall service will return an error message.
apikeypublic
string
Yes
Public Key obtained from the merchant panel.
apiclientpublic
string
Yes
Public Client obtained from the merchant panel.
The parameters to be sent to the service are as follows:
Id
int
Earning ID information
Day
int
Number of days to defer the earning. If set to 10, the earning will be paid 10 days after the original date.
Response returned from the service:
ErrorCode
int
Error code. Returns '0' if the operation is successful.
Result
bool
Returns a true or false value. Returns 'true' if the operation is successful.
Message
string
If the operation fails, this is the message describing the error, and it supports localization based on the locale parameter.
Body
object
Detailed information about the transaction
{
"ErrorCode": 0,
"Result": true,
"Message": "",
"Body": null
}
Last updated