Void transaction

Cancel a transaction that hasn’t been settled yet. Voiding non-captured authorizations prevents future captures. If a transaction has been settled, refund it instead.

Path parameters

transIdstringRequired

ReferenceId for the transaction (PaymentId).

Headers

requestTokenstringRequired

Response

Ok
responseCodeinteger

Code for the response. Learn more in API Response Codes.

isSuccessboolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

responseTextstring

Response text for operation: ‘Success’ or ‘Declined’.

responseDataobject
Response data for void transactions
pageIdentifierstring or null
Auxiliary validation used internally by payment pages and components.
roomIdlong or null

Field not in use on this endpoint. It always returns 0.

Errors