Skip to content
Loading keys…
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

The prepared payment `id`.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.wajub.com/payments/trx_test_CSUGajfv9xh0XQ5wu2lx"
GET
/payments/{id}
{  "code": 200,  "status": "OK",  "message": "Payment retrieved",  "transaction": {    "id": "trx_CSUGajfv9xh0XQ5wu2lx",    "reference": "order-4172",    "invoice": "inv_Hq7Lm2Xp9Rt4Vb8Nc3Kd",    "amount": 25000,    "amount_paid": 25000,    "currency": "XAF",    "status": "succeeded",    "description": "Order #4172",    "customer": {      "id": "cus_Qe7Tb2Wn5Lr9Xc4Mv8Hk1Zs3",      "name": "Amina Diallo",      "email": "amina@example.com",      "phone": "+237670000000"    },    "payment_method": {      "channel": "cm.mtn",      "account": "+237670000000"    },    "channel": "cm.mtn",    "callback": "https://example.com/return",    "sandbox": false,    "items": [      {        "name": "T-shirt",        "quantity": 2      }    ],    "metadata": {      "order_id": "4172"    },    "tax": {      "amount": 4035.64,      "taxable_amount": 20964.36,      "rate": 19.25,      "name": "TVA",      "country": "CM",      "inclusive": true    },    "receipt_url": "https://invoice.wajub.com/r/trx_CSUGajfv9xh0XQ5wu2lx?s=9f2c4e7a1b8d3f6c0e5a2d9b7c4f1e8a3d6b0c9e2f5a8d1b4e7c0a3f6d9b2e5c",    "credited_at": "2026-01-15T10:31:12+00:00",    "created_at": "2026-01-15T10:30:00+00:00",    "updated_at": "2026-01-15T10:31:12+00:00",    "settled": true  }}

Payment retrieved

What did you think of this content?