An M-PESA payment gateway for your apps and tills

STK Push, C2B confirmations and B2C payouts through one reliable gateway, with real-time notifications to your POS or app and automatic reconciliation.

From $12.00/mo

Mobile payment illustration

Why use a gateway instead of calling Daraja directly?

Integrating Safaricom's Daraja API looks simple until you run it in production. Callbacks need a public HTTPS endpoint that is always available, tokens expire, customers abandon prompts, and the same payment can be reported twice. Our gateway handles those details once for every application: it keeps a reliable callback endpoint, retries and de-duplicates notifications, checks transaction status when a callback never arrives, and stores a clean ledger.

Point of sale terminal illustration

Built for point of sale

Tills need to know the moment a customer has paid. The gateway pushes confirmations to POS terminals over websockets, so the sale completes on screen within seconds of the customer entering their PIN, without polling or manual checks. The same feed works for kiosks, ordering apps and dashboards.

Analytics dashboard illustration

Reconciliation that closes itself

Each payment is matched to an invoice, order or customer account using the account reference, amount and phone number. Anything that cannot be matched, such as a wrong reference or partial payment, lands in a short daily list for your team to resolve.

Modules and features

Everything below is included unless a plan says otherwise.

  • STK Push

    Send payment prompts to customers' phones from any website, app or POS terminal.

  • C2B confirmations

    Payments to your Till or Paybill are validated and confirmed in real time.

  • B2C payouts

    Pay refunds, commissions, salaries or winnings to M-PESA wallets automatically.

  • Real-time notifications

    Webhooks and websockets push confirmations to your systems the instant they arrive.

  • Multi-tenant

    Run many businesses or shortcodes from one gateway, each with its own credentials and reports.

  • Reconciliation

    Every payment is matched to an invoice, order or account, with a daily exceptions list.

Pricing

Subscription pricing with setup and training included on annual plans. Hardware is quoted separately.

M-PESA Gateway plans and prices

Gateway Starter

One business, one shortcode

$12.00/mo

1 year term: $144.00 upfront

Renews at $15.00/mo

Book a demo
  • 1 Paybill or Till
  • Up to 2,000 transactions a month
  • STK Push and C2B
  • Real-time notifications

Gateway Business

Several tills or apps

$38.00/mo

1 year term: $456.00 upfront

Renews at $45.00/mo

Book a demo
  • Up to 5 shortcodes
  • Up to 20,000 transactions a month
  • B2C payouts
  • Automatic reconciliation

Gateway Enterprise

High volume and multi-tenant

Custom

Priced to your size and requirements

 

Request a quote
  • Unlimited shortcodes
  • Multi-tenant setup for platforms
  • Dedicated infrastructure
  • SLA and priority support

Prices exclude taxes. Introductory prices apply to the first term; the renewal price is shown on each plan. Orders are completed in the client area at panel.oxflare.com.

Deployment options

  • Hosted gateway

    We run the gateway on monitored infrastructure with redundant callbacks.

  • Dedicated instance

    A private gateway for high volumes or regulatory requirements.

  • Embedded

    Already included in our POS, school and ISP products.

Integrations and technology

  • M-PESA Daraja APIPayments and compliance
  • Node.jsLanguages and frameworks
  • REST APIs and webhooksDeveloper tools
  • MariaDBDatabases

All technologies we use

How we get you live

  1. Credentials

    We help you obtain Daraja production credentials for your shortcode.

  2. Connect

    Point your app or POS at the gateway API, or use our ready integrations.

  3. Test

    Run sandbox and small live transactions together.

  4. Go live

    Switch on, with monitoring and alerts from day one.

Questions people ask

Not answered here? Our team replies within one working day.

Ask a question
Do I need my own Paybill or Till?

Yes. Payments go directly to your shortcode; the gateway handles the integration, not the money.

Is there a per-transaction fee?

Plans include a monthly transaction allowance. Safaricom's own transaction charges apply as normal.

Can it notify my existing system?

Yes, by webhook to any HTTPS endpoint, by websocket, or by writing to your database through our API.

See M-PESA Gateway in action

Book a demo with our team. We will use examples from your type of business.