Collections currently run through ClickPesa (
fspId: "CLICKPESA", the default), covering Airtel Money, Mixx by Yas, and Halotel. More FSPs are coming soon. Bank collections are available on request — contact us.Flow
1
Trigger the collection
transactionId is your own unique reference — you’ll poll status with it, and it acts as the idempotency key.payerPhone must be in international format (+255…), and the minimum collection is 1,000 TZS.2
Poll for status
Response
PROCESSING → COMPLETED (or a terminal failure). Poll until COMPLETED, backing off between polls.3
Record the verified payment
Once collected, post it to the BaaS core (different token). Bridge re-verifies on the gateway before it moves the ledger. Idempotent on
gatewayReference.List your collections
{ data, total, page, limit, totalPages } — paginated, newest first.