Health is a paybill-first sector for anything more complex than an over-the-counter drug purchase. The reason is the medical record: every payment must map to a specific patient encounter, both for continuity of care and because insurance and SHA claims require it. The rail choices flow from that constraint.
What a clinic actually needs from M-PESA
- Patient-file reference. The account field carries the patient file number so the payment slots into the correct EMR record.
- Multi-line billing. Consultation + labs + drugs on one visit, often split billed.
- Insurance/SHA split. Insurer covers X, patient copays Y via M-PESA. Both flows need reconciliation.
- Admission accounts. Running balance across days for inpatient care.
- Refunds. Refund overpayments cleanly via M-PESA B2C.
- Regulator-ready statements. KMPDU inspection, SHA audit, KRA. Paybill statement is the primary evidence.
Recommended setup: paybill, till, or hybrid
- Clinic (any size). Dedicated paybill in the clinic's registered name. File number as account reference. See how to get a paybill (2026).
- Attached pharmacy. Same paybill with a prescription suffix on the account reference (e.g.
PAT1234-RX). Same reconciliation, split sub-ledger. - Standalone pharmacy (walk-in retail). Buy Goods till is fine. No prescription tracking needed on the payment rail (the prescription pad or POS handles clinical logging).
- Chain clinic. One paybill per branch, or one paybill with a branch prefix on the account (e.g.
KLM-PAT1234). - Diagnostic-only lab. Paybill with the test-request number as reference.
Charges you will actually pay
On paybill, the patient pays the send fee (tiered up to KES 108) and the clinic pays the merchant fee (tiered up to KES 108). On Buy Goods till, only the merchant pays. Full band schedule in M-PESA charges 2026.
For a KES 3,500 consultation: patient pays KES 47, clinic pays KES 55 on paybill. For a KES 10,000 admission deposit: patient pays KES 88, clinic pays KES 108. Above KES 15,000: both are at KES 108.
Setup steps
- Clinic KRA PIN, KMPDC/PPB licence, business bank account, county permit. Pharmacy: PPB Retail Licence.
- Apply for a paybill via m-pesaforbusiness.co.ke or a Safaricom Business Rep. Specify "Medical services" as the use case.
- Sign the Lipa na M-PESA merchant agreement. Approval 5 to 10 working days.
- Configure account-reference validation to accept your patient-file format.
- Integrate paybill into the EMR (Zenith, Ozone, custom). Post-payment webhook updates the patient bill.
- Print the paybill number at reception, on the invoice, and on the SMS reminder for the next visit.
Reconciliation notes specific to clinics and pharmacies
- Patient-file discipline. Every payment references the file number. Ask new patients to bring the file number to reception.
- SHA-copay split. Front desk runs the SHA eligibility check. Insured share goes on the SHA claim, copay is what the patient pays via M-PESA. Never take a full bill on M-PESA when part is SHA-claimable.
- Insurer disbursements. Private insurers (Jubilee, AAR, Britam, CIC, Old Mutual) pay via bank transfer, not M-PESA. Reconcile these separately in the AR ledger.
- Prescription pharmacy. Sub-suffix on account reference lets you split consultation revenue from pharmacy revenue in the daily close.
- Refunds. Overpayments (patient sent KES 5,000, bill was KES 4,200) refunded via B2C same day, logged as a negative line in the ledger with the M-PESA reference.
- Admission close. Discharge triggers a full statement: total charges - total M-PESA deposits - insurance = balance. If negative (refund), send B2C.
Common problems and how to fix them
- Patient claims paid, reception cannot find record. Ask for M-PESA transaction ID. Search paybill statement. If they typed the wrong file number, credit the correct one and note the correction in both files.
- Patient paid at the pharmacy counter but consultation was not settled. Split the payment: credit the pharmacy sub-suffix, leave the consultation balance open. Reconcile at close.
- SHA claim rejected after the fact. Bill the patient for the rejected portion. If they resist, escalate through SHA reconsideration first, then the ledger.
- Duplicate deposit for admission. Family members double-paid. Refund one via B2C the same day.
- Insurance pre-auth timed out. Take a refundable M-PESA deposit against the file number, refund on subsequent insurer confirmation.
SHA, KMPDC, PPB, and KRA compliance
- SHA (Social Health Authority). Registered facilities file claims through SHA portal. M-PESA copays are outside SHA but must be reconciled against the patient encounter.
- KMPDC (facility licensing). Inspection cycles. Fee-collection controls are part of the review.
- PPB (Pharmacy and Poisons Board). Pharmacies audited on Rx tracking, controlled-substance logs.
- KRA VAT. Consultation by licensed practitioner: generally exempt. Drugs and outpatient procedures: often VAT-able above the KES 5M threshold. eTIMS invoicing on VAT-able lines.
- Turnover-tax at 3 percent above KES 1M turnover (below VAT registration).
- PAYE, NSSF, SHIF, Housing Levy on all staff.
Worked example: a mid-size clinic + attached pharmacy, KES 2.7M monthly
A five-room clinic in Ruaka with an attached pharmacy, roughly 30 patient encounters per day, six days a week. Payment mix on the paybill:
| Line | Tickets / month | Monthly gross | Merchant fee / ticket | Monthly M-PESA cost |
|---|---|---|---|---|
| Consultations (avg KES 1,200) | 600 | KES 720,000 | KES 22 | KES 13,200 |
| Diagnostics (avg KES 2,500) | 250 | KES 625,000 | KES 32 | KES 8,000 |
| Procedures (avg KES 8,000) | 80 | KES 640,000 | KES 108 | KES 8,640 |
| Pharmacy (avg KES 800) | 900 | KES 720,000 | KES 11 | KES 9,900 |
| Total | 1,830 | KES 2,705,000 | KES 39,740 |
M-PESA cost as share of gross: about 1.47 percent. Cheaper than the 2.5 to 3.5 percent an insurer would take on a similar volume through the medical-claims float. SHA claims sit alongside, roughly 30 to 40 percent of the patient book, disbursed monthly to the clinic bank account.
More business rail guides
Curated external sources we cite. Open in a new tab.
M-Pesa Paybill Calculator
Calculator focused on Paybill transactions specifically.
mpesa.or.ke · calculator
Fuliza for Business Calculator
B2B Fuliza fees for merchants who use Fuliza for Business.
mpesa.or.ke · calculator
M-Pesa Bulk Payments Calculator
B2C bulk-disbursement fees for businesses paying many recipients.
mpesa.or.ke · calculator
See also: M-PESA for schools · M-PESA for rent collection · Business hub.