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 1 API contract, indexed on the APIs.io network as 11 APIs, 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 33 more developer resources.
What this lets a business do 3
Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →
What people ask M-Pesa (Safaricom Daraja) 11
The questions people put to an LLM, and the jobs they hand an agent, that M-Pesa (Safaricom Daraja)'s APIs answer — each one linked to the operation that does it. Generated by API Evangelist
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.
Depth is one figure for the provider, the mean of its strongest integrations, so it repeats on every row. It differs by market only where an assurance register's own evidence applies.
| Market | Position | Depth (provider-wide) | 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.
Used by apps
3 of the reference apps in Applications, across 2 categories, integrate with this provider, read from each app's own code, build or integrations page.
- ERPNext ERP & Business Operations
- Odoo ERP & Business Operations
- Odoo Point of Sale Point of Sale & In-Person Payments
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 →
Buying and running it
- Billing and usage API: read your own cost through the API (
POST /mpesa/accountbalance/v1/query).
Pricing Plans 1
Published pricing tiers and plan structures.
Rate Limits 1
Documented rate limits and quota policies.
M-Pesa (Safaricom Daraja) Rate Limits
RATE LIMITSPrivacy & Data 1
Its role, the data it processes, retention and transfers, quoted from its own privacy page.
M-Pesa (Safaricom Daraja)
27 quoted statements, read from M-Pesa (Safaricom Daraja)'s own page on 2026-11-10.
PRIVACYEligibility 1
Who may sign up and where, quoted from its own terms.
M-Pesa (Safaricom Daraja)
2 quoted statements, read from M-Pesa (Safaricom Daraja)'s own page on 2026-11-10.
ELIGIBILITYFinOps 1
Cost, billing, and metering signals for API financial operations.
Event 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. Counts are the severity each rule declares, not results of running them.
M-Pesa (Safaricom Daraja) API Rules
SPECTRALOpenAPI Overlays 12
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.
Scroll for all 12
Security Posture 4
Authentication, domain security, vulnerability disclosure, and trust-center signals.
M-Pesa (Safaricom Daraja) Trust Center
PCI DSS v4, ISO/IEC 27001, ISO/IEC 27701, GDPR-aligned / Kenya Data Protection Act 2019
SECURITYAgentic Access (API Evangelist recommendations) 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 4
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 M-Pesa (Safaricom Daraja) 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 48.1 out of 100 (developing) and an Agent Readiness score of 31.1 (agent-ready), scored by API Evangelist on 2026-11-28.
Work with this as data
Every provider here is available over the APIs.io API and to AI agents over MCP.