The request to cancel a transaction.
The request body for canceling a transaction. This is used to cancel a pre-authorized transaction or void a pre-selected one, providing details such as the transaction ID, the reason for cancellation, and the amount.
The unique transaction ID assigned by Nayax, provided in the /TransactionCallback.
The unique session ID from the initial /StartAuthentication request.
The ID of the site where the transaction occurred.
The timestamp of the cancellation from the device in its local timezone. The format is yyyyMMddHHmmssSSS.
The serial or external ID of the terminal used.
255Defines the type of ID used for the TerminalId parameter. Use 1 for the HW Serial or 2 for the Nayax Machine ID.
Indicates which cancellation flow is being implemented. Use 1 for a Pre-Authorization Cancel or 2 for a Pre-Selection Void.
The internal code explaining the reason for the cancellation.
A human-readable explanation of the cancellation reason. This parameter is optional.
The amount to be canceled in major currency units (e.g., dollars or euros).
Success. The transaction has been successfully canceled.
The response object for a canceled transaction, confirming the outcome of the cancellation and providing key details such as transaction identifiers, timestamps, and payment information.
The ID of the canceled session.
An object containing the final verdict of the cancellation and a descriptive message.
The brand of the card used for the transaction (e.g., "Visa", "MasterCard").
The last four digits of the card used.
The authorization code for the cancellation.
The timestamp of the cancellation from the device, in the format yyyyMMddHHmmssSSS.
The timestamp from the authorization server.
The server timestamp of the cancellation confirmation, in the format yyyyMMddHHmmssSSS.
The ISO currency code (e.g., "EUR").
The ISO numeric currency code (e.g., "978" for EUR).
The fiscal reference number for the receipt or audit trail.
The Nayax reference number of the transaction.