Refund

Refund a payment back to the customer.


To refund a payment, such as when a customer returns an item and you need to return the funds to them, initiate a refund transaction. You can refund the full captured amount or part of the captured amount. You can only refund a payment if it is already captured.

You can process a refund with the following card transactions:

3DS card transactions
Wallets
Vouchers
Online banking ePayments
Cash payments
Gift cards

Transaction workflow

Example of a refund transaction request:

 <payment_transaction>
    <transaction_type>refund</transaction_type>
    <transaction_id>119643250547501c79d8295</transaction_id>
    <usage>40208 concert tickets</usage>
    <remote_ip>245.253.2.12</remote_ip>
    <reference_id>43672</reference_id>
    <amount>100</amount>
    <currency>USD</currency>
  </payment_transaction>

Example of a refund transaction response:

 <payment_response>
    <transaction_type>refund</transaction_type>
    <status>approved</status>
    <mode>live</mode>
    <transaction_id>119643250547501c79d8295</transaction_id>
    <unique_id>44177a21403427eb96664a6d7e5d5d48</unique_id>
    <authorization_code>345678</authorization_code>
    <retrieval_reference_number>016813015184</retrieval_reference_number>
    <response_code>00</response_code>
    <timestamp>2023-08-29T14:01:01Z</timestamp>
    <descriptor>Descriptor one</descriptor>
    <amount>100</amount>
    <currency>USD</currency>
  </payment_response>