Authorization
default Authorization<token>
A public key (pk./pk_test.) is accepted on /payments, /customers, /links, /invoices and the catalogue reads (/channels, /providers, /countries, /currencies); anything that moves money out, reads the balance or manages the account answers 406 to it. It is an identifier, never an authorization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.
In: header
Path Parameters
idstringrequired
Refund identifier.
Response Body
application/json
application/json
curl -X GET "https://api.wajub.com/refunds/rfd_Pm3Vc8Lx2Nq7Rb5Tk9Hw"{ "code": 200, "status": "OK", "message": "Refund retrieved", "refund": { "id": "rfd_Pm3Vc8Lx2Nq7Rb5Tk9Hw", "transaction": "trx_CSUGajfv9xh0XQ5wu2lx", "reference": "refund-ord-1042", "amount": 5000, "currency": "XAF", "fees_bearer": "merchant", "fee_amount": 100, "payer_amount": 5000, "status": "succeeded", "execution_mode": "automatic", "reason": "requested_by_customer", "metadata": {}, "ledger_balance_currency": "XAF", "ledger_balance_before": 85000, "ledger_balance_after": 80000, "sandbox": false, "created_at": "2026-09-18T09:30:12+00:00", "updated_at": "2026-09-18T09:31:02+00:00" }}OK