# M-Pesa KE

> Source: https://docs.barcoder.ai/docs/standards/m-pesa-ke
> research date 2026-05-28 · extracted at 2026-10-06
> Publisher: Barcoder — encyclopedia of QR, barcode and payment-code standards

Specifications:
- [Safaricom Developer Portal (Daraja API)](https://developer.safaricom.co.ke/)
- [M-Pesa — Wikipedia](https://en.wikipedia.org/wiki/M-Pesa)

## Overview

M-Pesa is **Kenya's dominant mobile money platform**, launched by **Safaricom (Vodafone minority shareholder) on 6 March 2007** — making it the original blueprint for the entire global mobile-money industry <sup>[1][1], [2][2]</sup>. It is not primarily a QR standard, but a phone-number-keyed account-to-account transfer and payments network that operates across **51 million customers and 604,000+ agents** in Kenya alone <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>. M-Pesa **adopted QR code payments via Kenya's universal [KE-QR Code](https://docs.barcoder.ai/docs/standards/ke-qr-code) standard in May 2023**, when the Central Bank of Kenya mandated interoperable QR across all mobile money operators and banks <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.

M-Pesa is the dominant funding source and routing destination for KE-QR payments in Kenya, alongside competing mobile money networks (Airtel Money, T-kash) and bank apps that all interoperate via the same QR standard <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.

## History

**Pilot (October 2005)**: A working group of Vodafone CSR researchers (notably **Nick Hughes**) and consultants (Gamos's S. Batchelor) discussed how a mobile-based money transfer system could enable financial inclusion in Kenya <sup>[1][1], [3][3]</sup>. The project was given urgency by a UK Department for International Development (DFID) Financial Deepening Challenge Fund grant that supported the development. **Susie Lonie**, with a background in mobile commerce, joined to lead the pilot in 2005, by which point M-PESA was ready for field testing <sup>[1][1], [3][3]</sup>. The October 2005 pilot started with 8 agent stores, expanding to 15 — each given phones with an M-PESA menu <sup>[3][3]</sup>.

**Public launch (6 March 2007)**: Safaricom officially launched M-PESA commercially across Kenya. Vodafone retained a 40 % minority stake in Safaricom; the platform was developed by Vodafone but operated and branded by Safaricom <sup>[1][1], [2][2]</sup>.

**Early-stage adoption**:
- **April 2007** (1 month post-launch): 19,671 active users <sup>[3][3]</sup>
- **November 2007** (8 months later): 1,041,522 active users <sup>[3][3]</sup> — a 52× growth in seven months
- The growth dramatically exceeded internal projections; rural Kenyans adopted M-Pesa as a substitute for the previous practice of sending cash by bus drivers, and the "send money home" use case drove explosive uptake <sup>[1][1]</sup>.

**Subsequent evolution** <sup>[2][2], [Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>:
- **2007–2010** — Send-money-home + cash-in / cash-out at agent network dominate.
- **2009** — Lipa na M-PESA: paying merchants and bills.
- **2012** — M-Shwari: micro-savings and micro-loans (M-Pesa + Commercial Bank of Africa).
- **2018** — Fuliza: overdraft facility.
- **March 2017** — Kenya passes 10-year M-Pesa anniversary milestone.
- **May 2023** — **Kenya Universal QR ([KE-QR Code](https://docs.barcoder.ai/docs/standards/ke-qr-code)) launched** by Central Bank of Kenya, mandating interoperability. M-Pesa integrates KE-QR for merchant payments <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.
- **March 2026** — M-Pesa hits **40 million customers** in Kenya milestone (per Safaricom news) <sup>[4][4]</sup>.

**Geographic expansion**: M-Pesa operates in Kenya, Tanzania, Mozambique, Lesotho, Ghana, Egypt, and the Democratic Republic of the Congo, with Kenya remaining the largest and most mature market by far <sup>[1][1], [Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.

## Technical specification

M-Pesa was originally **USSD-based** (no smartphone required) — phone numbers were the addresses, transactions were initiated by dialing `*334#` or `*150*00#`, and confirmation came via SMS. This is structurally why M-Pesa worked on feature phones and reached rural populations: it didn't require a data connection or smartphone <sup>[1][1], [2][2]</sup>.

The **modern stack** layers QR code, smartphone app, and API on top of this USSD-era foundation <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE), [5][5]</sup>:

| Layer | Description |
|---|---|
| **USSD interface** | Original feature-phone access (`*334#` on Safaricom network); still widely used in rural Kenya |
| **M-PESA smartphone app** | iOS / Android; richer interaction, QR scanning, transaction history |
| **Lipa na M-PESA till and paybill** | Merchant identifiers — customers enter a till number or paybill number to pay |
| **KE-QR Code** ([KE-QR Code](https://docs.barcoder.ai/docs/standards/ke-qr-code)) | Kenya Universal QR adopted by CBK in May 2023; M-Pesa is a participating scheme <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup> |
| **Daraja API** | Safaricom's REST API for businesses to integrate M-Pesa payments (since 2016) |

**M-Pesa identifiers**:
- **Phone number** — the primary M-Pesa address (Kenya's `+254 7XX XXX XXX` mobile format).
- **Till number** — short numeric identifier for small/medium merchants accepting Lipa na M-PESA.
- **Paybill number** — short numeric identifier for billers (utilities, schools, large merchants).
- **Account number** — sub-identifier within a Paybill, enabling per-customer billing references.

**KE-QR Code** (the QR layer adopted in 2023) <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>:
- EMV-aligned specification
- Universal/interoperable across mobile money networks (M-Pesa, Airtel Money, T-kash) and Kenyan banks
- Static and dynamic QR variants supported
- Auto-generation via merchant portals (Lipa na M-PESA Merchant Portal generates a QR code automatically per merchant) <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>

**Settlement** <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>:
- Within M-Pesa: ledger transfer (Safaricom-operated).
- Across networks via **PesaLink** (Integrated Payment Services Limited, IPSL): connects 80+ Kenyan financial institutions for real-time interbank A2A transfers, launched 2017.
- A future **Fast Payment System** (CBK-led, announced 2024) is in development.

## Use cases

M-Pesa's use cases span the entire formal and informal economy of Kenya. Mobile money in Kenya is structurally not a layer on top of banking — for tens of millions of Kenyans, **M-Pesa *is* their primary financial account** <sup>[1][1], [Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>:

- **Person-to-person money transfer** ("send money home") — the original use case; rural-to-urban remittance flows that replaced bus-driver cash handoffs <sup>[1][1]</sup>.
- **Bill payments via Paybill** — utilities (Kenya Power), telecom (Safaricom airtime, internet), schools (tuition fees), insurance, government fees, taxes <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.
- **Merchant payments via Till** — small and medium businesses accept Lipa na M-PESA at the till; customer enters till number or scans QR <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.
- **KE-QR merchant scanning** (since May 2023) — universal interoperable merchant QR scanned with any participating app (M-Pesa, Equity App, KCB App, Airtel Money, T-kash) <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.
- **Salaries and wages** — many Kenyan employers pay directly into M-Pesa accounts.
- **Cash-in / cash-out at agent network** — **604,000+ active agents** in Kenya and across the African continent (M-Pesa operates in 7 countries) <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>. The agent density is the structural feature that makes M-Pesa work where bank-branch coverage is sparse.
- **Micro-savings (M-Shwari)** and **micro-loans (M-Shwari, Fuliza overdraft)** — fintech overlays on the M-Pesa ledger.
- **International remittances** — M-Pesa can receive remittances from abroad via partnerships with Western Union, MoneyGram, World Remit, etc.
- **Government welfare disbursement** — cash transfers to vulnerable populations during COVID-19 and ongoing safety-net programs.

**Scale (Kenya-only)** <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>:
- **51 million customers** (M-Pesa Africa figure; Kenya-specific count is ~40M as of 2026 per Safaricom <sup>[4][4]</sup>)
- **604,000+ active agents**
- **12.7 % CAGR (2020–2024)** in transaction volume
- **Cross-platform interoperability** mandated by CBK across M-Pesa, Airtel Money, T-kash, banks

## Implementations

M-Pesa's integration model is **API-mediated through Safaricom's Daraja platform**, not through open-source community libraries. Direct integration requires a Safaricom developer account and merchant onboarding <sup>[5][5]</sup>.

**Official integration:**
- **Daraja API** ([developer.safaricom.co.ke][5]) — Safaricom's REST API for M-Pesa, providing Lipa na M-PESA, STK Push (Sim Toolkit prompt for confirmation), B2C, B2B, transaction status, account balance, and reversal endpoints. The canonical integration path for businesses.

**Community wrappers / SDKs** (general M-Pesa Daraja API wrappers exist in many languages — Node.js, Python, PHP, Go, .NET — typically thin REST clients over Daraja; star counts are modest because most production deployments use Daraja directly).

**KE-QR Code** specifically <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>:
- **EMV-aligned** — the same EMVCo MPM family as [SGQR](https://docs.barcoder.ai/docs/standards/sgqr), [DuitNow QR](https://docs.barcoder.ai/docs/standards/duitnow-qr), [PromptPay QR](https://docs.barcoder.ai/docs/standards/promptpay-qr), [QRIS](https://docs.barcoder.ai/docs/standards/qris) — any compliant EMVCo TLV decoder can read KE-QR payloads at the data-format level.
- Merchant QR generation via **Lipa na M-PESA Merchant Portal**, which auto-generates the QR based on the merchant's till number <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.

**Production apps / wallets** <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>:
- **M-PESA app** (Safaricom) — flagship M-Pesa interface
- **Equity App** (Equity Bank) — KE-QR enabled bank app
- **KCB App** (KCB Group) — KE-QR enabled
- **Airtel Money app** — competing mobile money, interoperable via KE-QR
- **T-kash app** (Telkom) — interoperable

The open-source library ecosystem is thinner than for Pix or PromptPay because Safaricom controls the Daraja API and merchant-acquirer-side onboarding; production integration is gated.

## Comparison

**vs. other mobile money platforms** — M-Pesa was the original. MTN Mobile Money, Orange Money, Tigo Money, Airtel Money — all major African mobile money operators built their platforms in M-Pesa's wake, using essentially the same model (phone-number-keyed wallet, agent network for cash-in/cash-out, USSD or app interface). M-Pesa remains the largest and most-developed mobile money platform in the world, particularly in Kenya where it has effectively become the country's payment infrastructure rather than a banking overlay <sup>[1][1], [Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.

**vs. [UPI QR](https://docs.barcoder.ai/docs/standards/upi-qr) (India) and [Pix](https://docs.barcoder.ai/docs/standards/pix) (Brazil)** — M-Pesa predates both UPI (2016) and Pix (2020) by nearly a decade. It pioneered the phone-number-keyed mobile payment model that both UPI and Pix later adapted (with technical refinements). UPI and Pix achieved larger scale by leveraging Indian and Brazilian smartphone penetration; M-Pesa achieved deeper financial-inclusion impact because it worked on feature phones in rural areas without smartphones or bank branches <sup>[India report](https://docs.barcoder.ai/docs/payments/IN), [pix-ref], [Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.

**vs. [KE-QR Code](https://docs.barcoder.ai/docs/standards/ke-qr-code) (Kenya Universal QR)** — KE-QR is the *interoperability layer*; M-Pesa is one of its participating schemes. The CBK's May 2023 mandate forced cross-network interoperability, meaning a customer with M-Pesa can pay any KE-QR-displaying merchant regardless of which acquirer or competing mobile money network the merchant is on <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>. M-Pesa adopted KE-QR rather than competing with it.

**vs. [DuitNow QR](https://docs.barcoder.ai/docs/standards/duitnow-qr) (Malaysia) and [SGQR](https://docs.barcoder.ai/docs/standards/sgqr) (Singapore)** — Comparable in being EMVCo-aligned national QR standards; KE-QR (which M-Pesa uses) is in the same family. The structural difference is the *underlying account model*: SGQR and DuitNow QR settle into bank accounts; KE-QR in Kenya predominantly settles into M-Pesa wallets, reflecting Kenya's mobile-money-first financial structure <sup>[Singapore report](https://docs.barcoder.ai/docs/payments/SG), [Malaysia report](https://docs.barcoder.ai/docs/payments/MY), [Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.

## Fun facts

**M-Pesa was funded in part by a UK aid grant** — DFID's Financial Deepening Challenge Fund supported Vodafone's initial research into mobile financial services for the unbanked <sup>[1][1]</sup>. The "M" in M-Pesa stands for "mobile"; "Pesa" is Swahili for "money."

M-Pesa **grew from 19,671 users to over 1 million users in 7 months** after launch <sup>[3][3]</sup> — a growth curve that surprised even Vodafone, prompting rapid agent-network expansion. The early adoption was driven primarily by the rural-to-urban remittance use case ("Send money home") which directly replaced the dangerous practice of giving cash to long-distance bus drivers.

M-Pesa **survived where the standard Kenyan retail banking sector was uncompetitive in serving the unbanked**. By the time Kenyan commercial banks woke up to mobile money in 2010–2012, M-Pesa already had 10+ million users and millions of small-merchant acceptance points. The CBK now mandates interoperability ([KE-QR Code](https://docs.barcoder.ai/docs/standards/ke-qr-code), PesaLink) explicitly to balance M-Pesa's structural dominance against the banking sector <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup>.

The **agent network — 604,000+ active agents across Africa** <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE)</sup> — is M-Pesa's most distinctive infrastructural feature and the structural reason why mobile-money-pioneered-in-Kenya rather than in, say, Singapore. Cash-in / cash-out at a corner-shop agent is the on-ramp and off-ramp from physical to digital money that bank branches can't economically provide in low-density populations.

Kenya marked **10 years of M-Pesa in March 2017** — a milestone reflected on extensively in Safaricom's communications, and an inflection point at which M-Pesa's role as critical national infrastructure (rather than a Vodafone product) was firmly established <sup>[6][6]</sup>. As of March 2026, M-Pesa hit **40 million customers in Kenya** — meaning roughly **70% of Kenya's population** uses the platform directly <sup>[4][4]</sup>.

## Status

**Active, dominant, and continuously expanding.** Most recent metrics <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE), [4][4]</sup>:

- **51 million customers** across Africa (M-Pesa Africa figure)
- **40 million customers in Kenya** as of March 2026 <sup>[4][4]</sup>
- **604,000+ active agents**
- **12.7 % CAGR (2020–2024)**
- **7 countries operated**: Kenya, Tanzania, Mozambique, Lesotho, Ghana, Egypt, DRC
- **KE-QR Code interoperability** mandated since May 2023; M-Pesa is a primary participating scheme
- **Fast Payment System** in development by CBK (2024+) — likely to deepen interoperability further

**Strategic trajectory** <sup>[Kenya report](https://docs.barcoder.ai/docs/payments/KE), [7][7]</sup>:
- Continued geographic expansion in Africa.
- Deeper integration with the Pan-African Payment and Settlement System (PAPSS).
- Cross-border remittance corridor expansion via partnerships.
- ISO 20022 messaging adoption for cross-border compatibility.

No deprecation planned. M-Pesa is positioned as long-term critical infrastructure for Kenya and several other African markets. The May 2023 KE-QR adoption signals M-Pesa's maturation from a closed-loop wallet into an open standard-compliant participant in interoperable national payment infrastructure.

## Sources

[1]: https://en.wikipedia.org/wiki/M-Pesa
[2]: https://www.safaricom.co.ke/main-mpesa/about-m-pesa/m-pesa-journey
[3]: https://newsroom.safaricom.co.ke/innovation/the-m-pesa-wonder-how-it-all-begun/
[4]: https://www.pulse.co.ke/story/m-pesa-hits-40-million-customers-milestone-as-it-turns-19-2026030609570602934
[5]: https://developer.safaricom.co.ke/
[6]: https://www.safaricom.co.ke/media-center-landing/press-releases/kenya-marks-10-years-of-m-pesa-transforming-lives
[7]: https://www.microsave.net/2025/07/08/the-next-chapter-in-kenyas-digital-payment-revolution/
[8]: https://www.transfi.com/blog/kenyas-payment-rails-how-they-work---m-pesa-pesalink-mobile-payment-innovation
[9]: https://www.lightspark.com/knowledge/instant-payments-kenya
[10]: https://d3.harvard.edu/platform-rctom/submission/how-kenya-created-the-worlds-most-successful-mobile-payments-service/
[11]: https://beyo.global/thinking/how-m-pesa-flourished-in-kenyas-unique-landscape
[ke-cro]: https://docs.barcoder.ai/docs/payments/KE
[in-cro]: https://docs.barcoder.ai/docs/payments/IN
[sg-cro]: https://docs.barcoder.ai/docs/payments/SG
[my-cro]: https://docs.barcoder.ai/docs/payments/MY
[pix-ref]: https://docs.barcoder.ai/source/standards/pix

1. [M-Pesa — Wikipedia][1]
2. [M-PESA Journey — Safaricom][2]
3. [The M-PESA wonder: how it all begun — Safaricom Newsroom][3]
4. [M-PESA hits 40 million customers — Pulse Kenya, March 2026][4]
5. [Safaricom Developer Portal (Daraja)][5]
6. [Kenya Marks 10 Years of M-PESA — Safaricom press release][6]
7. [Next chapter in Kenya's digital payment revolution — MicroSave][7]
8. [Kenya's payment rails — TransFi][8]
9. [Instant Payments Kenya — Lightspark][9]
10. [How Kenya created the world's most successful mobile-payments service — Harvard][10]
11. [How M-Pesa flourished — Beyō Global][11]

## Deployments

_No country reports mention this standard by name._
