What Payments Infrastructure Actually Does

A short field guide for people outside the industry

4 min read810 words

People outside the industry usually assume payments means moving money from one account to another. That is the visible part, and it is the smallest part. Most of the actual work is invisible: reconciling who owes whom, deciding what happens when something fails halfway through, and proving after the fact that a transaction was authorized, settled, and recorded correctly.

The distinction matters because it explains why payments companies employ so many people to do things that sound, from the outside, like they should already be solved. Moving a number from one database to another is trivial. Agreeing on what that number means, across institutions that do not trust each other and do not share a database, is not.

Three problems underneath every payment

The first problem is authorization. Was this transaction allowed to happen at all? That question involves the cardholder’s bank, the merchant’s bank, the network (Visa, Mastercard) in between, and a set of rules that differ by geography, product, and merchant category. An authorization decision has to be made in under a second, with incomplete information, and it has to be defensible months later when someone disputes it.

The second problem is settlement. Has value actually moved between the correct parties? Authorization is a promise; settlement is the fulfilment of that promise, and the gap between them is where most of the interesting complexity lives. A transaction can be authorized on Monday and settled on Wednesday, and a great deal can happen in between.

The third problem is reconciliation. Can every party independently verify that the first two things happened correctly? This is the part that outsiders almost never think about, and it is the part that consumes the most engineering effort. Each institution keeps its own books. Those books have to agree. When they do not, someone has to find out why.

A system can get authorization right and still fail on reconciliation. Many outages that get reported as payment failures are really reconciliation failures that only became visible days later, when two ledgers were compared and found to disagree.

Why the failures are interesting

The interesting failures happen between states, not within them. A transaction that is authorized but never settled is stuck in a way that no single system is responsible for resolving. The merchant thinks it has been paid. The customer sees a pending charge. The acquiring bank has a record that does not match the network’s record. Nobody is wrong, exactly, and nobody can fix it alone.

This is why payments teams tend to be structured around exceptions rather than the happy path. The happy path is well understood and heavily automated. The exceptions are where the work is, and the exceptions do not follow a schedule.

It is also why the industry accumulates so much process. Every settled dispute becomes a rule. Every rule becomes a check. Every check becomes a thing that can itself fail. The accumulated weight of these mechanisms is what people mean when they say payments infrastructure is legacy, but legacy is not quite the right word. Most of it is scar tissue.

The layers do not separate cleanly

It is tempting to draw a diagram with clean layers: network rails at the bottom, ledger above that, compliance on top. The diagram is useful for explanation and misleading for engineering.

The layers do not separate cleanly because none of them is purely a technology problem. Each one is a technology problem wrapped around a legal and financial one. Whether a transaction should be declined is not something you can determine from the transaction alone. Whether a ledger entry is correct depends on accounting conventions that vary by jurisdiction. Whether a retry is safe depends on guarantees the network may or may not provide.

This is why payments teams usually include people who think about law and accounting as seriously as they think about systems, and why hiring only for distributed systems expertise tends to produce software that works beautifully until it meets an actual regulator.

What this means in practice

If you are building on top of payments infrastructure, the useful mental model is not a pipe. It is a negotiation between parties with different records, different incentives, and different tolerances for delay.

The practical consequences follow from that. Design for the transaction that does not complete, because those are the ones that will occupy your time. Assume that any two systems will eventually disagree, and build the tooling to find out where. Treat reconciliation as a first-class product concern rather than an operational afterthought, because by the time it becomes visible it has usually been broken for a while.

None of this is a criticism of the industry. The remarkable thing about payments is not that it occasionally fails. It is that a system this fragmented, spanning this many institutions, works as reliably as it does.