Skip to main content
If you want to split the refund amount between the balance accounts in your platform the exact same way as you defined in the original payment request, you do not need to include the split instructions in your reversal request.

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 refund without split instructions

  1. From the POIData.POITransactionID object in the Terminal API payment response, get the TransactionID and TimeStamp of the original payment. You need to specify this information in your reversal request.
  2. Make a Terminal API reversal request specifying:
    • The standard SaleToPOIRequest.MessageHeader object, with MessageClass set to Service and MessageCategory set to Reversal.
    The following Terminal API request example splits a full refund of a USD 188.00 payment according to the original payment split: Split a refund using the original split instructions
    The payment terminal shows a waiting screen until you receive a response.
  3. When you receive the ReversalResponse, note the following: Response for the reversal request without split instructions
    If your request failed, the ReversalResponse.Response contains:
    • Result: Failure
    • AdditionalResponse: This includes a message explaining why the request failed. For example:
      • Original pspReference required for this operation: Messages like this tell you how to fix the request so you can try again.
      • Transaction is already voided: This message tells you that we already received a full reversal request for the original transaction.
  4. Wait for the CANCEL_OR_REFUND webhook event to learn the outcome of the refund request. Refunds are always processed asynchronously.

Track fund movements

To track the status of the fund transfers initiated by a refund, listen to the following webhooks:

Webhook examples

In the example below, you can see the webhooks you receive when you send a refund request. We send webhooks for each balance account involved in the refund, and each split of the refunded amount. The following tabs show the webhooks you receive when:
  • The refund amount is deducted from your user’s balance account.
  • The commission amount is deducted from your liable balance account.
  • The transaction fees are deducted from the specified balance account.
When we receive your request to deduct funds from your user’s balance account, we send you three Transfer webhooks and a Transaction webhooks to notify you of the balance and transfer status changes.You can identify refund-related transfer webhooks for your user’s balance account by the following values:The following examples show the webhooks we send when we refund the amount settled in your user’s balance account.**

1. Transfer received

When a refund request is received to deduct funds from your user’s balance account, we send you a balancePlatform.transfer.created webhook with status received and direction outgoing. The webhook provides information about the transfer, such as the original payment and split references and which user and balance account is debited.Transfer received
**

2. Transfer authorized

When the transfer request is authorized, we send you a balancePlatform.transfer.updated webhook with status authorised.Transfer authorised
**

3. Transfer refunded

When the funds are deducted from your user’s balance account, we send you a balancePlatform.transfer.updated webhook with status refunded and the transactionId.Transfer refunded
**

4. Transaction booked

When the funds are deducted, Adyen also sends a balancePlatform.transaction.created webhook, which includes information about the related transaction.Transaction booked