6. Retry

The retry service re-queues the relevant bulk payment order in cases such as encountering errors in your payment provider configuration.

Retry Service

POST {{Base Adres}}/api/paywall/payment/bulk/payment/retry

Important: To use the bulk payment retry service, you must include the apikeypublic and apiclientpublic parameters in the header.

PaymentAPI Address

The parameters to be sent to the service are as follows:

Parameter
Type
Compulsory
Description

apikeypublic

string

Yes

The Public Key obtained from the merchant panel.

apiclientpublic

string

Yes

The Public Client obtained from the merchant panel.

Cancellation Details:

Parameter
Type
Compulsory
Description

Date

DateTime

Yes

The date on which the bulk payment you want to retry was executed.

MerchantUniqueCode

string

Yes

The tracking number you provided during the bulk payment.

Sample JSON and example codes to be sent to the service are as follows:

{
    "Date": "2024-12-12",
    "MerchantUniqueCode": "8279c96e-2775-4ecf-b594-3cb8fb265f88"
}

Parameters Returned from the Service

Parameter
Type
Description

ErrorCode

int

Error code. Returns '0' if the operation is successful.

Result

bool

Returns true if the operation is successful, and false if it fails.

Message

string

Contains information about the operation or an error message.

Body > Result

bool

Indicates whether the request has been successfully received. If true, it means Paywall has successfully received the request and placed it in the queue. The results will be delivered via callback.

Body > TotalPaymentCount

int

Total transactions

Sample JSON Response from the Service

Last updated