M-Pesa collections
and payouts,
on a ledger that balances.
One API for taking M-Pesa payments and sending them back out. Double-entry accounting underneath, signed webhooks on top, and a statement you can hand to an auditor.
Documentation, pricing and the sandbox are public. No account required to read them.
curl https://api.nostrel.com/v1/api/collections \ -H "Authorization: Bearer sk_live_••••••••" \ -H "Idempotency-Key: order-1042" \ -d phone=254712345678 \ -d amount=1850 \ -d reference=SC-1042{ "id": "col_7dj4a2zeialj", "state": "pending", "amount": 1850, "currency": "KES", "reference": "SC-1042", "checkout_request_id": "ws_CO_02102026...", "created_at": "2026-10-02T09:14:22Z"}Double entry, always
Every movement posts two sides or neither.
Idempotent by key
Retry the same request all day. One payment.
Signed webhooks
HMAC, exponential backoff, replay from the console.
Two people to send
Maker and checker on money leaving, by default.






