Payment Orchestration Architecture: Multi-Gateway Resilience
A technical guide to designing payment orchestration layers that route transactions across multiple gateways for resilience, cost optimisation, and regional coverage — built for e-commerce and fintech engineering teams.

Payment failures are rarely about the customer's card. More often they're about a single point of failure somewhere in the payment stack — a gateway outage, a processor's regional latency, or an issuer decline rule that a different acquirer would have approved. For e-commerce and fintech scale-ups processing meaningful transaction volume, routing every payment through one gateway is an architectural risk, not a simplification.
What is payment orchestration?
Payment orchestration is the practice of inserting a routing and management layer between your checkout or payment-initiation flow and the underlying payment gateways, acquirers, and processors. Instead of integrating directly with one provider, your application talks to an orchestration layer that decides, per transaction, which gateway to use, retries failures intelligently, and normalises reporting across providers.
The orchestration layer typically sits behind your existing checkout or billing service. It doesn't replace your gateways — it sits in front of several of them and makes the routing decision that a single-gateway integration can't make.
Why do scale-ups need multi-gateway routing?
Scale-ups outgrow single-gateway architecture for three reasons: resilience, cost, and coverage. A gateway outage with no fallback means lost revenue during the outage window. A single processor's interchange and scheme fees may not be competitive for every card type or region. And a gateway optimised for one market often has weaker authorisation rates or no local acquiring relationships in others.
These pressures tend to show up together. A fintech expanding into New Zealand discovers its primary gateway has thinner local acquiring and higher decline rates there. An e-commerce platform scaling transaction volume discovers its blended processing cost could be lower by routing high-value or specific card-scheme transactions to a different acquirer. Neither problem is solved by switching providers — both are solved by running more than one and routing intelligently between them.
What does a payment orchestration layer look like?
A payment orchestration layer is composed of a routing engine, a set of gateway adapters, a transaction state store, and a reconciliation and reporting service that normalises data across providers. Each component has a distinct job, and the boundaries between them matter more than the specific vendors you plug in.
| Component | Responsibility | Common failure mode if missing |
|---|---|---|
| Routing engine | Decides which gateway handles each transaction based on rules (cost, region, health, card scheme) | All traffic hard-coded to one provider; no failover |
| Gateway adapters | Normalise request/response formats across providers | Tight coupling; every gateway change touches checkout code |
| Transaction state store | Tracks transaction status, retries, and idempotency keys | Duplicate charges or lost transaction records on retry |
| Reconciliation service | Matches settlement data back to orders across providers | Finance team manually reconciling multiple statements |
| Health monitoring | Tracks gateway latency, decline rates, and uptime in near real time | Routing decisions made on stale or no data |
How should routing logic actually decide where a transaction goes?
Routing logic should combine static rules with dynamic health signals, not rely on either alone. Static rules handle known constraints — route AMEX to the acquirer that supports it, route NZD transactions to a provider with local acquiring. Dynamic signals handle the unknowns — if a gateway's decline rate or latency spikes in the last few minutes, shift new traffic away from it before customers notice.
A practical routing hierarchy usually looks like: first, hard constraints (currency, card scheme, regulatory requirement); second, cost optimisation within the remaining valid providers; third, real-time health as a circuit breaker that can override the first two when a provider is degraded. Getting this ordering wrong — for example, optimising for cost before checking health — is a common cause of orchestration layers that technically work but still produce customer-facing failures during an outage.
How do you handle resilience and avoid duplicate charges?
Resilience in payment orchestration depends on idempotency keys, circuit breakers, and clear retry semantics — without all three, retries meant to improve reliability can instead create duplicate charges or orphaned transactions. Idempotency is non-negotiable: every transaction attempt needs a stable key so that a retried request against the same or a different gateway doesn't result in two charges.

Circuit breakers should trip on a combination of error rate and latency, not just hard failures — a gateway returning slow successes is often a worse experience than one failing fast. When a circuit trips, the orchestration layer needs a clear fallback path: retry on an alternate gateway, queue for later, or fail gracefully with a customer-facing message, depending on the transaction type. Subscription billing and one-off checkout often warrant different fallback strategies, and that distinction should be explicit in your routing rules rather than handled ad hoc.
What about reconciliation and reporting across providers?
Reconciliation gets harder, not easier, with multiple gateways, because each provider has its own settlement timing, fee structure, and reporting format. A normalised data layer that maps every provider's settlement file back to a common transaction and order ID is what makes multi-gateway orchestration operationally sustainable for finance teams, rather than a reconciliation burden that grows with every new provider added.
This is fundamentally a data engineering problem as much as a payments one — you're building a pipeline that ingests heterogeneous settlement data on different schedules and produces a single source of truth. Teams that treat this as an afterthought tend to end up with finance staff manually cross-referencing spreadsheets each month, which doesn't scale past a couple of providers. Solid data infrastructure underpins reliable reconciliation just as much as it underpins analytics.
What compliance considerations apply in Australia?
Australian payment orchestration must account for PCI DSS scope, the Reserve Bank of Australia's least-cost routing requirements for eligible debit transactions, and — for regulated fintechs — APRA or AUSTRAC obligations depending on licence type. The RBA has actively pushed merchants and acquirers toward enabling least-cost routing on domestic debit card transactions, which is itself a routing decision your orchestration layer should be able to support rather than hard-code around a single scheme preference.

Where your orchestration layer touches card data directly rather than tokenising at the point of capture, PCI DSS scope expands significantly. Tokenisation at the earliest point in the flow — ideally before data reaches your own infrastructure — keeps scope contained and is worth treating as a design constraint from day one, not a retrofit.
Should you build or buy a payment orchestration layer?
There are mature third-party orchestration platforms, and for many teams integrating one is faster than building from scratch — but the decision should be based on how specific your routing logic, regional coverage, and existing gateway contracts are, not on orchestration being inherently a build-it-yourself problem. Off-the-shelf platforms work well when your requirements map closely to common patterns. Custom builds make more sense when you have unusual regional coverage needs, existing processor relationships you want to keep, or routing logic tied closely to your own risk and fraud models.
Either way, the underlying principles — idempotency, health-based routing, normalised reconciliation — don't change. What changes is how much of that plumbing you write versus configure. This is the kind of architecture decision worth working through with engineers who've built production payment systems before, not just evaluated vendor demos — it sits close to the kind of application modernisation and AI engineering work we do when teams are re-architecting critical transaction paths rather than bolting features onto a legacy core.
Getting started
If your team is weighing up a multi-gateway orchestration layer, start with a focused architecture review: map your current gateway dependencies, quantify where outages or decline rates have cost you revenue, and identify the regional or cost-optimisation gaps a second provider would actually close. That scoping exercise is cheaper and faster than a full build, and it tells you whether off-the-shelf orchestration or a custom layer is the right call. You can find more architecture and engineering guidance like this in our insights.
If you're exploring payment orchestration for your platform, we can help — we work with e-commerce and fintech engineering teams on exactly this kind of critical-path architecture.
Chris Kerr
Partner at Horizon Labs, an AI product consultancy and venture studio. A commercially focused product and technology leader with 20+ years building and scaling digital platforms, teams, and businesses across SaaS, travel, eCommerce, logistics and transport, and digital marketing — operating at the intersection of product, engineering, and data. Writes about platform strategy, AI transformation, modern data ecosystems, and the operational discipline that separates AI demos from AI products.


