
The Case from Our Experience: Teaching Smart Routing to Avoid Unnecessary “Push-ups”
How we sped up Smart Routing for a high-volume PSP with preconditions, so rule checks stopped causing acquirer timeouts.

Modular payments is a way of building payment infrastructure in which each function (gateway, routing, tokenization, fraud screening, 3-D Secure, payouts, reconciliation and reporting) runs as an independent, API-connected component that can be added, scaled or replaced without rebuilding the rest of the stack. It is the opposite of a monolithic, all-in-one payment system, and it is usually paired with an orchestration layer that decides which component or provider handles each transaction. It matters most to payment service providers, acquirers, banks and platforms that need to add acquirers, payment methods or markets without re-platforming.
Not to be confused with: Modulr, a UK payments company whose name plays on the word; modular (or composable) banking, which applies the same idea to core-banking functions such as accounts and lending; or “modular” in-store payment setups for physical shops. This article is about online payment acceptance infrastructure.
A modular payment platform is a payment processing system built with independent functional components that can operate separately while working together as a cohesive whole. Each module handles a specific function and can be scaled, updated or modified without affecting the entire system.
Think of it as a Lego set rather than a single carved block. Each brick has one job, bricks connect through standard interfaces (APIs), and you can add, swap or remove a brick without taking the model apart. You will also see the same idea called a composable payment stack, and individual parts called payment modules.
Modular payments are related to, but not the same as, two neighbouring ideas. Modular banking breaks a bank’s core (customer records, accounts, lending, compliance) into components. Embedded payments put payment acceptance inside non-financial software, and modular payment infrastructure is often what powers them. For how software companies use that, see our guide to the SaaS payment platform and embedded payments for SaaS.
Vendors draw the boundaries slightly differently, but most modular stacks for online payments include these components:
| Component | What it does |
|---|---|
| Gateway and acquirer connectors | Accept the transaction from checkout or API and pass it to banks, acquirers and payment-method providers, one connector per partner. |
| Routing | Chooses which acquirer or provider handles each transaction, by rules such as card BIN, country, currency or amount, with fallback when a route fails. |
| Tokenization and card vault | Replaces card numbers with tokens and stores cards securely for recurring and one-click payments. A tokenization module with network tokens also keeps stored cards current. |
| Fraud and risk | Scores transactions, applies risk rules and checks card history before authorisation, for example with card-history checks across a processing network. |
| 3-D Secure | Runs customer authentication (frictionless or challenge) for SCA and liability shift. A standalone 3DS server can be swapped or tuned without touching routing. |
| Payment methods | Cards, wallets, bank transfers and local methods, each added as its own connector. |
| Payouts | Sends funds to merchants, sellers or customers, including split payments on marketplaces. |
| Chargebacks and disputes | Tracks disputes, evidence and deadlines. |
| Reconciliation and settlement | Matches transactions with acquirer settlement files and bank statements, and syncs results with accounting and ERP systems. |
| Reporting and analytics | Approval rates, costs, chargebacks and balances across every provider in one view. |
| Merchant onboarding and KYC | Collects and verifies merchant data before they can process (for PSPs and platforms). |
A useful way to picture how these fit together is as layers, from the customer down to the money:
“Modular” describes how a payment stack is built. “Orchestration” describes the control layer that routes transactions across components and providers. An orchestrator does not process payments itself: it decides where each payment goes and makes the best use of the providers you already have. In practice the two go together, because orchestration is what makes a modular stack work as one system, and orchestration platforms are themselves usually built from modules. For a side-by-side of the two approaches, read payment orchestration vs traditional gateways.
| Criteria | Monolithic | Modular | Orchestrated | In-house build |
|---|---|---|---|---|
| Structure | One vendor, bundled functions | Independent, swappable components | Control layer routing across components and providers | Your own code for every function |
| Adding a provider or method | Only what the vendor supports | Add a connector or module | Add a provider and a routing rule | Build each integration yourself |
| Switching cost | High: re-platforming | Low: replace one module | Low, if tokens are portable | Low lock-in, high build cost |
| Scalability | Scales as a whole | Scale only the busy modules | Spreads load across providers | Depends on your engineering |
| Complexity | Lowest to start | Medium: more interfaces to manage | Medium to high | Highest |
| Typical fit | Small, single-market merchants | PSPs, acquirers, banks, platforms | Multi-acquirer, multi-market businesses | Very large companies with payments teams |
Routing is the part of orchestration most teams start with. Our guides explain how payment routing works and what intelligent payment routing adds when rules are driven by real-time approval and cost data.
Modular payments are one application of composable architecture, which became a mainstream term in commerce after Gartner’s June 2020 research. MACH stands for Microservices, API-first, Cloud-native and Headless. The MACH Alliance describes MACH as a specific subset of composable architecture.
Replace a fraud engine, acquirer or 3DS provider without migrating everything else. You pay for the modules you use, not a bundle.
New payment methods, acquirers and markets are added as connectors, not projects that touch the whole platform.
Add local methods, local acquirers and multi-currency processing market by market.
A dedicated reconciliation module connected to accounting and ERP systems cuts manual matching and improves cash-flow visibility.
Busy components scale on their own, so you do not have to scale the whole system for one bottleneck.
Updates and failures stay inside one module instead of taking down the platform.
For a payment service provider, scalability and uptime are the strongest arguments for modularity. Transaction volume keeps growing, and any downtime means lost revenue and damaged trust. beGateway, the white-label platform eComCharge runs for online PSPs, uses a modular architecture, and it shows how each benefit works in practice:
Uptime also depends on things outside the software, such as hosting providers, connectivity and the people operating the system. Still, we attribute much of that 99.9%+ average to the modular structure. The same architecture sits behind our white-label payment gateway for PSPs and acquirers, along with smart routing with rule-based fallback.
Modularity moves complexity rather than removing it. Before you split a payment stack into modules, weigh these costs:
A small merchant selling in one market with one acquirer usually gains little from modularity and is better served by a bundled payment provider. Modularity pays off when you have several acquirers or markets, change providers often, or sell payments as a product.
Most teams do not rebuild everything at once. They replace the monolith piece by piece, starting where the pain is greatest:
Keep monitoring, security and reconciliation running across both paths throughout, and plan for multi-currency and new markets early so later modules fit without rework.
Modular payments are a way of building payment infrastructure from independent, API-connected components, such as gateway, routing, tokenization, fraud, 3-D Secure and payouts, each of which can be added, scaled or replaced without rebuilding the rest of the stack.
A modular payment platform is a payment processing system built with independent functional components that can operate separately while working together as a cohesive whole. Each module handles a specific function and can be scaled, updated or modified without affecting the entire system.
Modular payments describe how a stack is built: from swappable components. Payment orchestration is the control layer that routes each transaction across those components and across providers. An orchestrator does not process payments itself, and most orchestration runs on top of a modular stack.
Modular and composable payments mean the same thing in practice: a payment stack assembled from interchangeable, API-connected parts. MACH (Microservices, API-first, Cloud-native, Headless) is a specific set of architecture principles that the MACH Alliance describes as a subset of composable architecture.
No. Modulr is the name of a UK payments company, while modular payments is a general architecture concept used by many providers.
Modular payments apply the component approach to payment acceptance and processing: gateway, routing, tokenization, fraud, payouts. Modular banking applies it to a bank’s core functions, such as customer records, accounts, lending and compliance.
They can. You manage more interfaces and often more vendors, and you need consolidated reporting and monitoring. In return you avoid paying for unused bundled features and expensive re-platforming. For a small, single-market merchant a bundled provider is often simpler and cheaper.
Individual components can be updated, maintained or scaled without shutting down the whole system, and a failing module can be isolated while the rest keeps running. When a module reaches capacity, identical modules are added in parallel. Across beGateway platforms this approach supports an average uptime above 99.9%.