Skip to contentSkip to Content
GuidesIntroduction

Build with the Waka Business API

Cross-border payments for African businesses, through one API. Collect mobile money in Kenya, Tanzania and Uganda, pay out across borders to mobile money wallets, merchant tills and bank accounts, and convert currencies at live rates along the way.

Base URLs

EnvironmentBase URLNotes
Sandboxhttps://api.test.wakapay.ioNo real money, credentials from your developer account
Productionhttps://api.wakapay.ioLive money, requires KYB approval

Integration journey

  1. Step 1AuthenticateGet an access token
  2. Step 2BuildFollow API conventions
  3. Step 3TestSandbox test data
  4. Step 4Handle webhooksVerify & deduplicate
  5. Step 5Go liveProduction base URL
  6. Step 6ReconcileStatuses & balances

Your first request

Exchange your API key and secret for an access token. Send it as Authorization: Bearer YOUR_ACCESS_TOKEN on every other call. Tokens last one hour. Cache and reuse them, and request a new one about 60 seconds before expiry or after a 401.

cURL
curl -X POST https://api.test.wakapay.io/business/auth \ -H "Content-Type: application/json" \ -d '{ "apiKey": "YOUR_API_KEY", "apiSecret": "YOUR_API_SECRET" }'
200OK
{ "accessToken": "eyJhbGciOiJIUzI1NiIs...", "expiresIn": 3600 }

Test credentials

Sandbox only. Other numbers return verified: false or 422 account not active. Only USD to KES is configured, so KE payouts succeed and TZ payouts return 404 rate USD_TZS not configured.

Mobile moneyKE +254700000001TZ +255700000001UG +256700000001RW +250700000001 (RWF, payouts only)Verified name: Amina Mjema
Till & PaybillKE Till 888880, Paybill 123456TZ Till 600000, Paybill 700000UG Till 800001 (Kampala Spices)Paybill account ref: ABC123
Bank accountsKE bank 320, 1234567890ZA bank 940044, 9876543210ZA needs any valid receiver email

New sandbox accounts may start with a zero balance. Ask the admin team for a top-up, then check it with the Wallet API.

Next steps