Refund a completed payment
Documentation Index
Fetch the complete documentation index at: https://docs.zafapay.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication using access token
Transaction ID
"tx_abc123"
Refund amount (supports up to 2 decimal places). If omitted, full refund is processed.
5.5
Currency of the refund amount (3-letter ISO code). Use this when refunding in the original transaction currency (e.g., sgd) that differs from the settlement currency (e.g., usd). The amount will be automatically converted using the original exchange rate.
"sgd"
Refund reason
"Customer request"
Refund successful
Refund ID
"orf_xyz789"
Transaction ID
"tx_abc123"
Refund amount (string format)
"5.50"
Refund status
"succeeded"
PSP refund ID
"re_xxxxx"
Refund fee (string format)
"1.00"