← Insights

Five lessons from 40 M-Pesa STK Push integrations

Centerbolt Engineering · 3 September 2026

Daraja's STK Push is simple to call and hard to run in production.

1. Treat the callback as a hint, not truth — always confirm via the transaction status query.

2. Idempotency keys on your side are non-negotiable.

3. Expect 2–5% of callbacks to never arrive.

4. Reconcile nightly against the C2B statement.

5. Show customers a clear "awaiting PIN" state; most drop-offs are UX, not network.