When you should not build your own payment system
Building it yourself is not the same as being in control. Licensing, dependencies, staffing and asymmetric failure costs, plus the order to judge them in.
“Let’s build our own payment system” sounds like control in a kickoff meeting. But payments are not a software feature; they are a chain that depends on licensed institutions, clearing networks and banking relationships. The part you can write code for is often not the part that decides whether it works.
This is not an argument against ever building. It is an order of judgement: first what you legally cannot do yourself, then what is not worth doing even when you can, and only then the engineering.
“Building it” usually means three different things
Before the discussion, separate the scopes. “Building a payment system” can mean:
Building the checkout and order layer. You own the pages, orders, callbacks and reconciliation views, while a licensed acquirer handles the funds. This is what most companies actually need, and it carries the least risk.
Building the provider integration layer. You connect several acquirers and wallets yourself, with routing, fallback, retries and a unified state. Technically feasible, but you inherit every provider’s differences and operational quirks.
Building the money handling. You hold a licence or operate under one, connect to card networks or clearing systems directly, and run authorization, clearing, settlement and safeguarding yourself. That is a different industry, not a different project.
Conflating the three produces a specific failure: believing you are doing the first while promising the responsibility of the third.
The first gate: what you legally cannot build
Fund collection, payment accounts, prepaid instruments, cross-border collection and payout, and currency exchange require a licence, or a partnership with someone who holds one, in nearly every jurisdiction. Without it, what you may do is usually limited to passing information to the licensed party and recording the outcome.
This boundary is not technical, and no amount of architecture changes it. Collecting customer funds into your own account before forwarding them can constitute unlicensed activity even if the system itself is impeccable.
So the first question is: is there a licensed entity in the middle carrying the funds liability? If not, the plan does not stand and there is no point discussing technology. Applicable rules depend on local regulation and professional advice; nothing here is legal advice.
The second gate: dependencies you do not hold
Even where the law allows it, much of the chain stays outside your control: network admission, merchant accounts at acquirers, settlement accounts at banks, clearing windows, and each party’s incident process.
These dependencies share one property — you cannot solve them with overtime. A provider that does not settle large amounts at weekends, an issuer risk engine whose rules are not published, a bank that needs additional documents before releasing funds: none of that is within the engineering team’s reach.
That changes how the value of building is calculated. What you buy is one less intermediary. What you pay is carrying all of that uncertainty alone. If the team cannot keep tracking those external changes, building increases the failure surface rather than reducing it.
The third gate: staffing is ongoing cost, not a one-off
Launch is the beginning. Every year afterwards brings provider API changes, network rule updates, chargeback ratios and evidence deadlines, reconciliation differences, regulatory reporting, and funds anomalies that appear without warning.
That requires someone present over time, not a system handed to a part-time maintainer after the project ends. A common imbalance: three engineers at launch, nobody owning reconciliation differences afterwards, and six months later a backlog nobody can explain.
A direct question for the decision meeting: over the next twelve months, who owns reconciliation differences and chargeback evidence? If there is no name, the money handling layer should not start.
The fourth gate: failure costs are asymmetric
The upside of building is saved provider fees. The downside is that errors are yours. That asymmetry is sharp in payments.
Under-collecting is lost revenue. Over-recording is books that do not match reality. Double charging is complaints and compliance exposure. Frozen funds are a halted business. The magnitude of those outcomes dwarfs the fee difference.
A practical test: write down what happens at worst if this amount is calculated wrongly. If the answer involves customer funds, regulatory reporting or a licence, the first line of responsibility belongs with a licensed party.
When building does make sense
There are clear cases for building:
- Volume is large enough that fee differences clearly exceed team cost;
- The business model is unusual and standard products cannot express it, for example custom routing or split settlement;
- A licensed entity or a stable licensed partner is already in place and the legal boundary is clear;
- The team includes people who understand clearing and accounting, not only API integration;
- You are willing to staff reconciliation, refunds and chargebacks for the long run.
If two or more of those are missing, it usually means the money handling layer is premature and the effort belongs in the checkout and data layers instead. For checkout design, see integrating a virtual card platform and what to prepare for cards, acquiring and payouts; for the whole chain, read the payment stack end to end.
If you are assessing where the boundary sits, gather your business model, target markets and existing licences, and let’s judge how far to build.
Comments —