Cancel Refund | Refunds API
Refunds
Cancel Refund | Refunds API
Cancel refund via the Atoa Refunds API, request parameters, response schema and code samples in cURL, Python, JavaScript, PHP, Go and Java.
DELETE
Cancel Refund | Refunds API
This API allows you to cancel a refund that is still in a pending state and has not yet been processed. Once canceled, the refund will not be disbursed to the customer’s bank account.
You can only cancel refunds that are in a pending state and have not been
processed yet.
Sandbox environment refund cancellations cannot be simulated.
Authorization
Bearer<token>
Request Body Schema
string
required
The unique identifier of the refund you want to cancel. This is the refundId
that was returned when you initiated the refund from
Initiate Refund.
Response
number
The HTTP status code indicating the result of the operation. A value of 200
indicates success.
string
A human-readable message describing the result of the operation.
string
The unique identifier of the refund that was cancelled.