2. Defer Earnings
You can list your earnings records and extend the reflection date of the earnings before they are reflected in the sub-merchant's account.
Deferred earnings with EarningId.
PUT
{{PaymentBaseAddress}}/api/paywall/marketplace/earning/postpone/id
Important: To use the Deferred Earnings service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' section. PaymentAPI Address
In order to perform the relevant transaction, the earnings must not have been deposited. Otherwise, the PayWall service will return an error message.
Parameter | Type | Mandatory | Description |
---|---|---|---|
apikeypublic | string | Yes | The Public Key obtained from the merchant panel. |
apiclientpublic | string | Yes | The Public Client obtained from the merchant panel. |
The parameters that need to be sent to the service are as follows:
Parameter | Type | Description |
---|---|---|
Id | int | Identifier information for the earnings. |
Day | int | The number of days the earnings are to be deferred. When set to 10, the earnings will be deposited 10 days after the existing date. |
Servisten dönen cevap:
Parameter | Type | Description |
---|---|---|
ErrorCode | int | Error code. It returns a value of '0' if the transaction is successful. |
Result | bool | It returns either 'true' or 'false'. If the transaction is successful, it returns 'true'. |
Message | string | If the transaction is erroneous, this is the specified error message that provides language support based on the 'locale' parameter. |
Body | object | Transaction information |
Last updated