+254 700 000 000 info@clinixcore.co.ke Nairobi, Kenya
Payments

M-Pesa (Daraja API) Integration

STK Push, Paybill, Buy Goods, B2C and reverse transactions — all reconciled inside ClinixCore in real time.

Overview

The Most Loved Payment Method in Kenya — Built In

M-Pesa is the heartbeat of payments in Kenya. ClinixCore connects directly to Safaricom's Daraja API so your cashier can prompt patients to pay from their phone, watch payment confirmation arrive in seconds, and never have to chase paybill SMS messages again.

  • STK Push — patient gets a payment prompt on their phone
  • Paybill and Buy Goods (Till) integration
  • B2C disbursements (refunds, casual labour, supplier payments)
  • Real-time reconciliation against patient invoices
  • Automatic eTIMS receipt generation on success
M-Pesa Daraja integration with ClinixCore
Key Capabilities

What the M-Pesa Integration Delivers

STK Push

Cashier enters phone number and amount; the patient receives a payment prompt and approves with their PIN.

Paybill & Till

Inbound C2B notifications match patient invoices automatically — no more manual SMS reading.

Refunds (B2C)

Refund overpayments straight to the patient's M-Pesa wallet — fully tracked and audit-logged.

Auto-Reconciliation

Each transaction is matched to the originating invoice with confirmation reference and timestamp.

eTIMS Linking

Successful payments automatically trigger KRA eTIMS receipt generation in the same flow.

Secure Daraja Connection

Encrypted API connectivity using OAuth tokens, with secret rotation and complete request logging.

Use Cases

Where M-Pesa Lives in Your Hospital

01

Cashier Counter

Patient pays for consultation, lab and pharmacy in one STK push — fully receipted.

02

Ward Deposits

Family members pay admission deposits remotely via paybill — reconciled to the patient's bill in seconds.

03

Refunds & Petty Cash

B2C disbursements for overpayments, casual labour and supplier expenses — tracked in the GL.

Related Integrations

Other Payment & Compliance Integrations

Take Patient Payments the Modern Way

STK Push, paybill, refunds and full reconciliation — all running smoothly in the background of your daily operations.