The 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 refund 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 refund with the PSP reference, provide the following data element:
Field | Type | Required | Description |
---|---|---|---|
psp_reference |
char | Original Adyen order reference, used to reference an earlier transaction. It must refer to the pspReference of an earlier existing transaction. |
To refund 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. |
Field | Type | Required | Description |
---|---|---|---|
modification_amount_currency |
Long | The three-character ISO currency code. The currency must match the currency used in the original payment request. For partial refunds, this is the currency of the partial amount to be refunded. |
|
modification_amount_value |
Amount | A container for the amount that needs to be refunded. For partial refunds, this is the partial amount to be refunded. |