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

Important: To use the Earnings Deferral service, you must include the apikeypublic and apiclientpublic parameters in the Header section. PaymentAPI Address

Parameter
Type
Compolsory
Description

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:

Parameter
Type
Description

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:

Parameter
Type
Description

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