Add money by M-Pesa, send it to any M-Pesa number, pay another business, or move it between wallets.
Deposit
Send to a phone
Wallet to wallet
Checkout
Signed webhooks
Every result is signed. A delivery that fails is retried and logged, and you can send it again.
X-MutexPay-Signature: t=1712345678,v1=…
Know your customers
Payments are grouped by phone number, with each customer's history and receipts in one place.
Example of payments grouped by customer phone number
Customer
Payments
Received
254712 345 678
3
Ksh 4,100.00
254798 765 432
1
Ksh 1,500.00
254701 234 567
2
Ksh 2,300.00
For developers
The same payments, as an API.
Every request is a JSON POST signed in with your email and API key. Start a payment, read its status, move wallet money, and get a signed webhook when it is done.
Nine endpoints for payments and the wallet
Webhooks signed with HMAC-SHA256 and retried when they fail
A test mode where M-Pesa is simulated and no money moves
{
"success": "200",
"message": "Request processed successfully",
"transaction_request_id": "GPPID3011202609451234567",
"merchant_request_id": "29115-34620561-1",
"response_description": "The service request has been accepted successfully"
}
The request only asks the phone to confirm. The payment is paid when the webhook says payment.completed. A delivery that fails is retried up to five times.
Plans
Pay for a plan by M-Pesa. Each plan says how many connected accounts it allows.
A Safaricom paybill number, a till number (Buy Goods) or a bank account. A bank account is paid through the bank's own M-Pesa paybill, with the customer's account number as the reference.
Does the money pass through MutexPay?
No. M-Pesa sends it straight to your own paybill, till or bank account. The wallet is optional and separate: it only holds what you have put into it.
How do I know a customer has paid?
M-Pesa reports the result of each payment. MutexPay checks that the report matches the payment, then sends a signed webhook to your server. You can also ask the API for the status of a payment at any time.
Can I try it before going live?
Yes. New installations start in test mode, where M-Pesa is simulated and no money moves. Every page says so. You can choose whether the test customer pays, cancels or fails.
How do I pay for a plan?
By M-Pesa when you choose the plan, or from your wallet later. The plans and what each one includes are listed on the pricing page.
What do I need to sign up?
Your name, an email address, a phone number and an ID (national ID, passport or alien ID). Every account also needs an authenticator app for two-factor authentication.