Key Points
- The Void Authorization API is crucial when a decision is made not to proceed with a transaction that has been authorised but not yet captured.
- Once the authorization is voided, the funds that were held on the customer’s account are released, making them available to the customer again.
- This API is typically used in scenarios where an order is cancelled before fulfilment or if there’s a change in transaction details requiring re-authorisation.
Flow diagram
Api Parameters
Authorizations
API Key for Authorization. Format: 'Basic YOUR_API_KEY_HERE'
API Key specific to x-api-key.
Body
application/json
The request payload to void a transaction.
Response
201 - application/json
Transaction voided successfully
True on successful transaction, false on failure.
Example:
true
The status code of the transaction.
Example:
201
True if live transaction, false if test transaction.
Example:
false
The transaction type (e.g., VOID).
Example:
"VOID"
A JSON object containing the response from the gateway.
A JSON object containing the details of the merchant.
A JSON object containing the payment details of the transaction.
A JSON object containing details of the transaction.