Skip to content
Authorization<token>

Use a public key (pk./pk_test.) for payment initialization. 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

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/payments/architecto"
GET
/payments/{id}
{
  "code": 200,
  "status": "OK",
  "message": "Payment retrieved",
  "transaction": {
    "id": "trx_01JXXXXXXXXXXXXX",
    "reference": "order-4172",
    "amount": 25000,
    "currency": "XAF",
    "status": "succeeded",
    "channel": "cm.mtn",
    "description": "Order #4172",
    "settled": true,
    "sandbox": false,
    "customer": {
      "id": "cus_01JXXX",
      "email": "amina@example.com"
    },
    "created_at": "2026-01-15T10:30:00Z"
  }
}
{
  "code": 401,
  "status": "Unauthorized",
  "message": "Invalid API credentials"
}
{
  "code": 404,
  "status": "Not Found",
  "message": "Payment Not Found"
}
{
  "code": 429,
  "status": "Too Many Requests"
}