Africa eCommerceOperator Playbook

How to Track and Analyse M-Pesa Revenue for Your Business

23 May 2026·Updated Jun 2026·8 min read·How-ToIntermediate
Share:PostShare

In this article
  1. The M-Pesa Data Problem Every Kenyan Business Owner Knows
  2. M-Pesa Paybill and Till Integration: The Starting Point
  3. Understanding Your Revenue Patterns From Transaction Timestamps
  4. Customer Frequency Analysis From M-Pesa Phone Numbers
  5. Reconciling M-Pesa With Your Accounting System
  6. From M-Pesa Data to a Full Business Intelligence View
Key Takeaways

Millions of Kenyan businesses collect revenue via M-Pesa but track it through SMS alerts and manual reconciliation. Turning M-Pesa payment data into structured business analytics — daily revenue trends, customer frequency, seasonal patterns — requires connecting the data systematically rather than reading it manually.

  • The M-Pesa Data Problem Every Kenyan Business Owner Knows
  • M-Pesa Paybill and Till Integration: The Starting Point
  • Understanding Your Revenue Patterns From Transaction Timestamps
  • Customer Frequency Analysis From M-Pesa Phone Numbers
  • Reconciling M-Pesa With Your Accounting System

The M-Pesa Data Problem Every Kenyan Business Owner Knows#

You get the SMS. You mark it in a notebook or forward it to a WhatsApp group. At month-end, someone spends two days reconciling the phone, the notebook, and the bank statement. Then you add it all up and compare it to last month's total. This is how the majority of Kenyan SMEs manage their M-Pesa revenue, and it has three fundamental problems. It is slow — the insight you need to act on is available days or weeks after it is relevant. It is error-prone — manual entry introduces reconciliation gaps that distort your actual revenue picture. And it is shallow — total revenue is just the beginning of the analysis; the patterns inside the revenue data are where the actionable intelligence lives. M-Pesa data is rich, structured, and timestamped. The gap is not in the data — it is in how it is captured and organised.

M-Pesa Paybill and Till Integration: The Starting Point#

The first upgrade from SMS reconciliation is connecting your M-Pesa Paybill or Buy Goods (till) number to a data system via Safaricom's Daraja API. Daraja provides real-time callback notifications for every transaction — amount, timestamp, customer phone number (where privacy settings allow), and reference. This turns your M-Pesa income stream from a batch of SMS messages into a structured, queryable database of transactions. The practical implication is significant: you can now compute your daily, weekly, or hourly revenue without any manual input. You can identify which days of the month are your highest-revenue days. You can see whether your Nairobi CBD till performs differently from your Westlands till. The raw material for business intelligence is now available in real time.

Understanding Your Revenue Patterns From Transaction Timestamps#

M-Pesa timestamps are one of the most underused analytical assets in Kenyan retail. A restaurant in Mombasa's city centre that pulls its Daraja transaction timestamps into a simple visualisation immediately sees whether lunch or dinner drives more revenue, which days of the week are highest and lowest, and whether the pattern has shifted over the past three months. A pharmacy in Kisumu can identify whether end-of-month — when mobile money transfers from formal-sector workers typically arrive — produces a material revenue spike. These patterns are invisible in a monthly total but obvious in a time-series view of daily transactions. Knowing them allows you to staff appropriately, manage inventory proactively, and time promotions to natural peaks rather than arbitrary calendar dates.

Get weekly BI insights

Data-backed guides on AI, eCommerce, and SME strategy — straight to your inbox.

Get started free →

Customer Frequency Analysis From M-Pesa Phone Numbers#

M-Pesa transactions for businesses using Paybill with account reference fields capture the paying customer's phone number in most cases. Aggregating by phone number across your transaction history gives you a direct measure of customer return frequency — how many customers have paid once, how many three or more times, and what interval typically passes between visits. In Kenyan retail, customer retention economics are decisive: acquiring a new customer in Nairobi via Google Ads or social media typically costs four to eight times more than retaining an existing one. Knowing your repeat visit rate, and tracking whether it is improving or deteriorating, is the most direct measure of whether your customer experience is working. This analysis is impossible from SMS reconciliation and straightforward from structured M-Pesa data.

More in Africa eCommerce

Reconciling M-Pesa With Your Accounting System#

M-Pesa settlement happens in batches — Safaricom settles Paybill revenue to your registered account on a rolling basis, net of transaction fees. The gap between what customers paid, what Safaricom deducted in fees, and what appeared in your bank account creates a three-way reconciliation problem that trips up many Kenyan business bookkeepers. Solving it cleanly requires capturing the gross payment from Daraja, tracking the Safaricom fee schedule for your payment volume tier, and matching settlements to bank deposits automatically. When this reconciliation is systematised, your Xero or QuickBooks accounts reflect M-Pesa revenue accurately in real time rather than weekly when your bookkeeper has time to catch up. The downstream benefit is a P&L that reflects your actual performance rather than a lagged, approximated version of it.

From M-Pesa Data to a Full Business Intelligence View#

M-Pesa is typically one of several revenue channels for a Kenyan SME — alongside bank transfers, Equity's Jenga POS, and sometimes Airtel Money. The full revenue intelligence picture requires combining all of these into a single dashboard. AskBiz integrates directly with M-Pesa via the Daraja API, alongside Xero, QuickBooks, and Stripe, pulling all payment sources into one analytics environment. The result is a real-time view of total daily revenue, broken down by channel, with trend analysis and anomaly detection that no manual process can replicate. For Kenyan businesses that have outgrown SMS reconciliation, this integration layer is the difference between running on gut feel and running on data.

Grow your African eCommerce business with data

Track sales across Jumia, Takealot, and your own store in one place. See which markets and products are driving real growth.

Connect my African store →
AskBiz Editorial Team
Business Intelligence Experts

Our team combines expertise in data analytics, SME strategy, and AI tools to produce practical guides that help founders and operators make better business decisions.

14-day free trial · No credit card needed

Grow your African eCommerce business with data

Track sales across Jumia, Takealot, and your own store in one place. See which markets and products are driving real growth.

Connect my African store →See pricing

Connects to Shopify, Xero, Amazon, QuickBooks, Stripe & more in minutes

Share:PostShare
← Previous
Jumia Seller Analytics: The Metrics That Separate Top Sellers From the Rest
8 min read
Next →
Best POS System for African Retail: What 200 Store Owners Actually Use
8 min read

Related articles

Africa eCommerce
Africa's Fintech Revolution: Commercial Opportunities for UK Financial Services and Technology Brands
6 min read
Africa eCommerce
Senegal eCommerce Guide: How UK Brands Access Francophone West Africa's Stable Hub
5 min read
Africa eCommerce
Africa Currency Risk Management: How UK Exporters Protect Revenue Across 54 Countries
6 min read
Africa eCommerce
Angola Trade Guide: How UK Brands Access Africa's Second-Largest Oil Economy
5 min read

Learn the concepts

Business Intelligence Basics
What Is Business Intelligence?
4 min · Beginner
Business Intelligence Basics
Metrics vs Data: What's the Difference?
3 min · Beginner
Business Intelligence Basics
What Is a Business Dashboard?
3 min · Beginner
Business Intelligence Basics
What Is a Business Pulse Score?
3 min · Beginner