Skip to main content
Refunds a successfully paid transaction back to the customer’s original payment method.

What can be refunded

After a successful refund request the transaction’s status becomes Pending_Refund, then Refunded once the money has been returned. Track it with GET /api/transaction/{ref}. A refund can’t be cancelled once requested.

Request

bank_code/bank_account_number/account_name/email are required by this endpoint’s validation on every account, but the refund itself goes back to the customer’s original payment method automatically — these fields aren’t used to redirect the money to a different destination. Send real, non-empty values to pass validation regardless.

Response

Rejected by the payment processor

If the processor refuses the refund, HTTP 502:

Not eligible

Only a transaction with status Success can be refunded. Refunding one that’s still Pending, already refunded, or unsuccessful returns:

Not found

Returned both when transaction_id genuinely doesn’t exist, and when it belongs to a different merchant account — this endpoint never confirms or denies the existence of another merchant’s transactions.