To process payments through M-Pesa, you’ll need to connect your Safaricom Daraja API credentials to MpesaFlow. We support both development (sandbox) and production credentials. Each environment uses a separate set of credentials for safety.Documentation Index
Fetch the complete documentation index at: https://docs.mpesaflow.com/llms.txt
Use this file to discover all available pages before exploring further.
How Credentials Work
Credentials are used to authenticate with Safaricom’s Daraja API when sending a payment request. MpesaFlow uses these credentials to securely request access tokens from Safaricom. You can manage your credentials in the MpesaFlow dashboard → Need help getting your Daraja credentials? Read the guide →Authorization (Consumer Key & Secret)
When MpesaFlow makes a request to Daraja, it must first authenticate using your:- Consumer Key
- Consumer Secret
M-Pesa Express Request
We use your credentials to send M-Pesa Express (STK Push) requests to Safaricom. This includes:- Amount to charge
- Customer’s phone number
- Account reference and transaction description