Back to Explore
M-Pesa Daraja API
Online
Fintech & PaymentsKenya
Safaricom's official API for M-Pesa - mobile money payments, C2B, B2C, STK Push and transaction status for the largest mobile money service in East Africa.
Technical Details
API Type
REST
Authentication
OAuth
Category
Fintech & Payments
Author Country
Kenya
Available in Countries
KE
Main Endpoint
https://api.safaricom.co.keEndpoints
POST
/mpesa/stkpush/v1/processrequestPOST
/mpesa/b2c/v1/paymentrequestExample Request
curl -X POST https://api.safaricom.co.ke/mpesa/stkpush/v1/processrequest \
-H 'Authorization: Bearer ACCESS_TOKEN' -H 'Content-Type: application/json' \
-d '{"BusinessShortCode":"174379","TransactionType":"CustomerPayBillOnline",...}'View Documentation
Status
Online
Open Source
No
Available in Countries
1 countries