v50

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-0342108400.9 KB
Transactions

Refund a transaction

Refunds an identified transaction either in full or partially.

post/v1.0/merchants/{merchant_code}/payments/{transaction_id}/refunds

Request body

amountnumber float

Amount to be refunded. Eligible amount can't exceed the amount of the transaction and varies based on country and currency. If you do not specify a value, the system performs a full refund of the transaction.

Example request

{
  "amount": 5
}

Response

The transaction was refunded in full or partially based on the request.

object required