Skip to content
Quickwave Technologies
Service · Nairobi, Kenya

M-Pesa & payment integration

Add M-Pesa STK Push, paybill, till and payouts to your website, app or system.

  • STK Push, C2B and B2C
  • Daraja or ZetuPay
  • Automatic reconciliation

Overview

What is M-Pesa & payment integration?

M-Pesa integration connects your website, app or business system to Safaricom M-Pesa so customers can pay and your system confirms the payment automatically. Quickwave integrates STK Push checkout, paybill and till (C2B) payments, B2C payouts and reconciliation, either through ZetuPay, our own payment gateway, or directly through the Safaricom Daraja API.

Who this is for

  • Online shops and e-commerce sites
  • SaaS products and subscription businesses
  • Schools, chamas, SACCOs and membership organisations collecting fees
  • Businesses paying agents, riders or suppliers
  • Teams replacing manual M-Pesa reconciliation

What you get

What we deliver

  • STK Push checkout

    Customers get an M-Pesa prompt on their phone at checkout and approve with their PIN. Your system confirms the payment from the callback, not from a screenshot.

  • Paybill and till (C2B) payments

    Accept payments made to your paybill or Buy Goods till and match them to the right customer, invoice or order using the account number.

  • B2C payouts and refunds

    Pay customers, agents, staff or suppliers to M-Pesa or bank from your system, with approvals and limits so money only moves when it should.

  • Callbacks and webhooks

    Secure, idempotent callback handling so a payment is recorded exactly once, even when M-Pesa or your server retries.

  • Reconciliation and reports

    Match every M-Pesa transaction to an order or invoice, surface failures with their M-Pesa result codes, and export reports for accounting.

  • Cards and other methods

    Where your customers need it, we add card payments and other methods alongside M-Pesa through established payment providers.

Process

How we work

  1. Assess

    We look at how you take payments today, which M-Pesa products you have (paybill, till) and what your system needs to know.

  2. Choose the route

    We recommend ZetuPay for the fastest start, or a direct Daraja integration when you need full control of your shortcode.

  3. Build and test

    We integrate the payment flow, callbacks and reconciliation, and test with small real payments before going live.

  4. Go live and monitor

    We switch to production, watch the first transactions closely, and stay on hand for support.

Technology we use

  • Safaricom Daraja API
  • ZetuPay API
  • STK Push
  • C2B
  • B2C
  • Webhooks
  • Laravel
  • Node.js
  • Next.js
  • WooCommerce

Proof

Built into our own products

The same engineering is inside the products we design and build ourselves.

  • Live
    ZetuPay

    M-Pesa payment gateway

    M-Pesa STK Push, card payments and payouts for Kenyan businesses.

  • Live
    Wave POS

    Point of sale software

    Offline-first point of sale for Kenyan shops, with M-Pesa at the till.

  • Early access
    Wave Billing

    WiFi hotspot & ISP billing software

    Hotspot and PPPoE billing for MikroTik ISPs, with M-Pesa payments.

FAQ

M-Pesa integration: common questions

Should I integrate M-Pesa directly with Daraja or use a payment gateway?

A gateway such as ZetuPay is faster to launch because it handles the Daraja app, certificates and callbacks for you. A direct Daraja integration gives you full control of your own shortcode and is worth it for high volumes or custom flows. We build both and help you choose.

What M-Pesa payment types can you integrate?

STK Push (Lipa na M-Pesa Online), paybill and Buy Goods till payments (C2B), payouts to customers (B2C), transaction status queries and account balance checks, plus reconciliation of all of them.

Do I need a paybill or till number?

Yes, or a bank account. A direct Daraja integration needs your own paybill or till. With ZetuPay, payments settle straight into the paybill, till or bank account you already have, and ZetuPay handles the Daraja side.

Can you add M-Pesa to my existing website or system?

Yes. We integrate M-Pesa into existing websites, WooCommerce stores, apps, ERPs and custom systems, usually without rebuilding them.

How do you make sure payments are not lost or double-counted?

We store every callback, process it idempotently so retries cannot record a payment twice, and run automatic reconciliation to catch any payment whose callback never arrived.

Keep exploring

Get in touch

Let’s talk about your M-Pesa integration project.

Message us on WhatsApp with a few lines about your business and what you need. We will come back to you with next steps, a timeline and a clear quote.

WhatsApp 0798 871 229 (opens WhatsApp in a new tab)