2. Retry

You can use this service to re-queue the payments of earnings whose Payment ID you know and that have been sent but failed.

Payment-Based Retry

PUT {{Base Adres}}/api/paywall/marketplace/earning/put/retry/product

Important: To use the Payment-Based Retry 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
Descripiton

PaymentId

int

Payment ID information. It is returned within the Paywall response object at the time of payment.

ChangeReflectionDate

bool

If you want to change the date on which the earnings payment will occur, you can send 'True'.

ReflectionDate

DateTime

The date on which you want the earnings to be paid

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