Skip to contentSkip to Content
API ReferenceCollectionsCollections overview

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

#StepEndpoint
1Receive your apiKey & apiSecretBy secure email from WakaPay
2Generate a JWTPOST /business/auth
3Create a collection to send the payment promptPOST /business/collections
4Poll status or wait for the webhookGET /business/collections/:id
5Verify the collection wallet balanceGET /business/balance?purpose=collection

Supported countries

All networks. The provider is picked from the number. Send it in E.164 format.

CountryCurrencyStatusNumber formatCustomer promptNarrationMinimumUAT test number
TanzaniaTZSLive+255…USSD or wallet promptNot shownContact WakaPay+255700000001
KenyaKESLive+254…M-Pesa STK pushShownContact WakaPay+254700000001
UgandaUGXLive+256…Mobile money promptShown500 UGX+256700000001

Endpoints

Best practices

  • Save the collection id and use a unique reference (reuse returns 409).
  • Use webhooks instead of constant polling; expect some prompts to time out.
  • Test with the UAT numbers before going live.