The cancel_or_refund_request
contains the following data elements:
Field | Type | Required | Description |
---|---|---|---|
merchant_account |
char | 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 | 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 | 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 | A reference to the tender provided by the PED. | |
unique_terminal_id |
char | The unique identifier for the PED. |