Record a full or partial refund in the gateway ledger
POST/v1/refund
Record a full or partial refund in the gateway ledger
Request
Responses
- 200
- 400
- 401
- 404
- 503
Gateway refund record created. Reconcile with the processor before confirming a credit to the customer.
Response Headers
tx-refid
Request reference echoed in the response (ReferenceNumber in /v1/* JSON bodies).
INVALID_REFUND_PARAMETERS, MERCHANT_ID_MISMATCH, CURRENCY_MISMATCH, or REFUND_AMOUNT_EXCEEDS_ORIGINAL_TRANSACTION
UNAUTHORIZED_API_KEY
ORIGINAL_TRANSACTION_NOT_FOUND
DATABASE_UNAVAILABLE (configured store unreachable)