Get started
ChainPesa developer docs
Accept stablecoins, settle in local currency and pay out across Africa with one REST API.
- QuickstartTake your first test payment in about five minutes.
- Accept paymentsHosted checkout for USDT and USDC, priced in dollars or local currency.
- Send payoutsPay bank and mobile-money accounts from your balance, or let your customer fund it.
- WebhooksSigned events, so your system hears about money the moment it moves.
How money moves
- 1Your customer paysUSDT or USDC, to an address created for that one payment.
- 2ChainPesa records itEvery movement is a double-entry ledger line you can export.
- 3You keep it or convert itHold a USD balance, or settle to your bank or mobile-money account.
- 4You pay outSend local currency to anyone, with a status you can follow.
Base URL
https://dev.chainpesa.com/api/v1Requests and responses are JSON. Amounts are strings in major units, such as "250.000000" or "50000.00", so no precision is lost. Timestamps are ISO 8601 in UTC.
This environment runs in test mode: no real funds move. Use test keys, which start with cp_test_.
Machine-readable
- OpenAPI 3.1 specification, to generate a client or import into Postman.
- llms.txt and llms-full.txt, for coding assistants.
- Every page has a Copy page button that gives you clean Markdown.