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
funding | How it works |
|---|---|
float | Taken from your USD balance at once. |
connector | Stable 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.
| Status | Meaning |
|---|---|
pending_funding | Waiting for your customer (Stable Connector) |
pending_approval | $1,000 or more: waiting for a second person in your dashboard |
processing | Sent, waiting for confirmation |
completed | Delivered |
failed | Not delivered; failure says why and your money is returned |
cancelled | Cancelled before sending |
Country and amount rules
XOFpayouts needbeneficiary.country:CI,SNorBJ.- Some routes take whole amounts only. A payout with cents is refused before anything is reserved.