Skip to content
ChainPesaDocsTest mode
Dashboard

API reference · Payouts

Retrieve a payout

status is pending_funding, pending_approval, processing, completed, failed or cancelled. When it is failed, failure says why.

GET/api/v1/payouts/{id}

Requires the payouts:write scope. Returns 200 on success.

Path parameters

idstringrequired
The payout id.

Common errors

StatusCodeWhen
401unauthorizedBad or revoked key, or a disallowed address
403forbiddenThe key lacks the scope
404not_foundNothing with that value
429rate_limitedSlow down; see Retry-After

All error codes

Request
curl https://dev.chainpesa.com/api/v1/payouts/po_7Hc2kLm9PqRs \
  -H "Authorization: Bearer $CHAINPESA_KEY"
Response 200
{
  "id": "po_7Hc2kLm9PqRs",
  "object": "payout",
  "status": "completed",
  "mode": "test",
  "funding": "float",
  "route": "psp",
  "currency": "NGN",
  "amount": "50000.00",
  "transfer_fee": "0.00",
  "usd_debit": "32.594734",
  "rate": "1557",
  "reference": "payout_77",
  "failure": null,
  "confirmation_url": null,
  "created_at": "2027-01-12T09:45:00.000Z"
}
Send a test request

Runs against your test data. Your key is not saved and is cleared when you leave the page.