Skip to contentSkip to Content
API ReferenceAuto-sweep

Auto-sweep

Nightly settlement of your collection wallet to your own account.

ScheduleModeDetail
Daily, 00:05 Africa/Dar_es_SalaamAllRuns every night
Tanzania & KenyaAutomaticTo your verified bank or mobile account
Other countriesManualPaid out by an admin with a bank reference

Turn it on

Ask your account manager to set your sweep destination and enable autoSweepEnabled. Setup isn’t available through the API in v1.

Check your collection wallet

cURL
curl "https://api.test.wakapay.io/business/balance?currency=TZS&purpose=collection" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
200OK
{ "available": 25000, "businessId": "biz_abc123", "currency": "TZS", "purpose": "collection", "holding": 0, "pending": 0 }