Reverse Transaction
POST
/v3/payment/reverseWhat is this?
Reverse a transaction — used to void a payment before settlement. If a transaction times out, perform a reverse before creating a new transaction to prevent a double charge.
Reverse cancels a transaction — used mainly to prevent double charges when a timeout occurs. Use within ~15 minutes of a transaction.
How to Use
Step 1: Get the Order ID
Locate the orderId from the original transaction response.
Step 2: Make the Request
Send the reverse request with the orderId. Check the code field in the response — if "SUCCESS", the operation completed.
Request Parameters
Order ID of the transaction to reverse
Example: "180730103903010431152179"
Example Request
JSON
1{2 "orderId": "180730103903010431152179"3}
Response Parameters
Transaction response object
"SUCCESS" if the reverse succeeded, otherwise an error code.
Error code if the request failed.
Error message if the request failed.
Debug message (sandbox only).