MBC M-Pesa Integration Live: Real C2B and B2C Payments on Vodacom
Back to blog
Fintech 6 min read

MBC M-Pesa Integration Live: Real C2B and B2C Payments on Vodacom

MB
Anselmo Boaventura
Maputo Bridge Capital
The Nature of Wealth · Read free chapters · $19.99

The payment loop is closed. As of September 2, 2026, Maputo Bridge Capital has a fully operational M-Pesa backend integration on the Vodacom sandbox. The C2B (Customer-to-Business) payment call succeeded with response code 0 — accepted.

This is not a concept article. This is not a product specification. This is working fintech infrastructure — the same payment rails that large-scale agricultural operations use, built by one person and AI at zero marginal cost. MBC, founded by Anselmo Boaventura in Fort Worth, Texas, connects sponsors with verified smallholder farmers in Mozambique, and this infrastructure supports that mission by streamlining the flow of funds to the COJAZ cooperative in Zambezia.

What's Live Right Now

The /mpesa route is fully operational with five capabilities:

1. C2B Collection (Customer-to-Business)

Sponsors and partners push payments to the MBC business account via M-Pesa. Use cases:

  • Loan repayments — Farmer repays harvest-aligned funds by sending MZN to MBC's paybill
  • PICS bag purchases — Farmer buys Grain Saver packs via M-Pesa C2B
  • Donations — Supporters send money directly to fund farmer support
  • Marketplace payments — Buyer pays seller via M-Pesa with MBC as verification agent

2. B2C Payouts (Business-to-Customer)

MBC disburses funds directly to farmer M-Pesa wallets. Use cases:

  • Sponsorship disbursements — Approved funds land in the farmer's M-Pesa wallet to be sent to their local seed and fertilizer shop
  • Carbon credit outcomes — Future research into annual carbon revenue ($150-250/ha) paid via B2C
  • Insurance claims — Potential weather-indexed crop insurance auto-payouts triggered by B2C
  • Cooperative dividends — Potential future distributions for cooperative members

3. Transaction Status Queries

Every M-Pesa transaction can be verified in real-time. This enables:

  • Sponsor transparency — Sponsors see exact disbursement status on receipts pages
  • Audit trail — Every unit tracked from USD equivalent conversion to MZN disbursement to farmer wallet
  • Reconciliation — Automatic matching of repayments to records in the MBC ecosystem

4. Customer Name Lookup

Before any B2C disbursement, MBC queries the M-Pesa API to verify the account holder's name. This prevents:

  • Fraud — Cannot disburse to a wrong number
  • Errors — Name must match farmer record before funds leave the system
  • Compliance — Verification on both sides of every transaction

5. Auto-Persisted Webhook Callbacks

When M-Pesa processes a C2B or B2C transaction, Vodacom sends a webhook callback to MBC. This callback is automatically persisted as a Transaction record in the MBC database. No manual entry. No human intervention. The system self-documents.

The Closed Loop

Here is the complete capital flow — now operational end-to-end:

  • Sponsor gives $25 (USD)
  • MBC converts USD to MZN
  • B2C disbursement to farmer M-Pesa wallet
  • Customer name lookup verifies the recipient matches the farmer record
  • MZN lands in farmer's M-Pesa wallet
  • Farmer purchases seeds and fertilizer from their local shop
  • Satellite NDVI monitors crop growth (Sentinel-2, 10m resolution)
  • Harvest season arrives
  • Farmer sells crops at local market
  • C2B repayment: farmer sends MZN to MBC Community Fund
  • Webhook callback auto-creates Transaction record
  • Incentive alignment updates automatically
  • Capital is recycled to sponsor the next farmer

Every step in this loop is now technically possible. The infrastructure exists. The APIs respond. The database persists. The loop is closed.

Book by Anselmo Boaventura

The Nature of Wealth

How Asia climbed from poverty to wealth in one lifetime, what more than fifty thinkers teach, and a four-stage plan for Mozambique through agriculture and markets.

Read free chapters

PDF ebook, instant download. $5 of every copy buys seed for a farmer.

Why This Matters

For Sponsors

You can now verify that your funds reach the local seed and fertilizer shop serving a real farmer's community. Through our documentation process, you receive field photos and receipts for the inputs purchased. This creates a transparent record where your contribution is clearly documented within the MBC ecosystem, ensuring accountability in every transaction.

For Farmers

A farmer with an M-Pesa wallet—which millions of Mozambicans already use—can now receive support for their agricultural inputs and manage repayments through their phone. No bank account is required, and there is no need for complex paperwork or travel to Maputo. The phone in their pocket functions as their primary financial tool for participating in the local agricultural economy.

For the Market

Mozambique has three mobile money networks—M-Pesa (Vodacom), e-Mola (Movitel), and mKesh (Tmcel)—serving a vast user base processing billions of dollars annually. MBC is now integrated with the largest of these networks, enabling efficient movement of capital directly to the verified shops where farmers source their materials.

For the Future of Agriculture

While major firms globally have explored advanced technologies like satellite credit scoring, commodity exchanges, carbon credits, drone surveys, IoT sensors, voice interfaces, and zero-knowledge verification, these represent powerful research directions for the future of rural development. These technologies could one day revolutionize how Mozambican agriculture scales. MBC focuses on the current infrastructure that makes modern digital payments possible, building a foundation that could eventually host these advanced agricultural tools to benefit smallholder farmers.

Technical Architecture

The M-Pesa integration follows Vodacom's Daraja API standard:

  1. Authentication — OAuth token exchange with Vodacom sandbox
  2. C2B Registration — MBC paybill registered to receive customer payments
  3. C2B Payment — Customer initiates payment via USSD or M-Pesa app
  4. B2C Disbursement — MBC initiates payout via API call
  5. Webhook Callback — Vodacom sends transaction result to MBC endpoint
  6. Auto-Persistence — Webhook payload parsed and saved as Transaction entity

All transaction data flows into the MBC Transaction entity, which feeds:

The Smallholder Farmer's Season

For a smallholder farmer working with the COJAZ cooperative in Zambezia, this digital integration means a more reliable supply chain during the planting season. By ensuring that sponsorships reach local seed and fertilizer shops directly, the farmer spends less time worrying about logistics and more time focusing on crop management. Once the harvest is complete, the farmer contributes back to the Community Fund, which supports the next farmer in the cycle, ensuring a sustainable flow of resources throughout the agricultural year.

Frequently asked questions

Q: What is M-Pesa? A: M-Pesa is a mobile money service provided by Vodacom that allows users to send, receive, and store money using a mobile phone, serving as a primary financial tool for millions in Mozambique.

Q: How does the payment integration work for the cooperative? A: The system uses standard API protocols to authenticate, process, and verify transactions, allowing for digital disbursements that reach the shops where farmers obtain their essential agricultural supplies.

Q: Does this system require a bank account? A: No, the mobile money integration is designed specifically to function through mobile phones, meaning farmers do not need traditional bank accounts to participate in the agricultural supply cycle supported by MBC.

The Bottom Line

Maputo Bridge Capital, founded by Anselmo Boaventura in Fort Worth, Texas, has evolved into a platform that connects sponsors with verified smallholder farmers in Mozambique through the COJAZ cooperative. We work to ensure that 92% of every contribution reaches the local seed and fertilizer shop, while 8% covers verification and documentation. By utilizing modern digital infrastructure, we facilitate a transparent process where sponsors receive verification of their support. The bridge is open, and we invite you to support a farmer from $25 at /sponsor-a-farmer-mozambique. Please note that sponsorships are gifts, not investments, and are not tax-deductible.

Planting with the November rains

Help Arsénio M. plant maize in Mocuba this season

From $25. Your gift buys seed and fertilizer at Arsénio's local seed shop, and you get the receipt and field photos.

Meet Arsénio

Gifts, not investments. See every sponsorship live.

Partilhar este artigo

Get Mozambique Agriculture Insights

Join sponsors and farmers getting farmer stories, market notes, and updates on where every dollar goes.

No spam. Unsubscribe anytime. We respond within 24 hours.

MBCMaputo Bridge CapitalM-PesaMozambiqueagricultural fintechsmallholder farmersVodacomCOJAZ

Get one farmer story a month

— and see where every dollar goes.

Discussion (0)

Be respectful. Comments are moderated.

No comments yet. Be the first to start the discussion.

Ready to sponsor a farmer?

Your gift goes straight to the farmer's seed shop, and you get the receipt. Sponsorships are gifts, not investments.

Last updated: October 17, 2026