Skip to content

What Payment Integration Really Costs: Fees, Setup and Hidden Charges

The sticker price of a payment integration is the small part. The real cost is the percentage skimmed from every transaction, forever - plus the charges nobody mentions until they hit your statement.

By Karani Geoffrey, Founder & CEO, Upeosoft
In short

Payment integration has two kinds of cost: one-off (development and setup) and ongoing (a fee on every transaction, forever). For most businesses the recurring transaction fees dwarf the build cost over time. The full picture also includes B2C payout charges, settlement timing, gateway margins, maintenance, and the hidden cost of an unreliable integration that loses payments.

Key takeaways
  • Payment costs split into one-off (build and setup) and ongoing (per-transaction fees) - the ongoing usually dominates.
  • M-Pesa collection carries Safaricom's tariff; B2C payouts add a separate per-transaction charge the business bears.
  • Gateways add their own percentage on top of the underlying rail's cost - convenient, but recurring forever.
  • Cards cost more per transaction than M-Pesa and add chargeback and PCI considerations.
  • The hidden costs: settlement delays on cash flow, maintenance, and payments lost by an unreliable integration.
  • At scale, a percentage fee can exceed the cost of building direct - which is when in-housing pays off.

The price you see is the small number

When businesses budget for accepting payments, they ask 'what does it cost to build?' That is the wrong question to lead with, because the build is usually the small number. The large number is the fee skimmed from every transaction, every day, for as long as you accept payments.

A payment integration is not a purchase, it is a subscription to a percentage of your revenue. Understanding the full cost - one-off and ongoing, visible and hidden - is what lets you choose a setup that fits your economics instead of quietly eroding your margin for years.

One-off costs: build and setup

The upfront cost is the work to get payments flowing: registering with the provider, integrating the collection flows (STK Push, C2B) and any payouts, wiring reconciliation into your books, securing it properly, and going through the provider's go-live process.

This scales with complexity. Taking a few payments through a gateway is modest. A direct multi-channel integration with payouts, reconciliation into an ERP, and production hardening is a real project. But whatever the figure, it is paid once. It is the ongoing costs, not this, that usually determine whether your payment setup is a good deal over its life.

Ongoing costs: the fee on every transaction

This is the cost that compounds. Every payment carries a charge, and the sources stack up.

  • M-Pesa collection tariffs applied by Safaricom on transactions.
  • B2C payout charges, borne by your business, on every disbursement you send.
  • Gateway or aggregator margin - a percentage on top of the underlying rail, if you use one.
  • Card processing fees, typically higher per transaction than M-Pesa, plus chargeback costs.
  • Bank API and transfer charges for payments moved through bank rails.

Who actually bears the charge

A detail that quietly decides your margin: for some transactions the customer pays the charge, for others your business does - and B2C payouts are always a cost to you. If you absorb transaction costs without pricing for them, they come straight off your profit on every sale.

So the question 'what does M-Pesa cost' is really 'which of these charges land on us, and have we priced for them?' Businesses that map this out set prices that cover their payment costs. Businesses that assume the customer always pays discover, at scale, that a slice of every sale has been leaking to transaction fees they never accounted for.

The hidden costs nobody quotes

Beyond the visible fees sit costs that never appear on a quote but are just as real. Settlement timing is one: money that takes days to move from your payment account to your bank is cash you cannot use, which has a genuine cost to your working capital. Maintenance is another: APIs change, certificates expire, providers update requirements, and keeping an integration reliable is ongoing work, not a one-time build.

And the largest hidden cost of all is unreliability. An integration that silently drops payments, double-counts them, or fails to reconcile does not send you a bill - it just loses you money you never notice, or forces expensive manual reconciliation forever. A cheap integration that leaks payments is the most expensive kind.

The volume calculation that changes everything

The single most useful thing you can do is turn this into arithmetic. Estimate your monthly transaction volume, apply the percentages you are paying, and annualise it. That number - the fee you hand over every year - is what you compare against the one-off cost of building a more direct, lower-fee setup.

At low volume, the recurring fee is small and a gateway's convenience wins easily. At high volume, that annual fee can exceed the cost of building direct for your biggest channel, meaning every month you delay is money given away. The crossover point is real, and reaching it is normal as a business grows. Knowing roughly where you sit turns payment cost from an invisible drain into a decision you can make on purpose.

How Upeosoft helps you control payment costs

We help you see the whole cost - build, transaction fees, payout charges, settlement, maintenance - and design a setup that fits your volume rather than defaulting to whatever is easiest to switch on. For lower volumes that often means a gateway; as you scale, it can mean bringing your highest-volume channel direct to cut the recurring fees, behind an architecture that makes switching painless.

We also eliminate the biggest hidden cost by building integrations that reconcile reliably, so you are not losing payments to leaks. If you want payments that cost less over their life, talk to Upeosoft.

Frequently asked questions

How much does it cost to integrate M-Pesa?

There are two figures. The build - registering, integrating STK Push and C2B, wiring reconciliation and going live - is a one-off cost that depends on complexity. Then there are the transaction tariffs Safaricom applies to payments, and for payouts a separate B2C charge the business bears. The Daraja API itself is not a per-month product fee, but the transaction costs are ongoing and, over time, usually far larger than the build.

Are payment gateway fees worth it?

At low and moderate volume, almost always - a small percentage per transaction buys you multi-channel acceptance, card handling and far less to build. At high volume, that same percentage becomes a large recurring cost, and building direct for your biggest channel can save more than it costs. Worth it is a function of your volume: run the arithmetic rather than assuming, because the crossover is real and reaching it is common as businesses grow.

What hidden costs do businesses miss?

Several. Settlement delays tie up your cash for days, which has a real cost to cash flow. B2C payout charges are borne by you, not the recipient. Gateway fees are net of your revenue and easy to underestimate at volume. Maintenance - keeping the integration reliable as APIs and certificates change - is ongoing. And the biggest hidden cost is an unreliable integration that silently loses or double-counts payments, which can dwarf every visible fee.

Do customers or the business pay M-Pesa charges?

It depends on the transaction type and how it is configured. For some collection scenarios the customer bears a charge; for others, and for B2C payouts, the business does. This matters for pricing: if your business absorbs the transaction cost, it comes straight off your margin, so you need to know which charges land on you and factor them into your prices. Assuming the customer always pays is a common and expensive mistake.

When does building direct become cheaper than a gateway?

When the percentage a gateway takes on your volume, over a year, exceeds the one-off cost of building direct plus its maintenance. For a low-volume business that point may never come. For a high-volume one it can arrive within months, after which every day on the gateway is money handed to a middleman. The way to know is to project your annual transaction fees and compare - a calculation worth doing before you scale, not after.

Karani Geoffrey
Karani Geoffrey
Founder & CEO, Upeosoft

Karani Geoffrey is the Founder & CEO of Upeosoft, a software and automation company rooted in Kenya. He builds custom software, AI systems, and production-grade ERPNext for businesses across East Africa, and writes about the Kenyan realities - eTIMS, M-Pesa, SHIF, unreliable internet and power - that make or break real systems.

Next step

Want this working in your business?

Upeosoft builds and hardens the systems behind this article - for real Kenyan operations, with eTIMS, M-Pesa and offline realities handled.

Keep reading

Kenyan Compliance and Integrations

Payment Gateway or Direct Integration? When Each One Makes Sense

A gateway lets you accept M-Pesa, cards and banks through one integration - for a cut of every transaction. Going direct costs less per shilling but more to build. Here is how to choose.

6 min readRead article →
Kenyan Compliance and Integrations

How to Integrate the M-Pesa Daraja API Into Your System

The Daraja API is Safaricom's official gateway to M-Pesa. This is the practical path from developer credentials to a live, reconciling integration - and the pitfalls along the way.

6 min readRead article →
Kenyan Compliance and Integrations

Connecting Payments to Your Accounting System So the Ledger Updates Itself

Accepting a payment is only the first half. If it does not land in your books automatically, you have just moved the manual work from the counter to the accountant's desk. Here is how to close the loop.

7 min readRead article →