M-Pesa (Safaricom Daraja)
M-Pesa is Safaricom's mobile-money platform for Kenya, exposed to developers through the Daraja API. The Daraja REST APIs let businesses collect payments (M-Pesa Express / STK Push, C2B), disburse funds (B2C, B2B), query transactions and balances, reverse payments, generate dynamic QR codes, and run standing orders — authorized with OAuth bearer tokens minted from Basic credentials, priced in Kenyan Shillings (KES).
M-Pesa (Safaricom Daraja) publishes 11 API contracts indexed on the APIs.io network, including Account Balance API, Authorization API, B2C API, and 8 more. Tagged areas include Mobile Money, Payments, Fintech, Kenya, and Africa.
The M-Pesa (Safaricom Daraja) catalog on APIs.io includes 1 event-driven AsyncAPI specification and 1 Spectral governance ruleset.
M-Pesa (Safaricom Daraja)’s developer surface includes authentication, documentation, sandbox, API reference, getting-started guide, support, signup flow, and 31 more developer resources.
What this lets a business do 2
Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →
Kin Score
Markets this provider is in provisional
The Kin Score Market layer reads a provider inside its market: its position, and how deep its integrations go. Depth is only comparable within a position. Provisional and unweighted: not part of the Kin Score or agent readiness.
| Market | Position | Depth | Registered MCP server | Declares compatibility |
|---|---|---|---|---|
| African Payments (Nigeria, Kenya, South Africa, Ghana, WAEMU) | regulated | 19.2 (thin) | - | - |
Registered MCP server and declares compatibility are report only — not weighted. Undeclared means we found nothing we can read, so there is no number: we never infer integrations.
Standards implemented 1
Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.
APIs 11
Individual APIs this provider publishes, each with its own machine-readable definition.
M-Pesa (Safaricom Daraja) Account Balance API
The Account Balance API from M-Pesa (Safaricom Daraja) — 1 operation(s) for account balance.
M-Pesa (Safaricom Daraja) Authorization API
The Authorization API from M-Pesa (Safaricom Daraja) — 1 operation(s) for authorization.
M-Pesa (Safaricom Daraja) B2C API
The B2C API from M-Pesa (Safaricom Daraja) — 1 operation(s) for b2c.
M-Pesa (Safaricom Daraja) C2B API
The C2B API from M-Pesa (Safaricom Daraja) — 2 operation(s) for c2b.
M-Pesa (Safaricom Daraja) Dynamic QR API
The Dynamic QR API from M-Pesa (Safaricom Daraja) — 1 operation(s) for dynamic qr.
M-Pesa (Safaricom Daraja) M-Pesa Express API
The M-Pesa Express API from M-Pesa (Safaricom Daraja) — 2 operation(s) for m-pesa express.
M-Pesa (Safaricom Daraja) Reversal API
The Reversal API from M-Pesa (Safaricom Daraja) — 1 operation(s) for reversal.
M-Pesa (Safaricom Daraja) Standing Order API
The Standing Order API from M-Pesa (Safaricom Daraja) — 1 operation(s) for standing order.
M-Pesa (Safaricom Daraja) Tax Remittance API
The Tax Remittance API from M-Pesa (Safaricom Daraja) — 1 operation(s) for tax remittance.
M-Pesa (Safaricom Daraja) Transaction Status API
The Transaction Status API from M-Pesa (Safaricom Daraja) — 1 operation(s) for transaction status.
M-Pesa (Safaricom Daraja) B2B API
The B2B API from M-Pesa (Safaricom Daraja) — 2 operation(s) for b2b.
Scroll for all 11
Postman Collections 11
Ready-to-run Postman collections for exercising this provider's APIs.
Scroll for all 11
Open Collections 11
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
M-Pesa Daraja Account Balance API
OPEN COLLECTIONM-Pesa Daraja Account Balance Authorization API
OPEN COLLECTIONM-Pesa Daraja Account Balance B2B API
OPEN COLLECTIONM-Pesa Daraja Account Balance B2C API
OPEN COLLECTIONM-Pesa Daraja Account Balance C2B API
OPEN COLLECTIONM-Pesa Daraja Account Balance Dynamic QR API
OPEN COLLECTIONM-Pesa Daraja Account Balance M-Pesa Express API
OPEN COLLECTIONM-Pesa Daraja Account Balance Reversal API
OPEN COLLECTIONM-Pesa Daraja Account Balance Standing Order API
OPEN COLLECTIONM-Pesa Daraja Account Balance Tax Remittance API
OPEN COLLECTIONM-Pesa Daraja Account Balance Transaction Status API
OPEN COLLECTIONScroll for all 11
Agent Skills 4
Packaged agent skills for driving this provider's APIs from an AI assistant.
Disburse funds to a customer (B2C)
AGENT SKILLM-Pesa (Safaricom Daraja) API pricing
Not yet checked against M-Pesa (Safaricom Daraja)'s own pricing page. Compiled by API Evangelist on 2026-07-17 from developer.safaricom.co.ke/; confirm before you rely on a figure. A free plan or tier is listed.
| Plan | Price |
|---|---|
| Sandbox free | — |
| Production (Live Shortcode) usage | — |
| Enterprise / Aggregator enterprise | — |
Plan details, limits and sources →
Rate limits
- OAuth Token Lifetime: 3599 seconds
- Transactions Per Second (TPS): see provider onboarding transactions
- Sandbox Throttle: see provider documentation requests
Compiled by API Evangelist, not yet checked against M-Pesa (Safaricom Daraja)'s documentation. Rate-limit details →
Pricing Plans 1
Published pricing tiers and plan structures.
Mpesa Plans Pricing
PLANSRate Limits 1
Documented rate limits and quota policies.
Mpesa Rate Limits
RATE LIMITSService Levels 1
Uptime the provider promises or reports, as SLA4OAI. Read from its own pages; APIs.io runs no monitors.
FinOps 1
Cost, billing, and metering signals for API financial operations.
Mpesa Finops
FINOPSEvent Specifications 1
AsyncAPI definitions for this provider's event-driven and streaming APIs.
M-Pesa Daraja Callbacks
The asynchronous callback (webhook) surface of the M-Pesa Daraja API. Daraja delivers the real outcome of collections and funds-movement operations by POSTing JSON to caller-hos...
ASYNCAPISpectral Rules 1
Spectral governance rulesets for linting and validating these APIs.
M-Pesa (Safaricom Daraja) API Rules
SPECTRALOpenAPI Overlays 1
Overlays applied on top of this provider's contracts. Each card says who wrote it: a document the provider publishes, or one API Evangelist derived or generated.
Mpesa Openapi Overlay
DERIVEDSecurity Posture 4
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Mpesa Trust Center
PCI DSS v4, ISO/IEC 27001, ISO/IEC 27701, GDPR-aligned / Kenya Data Protection Act 2019
SECURITYAgentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Get Started 4
Portal, sign-up, and the first successful call
Documentation 3
Reference material describing how the API behaves
Agent Surfaces 4
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 7
Pagination, idempotency, versioning, errors, and events
Scroll for all 7
Build 5
SDKs, sample code, and the tooling you integrate with
Access & Security 6
Authentication, authorization, and security posture
Operate 2
Status, limits, changes, and where to get help
Commercial 4
Pricing, plans, and the legal terms of use
Company 1
The organization behind the API
Other 2
Properties that don't map to a standard resource type
Source (apis.yml)
M-Pesa (Safaricom Daraja) API — frequently asked questions
Does M-Pesa (Safaricom Daraja) have an API?
Yes. APIs.io lists 11 APIs from M-Pesa (Safaricom Daraja), including M-Pesa (Safaricom Daraja) Account Balance API, M-Pesa (Safaricom Daraja) Authorization API and M-Pesa (Safaricom Daraja) B2C API, and 8 more.
Is there an OpenAPI specification for the M-Pesa (Safaricom Daraja) API?
Yes. APIs.io indexes 11 OpenAPI specifications for M-Pesa (Safaricom Daraja), each linked for download from this page.
How do I authenticate with the M-Pesa (Safaricom Daraja) API?
M-Pesa (Safaricom Daraja) uses bearer-token authentication (http · 3 schemes). The details are profiled on APIs.io as Mpesa Authentication.
How much does the M-Pesa (Safaricom Daraja) API cost?
APIs.io lists 3 pricing plans for M-Pesa (Safaricom Daraja), with each plan's price, limits and inclusions under Pricing on this page.
Is the M-Pesa (Safaricom Daraja) API ready for AI agents?
M-Pesa (Safaricom Daraja) has a Kin Score of 49.0 out of 100 (developing) and an Agent Readiness score of 29.2 (agent-ready), scored by API Evangelist on 2026-11-06.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.