Skip to main content
You can always be in control of funds movements in your platform if you provide split instructions in your refund requests, and you can support different refund scenarios, such as partial and multiple partial refunds. You can split a refund into:
  • The sale amount that is refunded
  • Your platform’s commission that is now refunded
  • The transaction fees incurred by the refund

Requirements

In addition to the general requirements for in-person payments with an Adyen for Platforms integration, take into account the following information.

Make a partial refund with split instructions

The process is the same as for providing split instructions in a Terminal API payment request:
  • You gather the split instructions and format these either as a JSON object converted to a Base64-encoded string, or as a string of concatenated key-value pairs.
  • Then you pass the resulting string in the SaleToAcquirerData field.
The main difference is that for a refund you need to use a reversal request, not a payment request.
  1. Collect the following information:
  2. Gather the split instructions, taking into account the following:
    • For the split.item[ITEM_NUMBER].reference values in the reversal request, you must use the same reference values as in the payment that you are refunding.
    • The amounts that the refund will be split into will be deducted from the relevant balance accounts.
    • Refunds can only be deducted from the balance accounts to which the payment was credited.
  3. Format the split instructions in one of the following ways:
    • Option 1: as a string of form-encoded key-value pairs (using & as a separator).
    • Option 2: as a JSON object converted to a Base64-encoded string.
    As an example, we issue a partial refund of USD 40.00 for an original split payment of USD 80.00.
    • A refund amount of USD 37.50 is debited from the user’s balance account BA00000000000000000000001.
    • A commission of USD 2.50 is debited from your liable balance account.
  1. Turn the split instructions you gathered into key-value pairs. For a partial refund, also include the currency in the format currency=ABC, where ABC is the three-letter currency code. This must match the currency of the original payment. For a full refund, you can omit the currency parameter. Key-value pairs for split partial refund
  2. Concatenate the key-value pairs into a string by separating them with ampersands (&). Concatenated key-value pairs