Specimen 01 · Kenya
M-Pesa
- Type
- Mobile money wallet
- Market
- Kenya
- Currency
- Kenyan shilling (KES)
- Direction
- Customer pay-ins and payouts
- Connection
- H2H API · Hosted Payment Page
- Status updates
- Postback to your server

Merchant payments · Kenya · KES
Payment Gateway Kenya connects your website or app to M-Pesa, the mobile money service Kenyan customers already use every day. Accept online payments in KES through a direct API or a hosted payment page, receive every transaction status on your server and get merchant settlements sent the same day.

In Kenya, the phone is the wallet. Safaricom's M-Pesa turned mobile money into everyday infrastructure, from rent and school fees to e-commerce orders, and online shoppers expect to see it at checkout. A gateway that treats mobile money transactions as an afterthought hurts the customer experience exactly where the customer decides whether to pay.
Our payment solution for Kenya is built around that habit. Instead of a long menu of payment options that are only partly live, the Kenya route focuses on one local payment method and handles it end to end: creating the transaction, guiding the customer to approve it on their mobile phone, reporting the result to your server and settling your earnings.
We list what actually processes payments. On the Kenya route, that is one method, connected properly.
Specimen 01 · Kenya

Every M-Pesa transaction follows the same route through the gateway. Your system stays in control of the order; the gateway handles the payment and reports back through the API.
Send the amount in KES, your order reference and the customer details to the API, and keep your API keys securely on the server. The gateway returns everything you need to start the payment.
The customer approves the payment on their mobile phone, either on the hosted payment page or inside the checkout you built with the H2H integration.
The gateway sends the transaction status to your webhook endpoint. Your project shows the result to the customer: the gateway notifies your system, not the shopper directly.
Match the status with the order reference and amount, then ship the goods, unlock the service or top up the balance shown in your own dashboard.
Merchant settlements run on a T+0 period, so your earnings are sent on the day. When the transfer reaches your bank account depends on the receiving bank.
H2H and the Hosted Payment Page are connection methods for the same payment gateway, not separate products. Pick the one that fits your team and your checkout.
Layer 01 · For developers
Host-to-host means your server talks to ours through our APIs. You design the checkout, keep the customer on your pages for the steps you control and receive statuses by postback. It suits teams with backend developers who want full control of the payment flow inside their own e-commerce or platform logic. H2H is a technical integration, not a white-label licence.
Layer 02 · Fastest launch
Send the customer to a payment page hosted by the gateway. The customer completes the M-Pesa payment there and returns to your site afterwards. It is the quicker, seamless route when you want to launch without building payment screens, and it works for websites and for Android apps that open the page in the browser.
The gateway helps merchants streamline payments from customers who pay online and often pay again, including the verticals that card-first providers often decline. Businesses registered outside Kenya can apply too.
Player deposits and fast withdrawals for sportsbooks, casinos and lottery products.
Top-ups and payouts for game platforms, skill games and in-game wallets.
Tournament entries, wallet top-ups and in-platform balances.
Account funding in local currency for traders based in Kenya.
Memberships and credits that customers pay for from their phone.
Content subscriptions, tips and credits paid locally in KES.
Local fiat top-ups with M-Pesa. We are not a crypto payment gateway and do not process blockchain transfers.
Online stores and cross-border brands entering the Kenyan market that need a local method instead of foreign cards.
Payment providers use overlapping terms. Here is what each one means when you accept online payments with M-Pesa.
The technology that creates the transaction, connects your checkout to the payment method and returns the result. It is the part you integrate.
Moves the transaction between the parties behind the scenes. For mobile money payments in Kenya you rarely integrate a processor directly.
The regulated business that offers payment services. Payment service providers in Kenya are overseen by the Central Bank of Kenya.
An account on the mobile phone that holds money, such as M-Pesa. For many customers it is the preferred payment method online.
POS terminals handle in-person card and wallet payments in shops. This gateway is for online payments: websites, apps and platforms that collect payments from anywhere in the country.
A server-to-server message that carries the transaction status. It is how your system learns that a customer has paid.
Because M-Pesa is a digital wallet rather than a card scheme, card rules such as PCI DSS scope for stored card data and credit card chargebacks do not shape your checkout the way they would for card acceptance. You still need clear refund terms and good customer data handling on your side: the payment is secure only when your own system checks every status before it releases goods.
Lists of the best payment gateways in Kenya usually put local aggregators such as Pesapal next to international payment processors and M-Pesa specialists. There is no single best payment gateway in Kenya for every business: a ranking helps you build a shortlist, but the right choice depends on a few practical questions. Ask every provider the same ones.

| Question to ask | Why it matters | Our answer |
|---|---|---|
| Which payment methods are live in Kenya? | A long row of logos means little if half of them are not connected. | M-Pesa in KES. |
| Who supervises the provider? | The Central Bank of Kenya oversees payment service providers under the National Payment System Act. | Ask us for licensing and contract details during onboarding. |
| How do I integrate? | Developer time is part of the real price of any payment solution. | H2H API or Hosted Payment Page. |
| How will I know a transaction succeeded? | A closed browser tab is not a payment result. | Server postbacks with the transaction status. |
| When is money settled? | Cash flow decides how quickly you can reinvest. | T+0: settlements are sent the same day. |
| What does it cost to grow? | Transaction fees are only part of the bill; extra methods often add setup costs. | Adding supported methods is free for connected merchants. |
| Can I pay my users out? | Withdrawals matter as much as deposits for gaming and trading. | Yes: M-Pesa payouts in KES through the same API. |
If your finance team reports in USD or another currency, ask how settlement currency and conversion are handled before you sign. It affects reconciliation more than the headline rate.
Once your account is live, you can expand to other supported markets with the same integration. Adding supported payment methods for an existing merchant costs nothing extra, and the number of methods you connect does not change the connection price.
Beyond Africa, the gateway covers 23 countries across Asia, Latin America and the Middle East, so one integration can serve Kenya and beyond while each customer pays with local methods.
A payment gateway is the layer between your website or app and the payment system. It creates the transaction, takes the customer to the payment method, reports the result and settles the money. Across Kenya that usually means connecting to M-Pesa, because it is the preferred payment method for many customers who pay online.
M-Pesa, in Kenyan shillings (KES). Card payments, bank transfers and other mobile money wallets are not on the current Kenya list.
No. The gateway does not offer standalone payment links or a QR generator for one-off invoices. Every payment is created by your system through the API or the hosted payment page.
The gateway sends a postback with the transaction status to your server. Check the status, amount and order reference before you fulfil the order, and keep the order pending until the status arrives.
The settlement period is T+0: merchant settlements are sent on the same day. The time it takes the money to appear in your bank account depends on the receiving bank.
Pricing depends on your business and is agreed during onboarding. Once you are connected, adding other supported payment methods is free, and the number of methods you connect does not change the connection price.
Yes, through the hosted payment page: your Android app opens the payment page in the browser, the customer pays, and your app reads the status from your server. A native in-app SDK is not part of the offer.
Online casinos and betting, gaming and esports, forex and trading, dating, adult entertainment, crypto platforms, e-commerce and digital services. Companies registered outside Kenya can apply as well; required documents are agreed during onboarding.
Yes. M-Pesa withdrawals in KES run through the same API as deposits, with a postback for every result. Payouts are switched on as part of your project setup.
The Kenya route collects KES through M-Pesa. If you also sell to international customers in other markets, ask about the payment methods supported there: international payments are handled market by market rather than through one card network.
Send your details through the merchant onboarding form. Our customer support team, available 24/7, reviews your business, agrees pricing and explains the integration process before sharing API access for testing. Developers can read the integration guide in the meantime.

Tell us about your project and the payments you need to accept. We will walk you through onboarding, integration and settlement.
Start onboarding