5. Try Again
The retry service places the relevant batch payment order back into the queue in cases such as errors encountered in your payment provider configuration.
Retry Service
POST
{{Base Adres}}/api/paywall/payment/bulk/payment/retry
The parameters that must be sent to the service are as follows:
apikeypublic
string
Yes
The Public Key you obtained from the merchant panel.
apiclientpublic
string
Yes
The Public Client you obtained from the merchant panel.
Cancellation Details:
Date
DateTime
Yes
The date on which the batch payment you want to retry was made.
MerchantUniqueCode
string
Yes
The tracking number you provided at the time of the batch payment.
The 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
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 or an error message related to the operation.
Body > Result
bool
Indicates whether the operation was successfully received. If true, it means Paywall has successfully received the request and placed it into the queue mechanism. Results will be delivered via callback notifications.
Body > TotalPaymentCount
int
Total transactions
Example JSON Returned from the Service
{
"ErrorCodeType": 1,
"ErrorMessage": null,
"ErrorCode": 0,
"Result": true,
"Message": "Bulk payment created and enqueued",
"Body": {
"Result": true,
"BulkPaymentId": 391,
"TotalPaymentCount": 6
}
}
Last updated