Skip to content
ChainPesaDocsTest mode
Dashboard

Guides

Send payouts

From your balance or funded by your customer, to banks and mobile money.

Find the destination

List banks for the currency, then, for NGN, GHS and XOF (Benin), verify the account and show the name to your user before paying.

curl -X POST https://dev.chainpesa.com/api/v1/accounts/verify \
  -H "Authorization: Bearer $CHAINPESA_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "currency": "NGN",
    "bank_id": 1,
    "account_number": "0123456789"
  }'

Send it

curl -X POST https://dev.chainpesa.com/api/v1/payouts \
  -H "Authorization: Bearer $CHAINPESA_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": "50000",
    "currency": "NGN",
    "beneficiary": {
      "name": "Ada Obi",
      "account_number": "0123456789",
      "bank_code": "058"
    },
    "funding": "float",
    "reference": "payout_77"
  }'

Who pays

fundingHow it works
floatTaken from your USD balance at once.
connectorStable Connector: nothing is taken from you. The response includes funding_payment; send its checkout_url to your customer. The payout is released once it is paid.

A payout is not instant

The provider confirms payouts. Treat processing as not finished: your money is held, and the payout becomes completed or failed. Wait for the webhook, or fetch the payout. Do not send it again because it looks slow.

StatusMeaning
pending_fundingWaiting for your customer (Stable Connector)
pending_approval$1,000 or more: waiting for a second person in your dashboard
processingSent, waiting for confirmation
completedDelivered
failedNot delivered; failure says why and your money is returned
cancelledCancelled before sending

Country and amount rules

  • XOF payouts need beneficiary.country: CI, SN or BJ.
  • Some routes take whole amounts only. A payout with cents is refused before anything is reserved.