v1

latestOpenAPI 3.0.32026-07-2476126451.9 KB
v1.1

Refund a transaction

post/api/v1.4/payments/transactions/{trx_uuid}/refund/

Path parameters

trx_uuidstring required

A unique identifier for the transaction.

Request body

amountstring decimal required

The amount to refund, if performing a partial refund, the amount should be less than the original transaction amount

refund_to_walletboolean

If set to true, the amount will be refunded to the customer's wallet

customerstring

The ID of a specific customer you wish to associate this refund with. Required if refund_to_wallet is true

{"stackTrail":"components:schemas:RefundProcess:properties:custom_fields","oasType":"schema","type":"unknown","description":"Key value pairs of any additional information you want to save with the operation."}