Business Collections API
Collect mobile money from customers in Kenya, Tanzania and Uganda into your collection wallet.
Prerequisites: Collections must be enabled for your business by a WakaPay admin. Contact your account manager to activate collections and configure auto-sweep.
Quick start
| # | Step | Endpoint |
|---|---|---|
| 1 | Receive your apiKey & apiSecret | By secure email from WakaPay |
| 2 | Generate a JWT | POST /business/auth |
| 3 | Create a collection to send the payment prompt | POST /business/collections |
| 4 | Poll status or wait for the webhook | GET /business/collections/:id |
| 5 | Verify the collection wallet balance | GET /business/balance?purpose=collection |
Supported countries
All networks. The provider is picked from the number. Send it in E.164 format.
| Country | Currency | Status | Number format | Customer prompt | Narration | Minimum | UAT test number |
|---|---|---|---|---|---|---|---|
| Tanzania | TZS | Live | +255… | USSD or wallet prompt | Not shown | Contact WakaPay | +255700000001 |
| Kenya | KES | Live | +254… | M-Pesa STK push | Shown | Contact WakaPay | +254700000001 |
| Uganda | UGX | Live | +256… | Mobile money prompt | Shown | 500 UGX | +256700000001 |
Endpoints
POSTCreate collection
/business/collectionsGETCollection status/business/collections/{collectionId}GETList collections/business/collections?limit=20Best practices
- Save the collection
idand use a uniquereference(reuse returns409). - Use webhooks instead of constant polling; expect some prompts to time out.
- Test with the UAT numbers before going live.