Void Transaction
This endpoint voids a previously authorized transaction. This request can only be done on transactions that are fully authorized and have not been captured
Notes:
- Partially captured authorizations cannot be voided: If any amount has been captured, void is not allowed. The response will indicate the remaining capturable amount..
- Fully captured authorizations cannot be voided:: Once a transaction is fully captured (status becomes CAPTURED), it cannot be voided. You must use the refund API instead.
- Authentication: Valid Authorization header required (same format as authorize endpoint).
- Only fully authorized (uncaptured) transactions can be voided: Void is only allowed for authorizations that have never been captured.
Authorizations
Payaza {{Public API Key in Base 64}}
Body
The reference of the authorization to be voided.
"AUTH-ABCD1234EFGH5678IJKL"
A unique reference for this void transaction generated by the merchant.
"VOID-001"
Reason for voiding the transaction.
"Customer cancellation"
Response
Void Transaction
Status of the void operation (e.g., VOIDED, ERROR).
"VOIDED"
Descriptive message about the operation status.
"Void successful"
Unique reference for the void transaction (present on success).
"VOID-1705123456-WXYZ5678"
The amount successfully voided.
100
Any remaining amount on the authorization (usually 0 after a full void).
0