Skip to content
Safaricom Daraja 2.0 · Instant Reconciliation

Automated M-Pesa ISP Billing & Captive Portal Reconciliation

Eliminate manual M-Pesa SMS checks, unreliable Android forwarding apps, and delayed activations. RhoBill connects directly to Safaricom Daraja for sub-second activations and walled-garden auto-reconnects.

Lipa na M-Pesa STK Push

Subscribers enter their phone number on your captive portal. Safaricom triggers a PIN prompt on their handset instantly. Upon PIN entry, the subscriber is online within 1.5 seconds.

C2B Paybill & Till Validation

RhoBill acts as your official Daraja Validation & Confirmation server. Reject invalid account numbers before money is taken, preventing customer dispute tickets.

Walled-Garden Grace Reconnection

Expired PPPoE or hotspot customers are placed in a safe walled garden allowing access only to your payment portal. Once paid, their full internet access is restored immediately.

Reliability Comparison

Why Kenyan ISPs Abandon SMS Sync Apps for RhoBill

Relying on cheap phone-based SMS scrapers is the #1 cause of customer churn for growing Kenyan ISPs. Compare the two architectures:

Legacy Android SMS Scraper Setup

  • ✕Android phone must remain plugged into a charger 24/7.
  • ✕App crashes silently during battery optimization or OS updates.
  • ✕Safaricom SMS delivery delays leave customers without internet for 10-30 minutes.
  • ✕No pre-payment validation; customers misspell accounts and lose money.

RhoBill Cloud Direct Daraja 2.0

  • Direct HTTPS webhook connection to Safaricom’s core banking API.
  • 99.98% platform SLA with queued retries for transient Safaricom drops.
  • Instant 1.5-second activation upon PIN entry with zero SMS reliance.
  • C2B Validation rejects erroneous account numbers before money leaves the phone.

The 4-Step Instant Activation Lifecycle

How RhoBill coordinates Safaricom, Cloudflare D1, and MikroTik RouterOS in real time.

STEP 01

Customer Initiates Payment

Subscriber selects a Wi-Fi or FTTH package on the zero-SMS captive portal or self-service pay page and enters their Safaricom phone number.

< 2 seconds total
STEP 02

Lipa na M-Pesa STK Push Dispatched

RhoBill invokes Safaricom Daraja 2.0 API (/mpesa/stkpush/v1/processrequest). The prompt appears on the subscriber's phone asking for their M-Pesa PIN.

< 2 seconds total
STEP 03

Automated Webhook Confirmation

Safaricom sends an encrypted callback to RhoBill's fail-closed webhook endpoint (/api/webhooks/mpesa). The receipt code and exact amount are cryptographically verified.

< 2 seconds total
STEP 04

Instant RADIUS Activation & Ledger Credit

RhoBill activates the customer's account in D1, issues an RFC 3576 Fast-Path CoA packet to the MikroTik router, and credits the operator's wallet with exact-cent precision.

< 2 seconds total

M-Pesa Integration FAQs

Everything you need to know about Daraja credentials, payouts, and tariffs.

How does RhoBill handle C2B Paybill and Buy Goods Till collections?

RhoBill registers authoritative ValidationURL and ConfirmationURL endpoints with Safaricom Daraja. When a customer sends money to your Paybill using their Account Number, our Validation URL verifies that the subscriber exists and confirms the required renewal amount before Safaricom accepts the transaction. Once confirmed, the subscriber's PPPoE or Hotspot service is renewed within 2 seconds without human intervention.

Why is direct Daraja integration better than SMS forwarding apps?

Many budget billing platforms rely on an Android phone running an SMS forwarding app (e.g. SMS sync). These apps frequently fail when the phone battery dies, the phone loses Wi-Fi, or Android battery-saver terminates background processes, leading to angry customers whose payments were never activated. RhoBill connects directly to Safaricom's fiber banking gateway via Daraja 2.0 webhooks with 99.98% uptime, guaranteeing zero missed transactions.

What happens if Safaricom Daraja experiences downtime or delayed callbacks?

RhoBill implements strict Daraja lifecycle invariants: transactions are never prematurely failed while in flight. Transient Safaricom errors (500.001.1001, 1001, 404.001.03) are held in pending status, and queued webhook retry consumers auto-adopt delayed settlement callbacks. We also provide a one-click 'Already Paid? Check Status Again' button on customer screens to immediately activate late callbacks without double charging.

How do operators withdraw collected funds from the RhoBill tenant wallet?

Collected funds accumulate in your tenant wallet in real time. You can trigger an on-demand withdrawal directly to your personal Safaricom phone number (B2C Send Money) or to an upstream bandwidth supplier's Paybill (B2B BusinessPaybill). RhoBill applies a simple 2% platform fee on withdrawal with zero monthly recurring charges.

Does RhoBill support KRA eTIMS automated tax compliance?

Yes. RhoBill's payment ledger stores full transaction payloads, customer identifiers, M-Pesa receipt codes, and 16% VAT line items ready for automated KRA eTIMS electronic tax invoice reporting.

Connect your M-Pesa Paybill or Till to RhoBill

Automate customer payments with sub-second STK push and zero monthly fees. Free onboarding in under 5 minutes.