Refund

Process full or partial refunds on completed payments. Requires the refunds:write scope.

POST/api/v1/{system}/refund🔒 refunds:write

Refund a previous payment. Subject to 60-second cooldown and amount validation (cannot exceed remaining balance).

Auth: Bearer JWT

Request Body

FieldTypeRequiredDescription
referenceIdstringYesOriginal payment reference
refundAmountstringYesDecimal amount to refund (must be <= remaining balance)
refundReasonstringYesReason for the refund
branchIdlongYesBranch user ID
configIdlongYesTerminal config ID
⚠️ Live testing disabled for this endpoint — it modifies data. Use curl or the SDK against your sandbox.