3. Profit-Based
You can list your earnings records and extend the reflection date of earnings to the sub-merchant before it is reflected.
Earning deferral with EarningId.
PUT
{{PaymentBaseAddress}}/api/paywall/marketplace/earning/postpone/id
Important: To use the Earning Deferral service, you need to send the 'apikeypublic' and 'apiclientpublic' parameters in the 'Header' section.
Parameter | Type | Required | 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 | The Id (identity) information related to earnings. |
Day | int | The number of days the earnings are to be deferred. When specified as 10, the earnings will be reflected 10 days after the existing date. |
The response returned from the service:
Parameter | Type | Description |
---|---|---|
ErrorCode | int | Error code. Returns '0' if the operation is successful. |
Result | bool | It returns a true or false value. If the operation is successful, it returns 'true'. |
Message | string | If the operation is unsuccessful, this is the error message provided, offering language support based on the locale parameter. |
Body | object | Operation details. |
Last updated