Terminal-2 icon

cancel_or_refund_request

The cancel_or_refund_request contains the following data elements:

Field Type Required Description
merchant_account char -white_check_mark- The merchant account processing this transaction. Transactions can be performed with any of the merchant accounts that were returned when registering the POS.
reference char -white_check_mark- A reference for this request. Allows the merchant to identify the transaction.

There are two ways to cancel an order. Either with the original PSP reference, or with the tender reference and unique terminal ID for the terminal that processed the order.

To cancel with the PSP reference, provide the following data element:

Field Type Required Description
original_reference char -white_check_mark- An enum of type TRANSACTION_TYPES.

To cancel with the tender reference and unique terminal ID, provide the following data elements:

Field Type Required Description
tender_reference char -white_check_mark- A reference to the tender provided by the PED.
unique_terminal_id char -white_check_mark- The unique identifier for the PED.