Introduction
Codesphere API Gateway provides a secure and scalable way to integrate Safaricom M-PESA services into your applications.
Authentication
Authorization: Bearer YOUR_API_KEY
STK Push
POST /v1/stk/push
{
"phone": "2547XXXXXXXX",
"amount": 100
}
Callbacks
{
"ResultCode": 0,
"ResultDesc": "Success"
}