The verdict in three sentences
The M-Pesa Daraja API is the pragmatic choice to collect in Kenya: competitive fees, fast settlement and an STK push flow that integrates in 1 to 3 days. It natively covers M-Pesa, the channel that carries the vast majority of mobile payments in the country. The point of vigilance isn't integration but handling STK push timeouts, which explain part of the 8 to 15 % of uncompleted checkouts.
Integration steps
Integration follows a standard, fast path. The STK push flow avoids handling sensitive data on the client side.
| Step | Description | Estimated duration |
|---|---|---|
| 1. Account + API key | Merchant account, KYC, sandbox/prod keys | 0.5 to 1 day |
| 2. STK push checkout | Integrate the STK push / SDK | 0.5 day |
| 3. Callback / webhook | Receive payment confirmation | 0.5 to 1 day |
| 4. Status verification | Re-check via API before confirming order | 0.5 day |
| 5. Sandbox tests | Success, failure, timeout scenarios | 0.5 to 1 day |
In total, expect 1 to 3 days depending on your platform. A WordPress/WooCommerce site nears one day, a custom checkout nears three.
Key figures 2026
| Indicator | Value (2026 estimate) |
|---|---|
| Collection fee | ~1 to 2 % |
| Settlement delay | Near-instant to T+1 |
| Mobile checkout success rate | 85 to 92 % |
| Channels supported | M-Pesa |
| Integration time | 1 to 3 days |
| Webhook retry on failure | Yes, automatic |
These values are ballparks: the success rate depends heavily on network quality and how clear your payment flow is.
Handling STK push timeouts
M-Pesa payment usually goes through an STK push prompt on the customer's phone. If the customer delays or loses network, the transaction expires. Three rules: (1) show a clear waiting screen with a countdown, (2) never confirm an order on the widget return alone but re-verify status via the API, (3) allow a retry without creating a duplicate order.
Mini case study
Kossi runs an electronics store in Nairobi receiving 120 orders/month at an average basket of the equivalent of 35,000 FCFA, i.e. 4,200,000 FCFA in volume. At ~1.8 % fees he pays about 75,600 FCFA/month. His checkout success rate was 82 %; by adding a clear waiting screen and status re-verification, it rises to 90 %. Those 8 recovered points represent about 10 orders/month saved, i.e. 350,000 FCFA of additional monthly revenue — thirty times what the improvement would cost.
Need a professional website?
Kolonell builds websites that attract clients, optimized for the Sénégalese market. Free quote in 2 minutes.
FAQ
Does the Daraja API cover other channels?
In 2026, Daraja is optimized for M-Pesa, which dominates Kenya. For card or bank rails, pair it with an aggregator.
How long to integrate M-Pesa Daraja?
From 1 to 3 days: about a day on WooCommerce with a plugin, up to three for a custom checkout with timeout tests.
What are the real fees?
Around 1 to 2 % per transaction in 2026, with fast settlement, which limits cash immobilization.
Why is my success rate only 85 %?
STK timeouts, insufficient balances and abandonment explain most failures. A clear flow with status re-verification often gains 5 to 8 points.
Should I re-verify status if I already have the callback?
Yes, always. The callback can arrive late or fail; re-verifying via the API before confirming the order avoids false confirmations and duplicates.
Let's talk about your project. We integrate M-Pesa Daraja in Kenya with timeout handling that maximizes your success rate. WhatsApp +221 77 596 93 33.
Mohamed Bah
Fondateur, Kolonell
Passionate about digital and entrepreneurship in Africa, Mohamed has been helping Sénégalese businesses with their digital transformation since 2020. Founder of Kolonell, he believes every SME deserves a professional and accessible online présence.

