Payment Gateway Architecture Explained: A Technical Guide for Banks and PSPs
A payment gateway for a bank or payment service provider (PSP) must do more than transmit payment requests. It must connect merchant applications, acquiring infrastructure, authentication services and operational systems while maintaining reliable control over the payment lifecycle.
For financial institutions evaluating new payment gateway software, the architectural question is not simply which features a platform offers. It is which components the institution needs to operate, which existing systems can be retained and where custom integration or development is required.
This guide explains payment gateway architecture from both technical and procurement perspectives, with particular attention to acquiring banks, PSPs and card processors.
A modern payment gateway combines merchant connectivity, payment orchestration, authentication, transaction management and operational services. An acquiring back office extends this architecture with reconciliation, billing, merchant balances and settlement-related processes.
These components can be acquired as modular software rather than developed entirely from scratch.
Payment gateway vs payment processor vs acquirer
These terms describe different functions within card payment infrastructure. Understanding their boundaries is essential when evaluating a white-label payment gateway software vendor.
| Component | Primary responsibility | Technology boundary |
|---|---|---|
| Payment gateway | Merchant connectivity, payment lifecycle management and communication with downstream payment systems. | Connects merchant applications to acquiring or processing infrastructure. |
| Payment processor | Transaction processing and connectivity to relevant payment networks. | Processes payment messages within the applicable acquiring or issuing architecture. |
| Acquirer | Merchant acquiring relationships and associated financial and regulatory responsibilities. | Provides acquiring services under the applicable commercial and scheme arrangements. |
| Payment orchestration | Provider selection, routing and coordination across multiple payment connections. | Can operate as a gateway capability or a separate technology layer. |
| 3D Secure | Cardholder authentication for applicable online card transactions. | Separate authentication components integrated with the payment flow. |
| Acquiring back office | Merchant pricing, reconciliation, reporting and settlement operations. | Financial and operational processing outside the critical checkout path. |
A bank may already operate a card processing platform and maintain direct acquiring relationships but still require dedicated e-commerce gateway software.
In this scenario, the bank does not necessarily need a replacement card processor. It needs a gateway technology layer capable of connecting to its existing infrastructure.
Four layers of payment gateway architecture
A modular architecture separates merchant connectivity, supporting payment services, transaction execution and shared operational capabilities.
Layer 1: Channel and integration
The channel layer connects merchant websites, mobile applications and commerce platforms to the payment gateway.
Typical integration options include REST and SOAP APIs, hosted payment pages, mobile payment SDKs, CMS plugins and custom checkout interfaces.
Its architectural purpose is to translate different merchant integration methods into a consistent internal payment model. Payment state and financial decision logic should remain controlled by server-side systems rather than duplicated across client applications.
Layer 2: Payment and partner services
This layer provides supporting services such as risk assessment, EMV 3D Secure authentication, payment provider connectivity and merchant configuration.
Provider-specific differences should be isolated through integration interfaces so that the core payment engine does not require extensive changes every time another acquiring connection is introduced.
Merchant portals and reporting interfaces should also be designed so that operational queries do not unnecessarily delay live payment requests.
Layer 3: Core payment engine
The core engine manages valid payment state transitions, including creation, authentication, authorisation, capture, reversal, cancellation and refund.
It also applies routing rules, coordinates provider selection and handles payment outcomes. Where multiple acquiring connections are available, routing must account for merchant eligibility, card type, currency, authentication requirements and provider capabilities.
A reliable transaction state model is fundamental to preventing duplicate operations and maintaining consistent downstream financial records.
Layer 4: Shared operational services
Tokenisation, monitoring, administrative access, audit logging, configuration management and operational analytics support multiple parts of the payment platform.
The token vault is a shared security-sensitive service. Monitoring, encryption, access control, recovery and infrastructure resilience must also be considered across all relevant components rather than confined to one architectural layer.
How payment gateway software integrates with existing banking infrastructure
For an established bank, payment infrastructure modernisation should begin with an inventory of existing technology and the responsibilities assigned to each system.
The objective is to identify where new gateway software adds value without unnecessarily replacing stable processing and financial components.
| Existing system | Potential gateway integration | What to verify |
|---|---|---|
| Card processing platform | Authorisation and transaction lifecycle interfaces. | Message formats, status mapping and transaction identifiers. |
| Acquiring infrastructure | Merchant and acquiring configuration, eligible payment routes. | MID mapping, currencies and supported transaction types. |
| 3DS Server | Authentication initiation and result handling. | EMV 3DS versions, interfaces and authorisation data mapping. |
| Fraud management | Risk signals, decisions and transaction screening. | Decision timing, data availability and failure behaviour. |
| Merchant systems | Payment APIs, onboarding and merchant configuration. | Compatibility with existing integrations and migration requirements. |
| Financial and back-office systems | Transaction records, fees, reconciliation and settlement data. | Accounting boundaries, data consistency and exception handling. |
Example: an acquiring bank launching its own e-commerce gateway
Consider a bank that already has card processing infrastructure, merchant acquiring agreements and financial reporting systems, but uses an external payment gateway for online commerce.
A possible target architecture introduces licensed gateway software between merchant applications and the existing acquiring infrastructure. The bank can retain its processor, integrate the required authentication components and adapt merchant-facing functionality to its own requirements.
Custom development may be required for bank-specific interfaces, operational workflows and merchant configuration.
This is an illustrative architecture, not a claim that every banking platform supports identical integration methods.
Example: a PSP replacing its existing gateway
A PSP operating several acquiring connections may need to modernise transaction management, routing and merchant tools while preserving its existing commercial relationships.
Licensed gateway software can provide a foundation for such a project, with existing integrations retained or redeveloped according to technical feasibility.
For a detailed transition framework, read What If Your Payment Gateway Stops Operating? Risks and Migration Strategies for Banks and PSPs.
The real-time payment lifecycle
1. Payment creation
The merchant submits a payment request through an API, hosted checkout or mobile integration. The gateway validates the request, assigns a stable payment identifier and establishes the initial transaction state.
Repeated submissions should be handled through an explicit idempotency mechanism rather than creating multiple independent payments.
2. Credential collection and tokenisation
Payment credentials are collected within the applicable security architecture. A gateway token may represent stored card data in a controlled vault, while a network token operates under payment-network-specific arrangements.
These token types have different ownership, lifecycle and portability requirements. Evaluate them separately when selecting software or planning migration.
3. Risk assessment and authentication
Where applicable, the payment gateway initiates EMV 3D Secure authentication through a 3DS Server. The relevant Directory Server connects the request to the issuer ACS.
The ACS assesses the authentication request and determines whether further cardholder interaction is required.
Authentication results must remain linked to the relevant payment and be mapped correctly into the subsequent authorisation request.
For a detailed explanation of the authentication components, read How 3D Secure Works.
4. Payment route selection
The payment engine identifies eligible acquiring connections based on merchant configuration, currency, card characteristics, payment type and applicable rules.
Routing optimisation should take place within these eligibility constraints. Authentication and route selection must remain coordinated so that changes to the acquiring path do not invalidate authentication data or violate applicable scheme requirements.
5. Payment authorisation
The selected acquiring or processing connection submits the payment authorisation request. The issuer, or an authorised stand-in mechanism where applicable, provides the financial decision.
A successful authentication does not guarantee successful authorisation, and an authorisation approval does not establish that merchant funds have already been settled.
6. Capture and subsequent operations
Depending on the payment arrangement, capture may occur immediately or after an agreed delay. Refunds, reversals, cancellations and partial captures should reference the appropriate original payment operations.
The gateway should maintain a consistent lifecycle history that can be reconciled with downstream processing and financial records.
Duplicates, timeouts and safe retry logic
Production reliability depends heavily on how payment software handles ambiguous or incomplete transaction outcomes.
Before selecting gateway software, ask the vendor to demonstrate how representative timeout, retry and recovery scenarios are handled.
Where the acquiring back office fits
The payment gateway and the acquiring back office serve related but distinct purposes. The gateway manages operational payment state; the back office translates payment and processing events into financial records and merchant operations.
| Back-office function | Purpose |
|---|---|
| Merchant pricing | Apply contractual tariffs, fees and commission structures. |
| Reconciliation | Compare gateway, processor, acquiring and clearing records to identify discrepancies. |
| Merchant accounting | Maintain the financial records needed to establish merchant balances and obligations. |
| Reserves and adjustments | Record applicable reserves, refunds, chargebacks and other adjustments. |
| Settlement management | Calculate and prepare settlement-related records and instructions under the agreed operating model. |
| Reporting | Provide merchants and operations teams with consistent financial and transaction information. |
Network settlement and merchant payout should be treated as separate processes. The actual movement of funds remains the responsibility of the relevant financial entities and their payment arrangements.
Operationally, checkout availability should not depend on the completion of a reconciliation job or a merchant reporting query.
Security, deployment and operational responsibilities
Cloud and on-premises architecture
Licensed gateway software can be deployed according to the supported architecture and the financial institution's infrastructure requirements.
FinOn supports cloud and on-premises deployment of its White-Label Payment Gateway software. The proposed configuration should account for data location, connectivity, monitoring, recovery and operational ownership.
PCI DSS and software security
PCI DSS applies according to the organisation's role and applicable cardholder data environment. A software product, deployment environment and regulated payment operation have different compliance responsibilities.
Request current assessment evidence where applicable and a responsibility matrix covering the software vendor, customer, infrastructure provider and other parties.
Historical PA-DSS references should not be treated as evidence of current software security validation. Consult the PCI Security Standards Council for the applicable standards.
Authentication product approval
EMVCo approval applies to the identified 3D Secure product and its approved scope. Card scheme connectivity, deployment requirements and applicable production approvals must be assessed separately.
What should banks and PSPs evaluate before buying gateway software?
A technical procurement process should define which capabilities are required, which existing systems must remain and what evidence is necessary before selecting a vendor.
| Procurement question | Evidence to request |
|---|---|
| Can the software integrate with our existing processor? | Interface design, connector scope and integration plan. |
| Which components can we license independently? | Module boundaries, dependencies and commercial proposal. |
| Can the software run in our own infrastructure? | Supported deployment architecture and responsibility matrix. |
| Can payment workflows be customised? | Configuration capabilities and custom development scope. |
| How are unknown payment outcomes resolved? | Technical demonstration and recovery procedures. |
| How is 3D Secure integrated? | Authentication architecture and applicable product approvals. |
| How will financial records remain consistent? | Reconciliation design and representative transaction mappings. |
| How will the existing gateway be replaced? | Migration strategy, test plan and acceptance criteria. |
Use FinOn's White-Label Payment Gateway Software Buyer's Guide and RFP Checklist for a more comprehensive vendor evaluation framework.
FinOn's modular payment infrastructure software
FinOn provides licensed, customisable payment infrastructure technology for banks, acquirers, card processors, PSPs and fintech companies.
Its White-Label Payment Gateway software is available under a one-time software licence, with custom development and cloud or on-premises deployment.
Financial institutions can evaluate individual software components or combine relevant products within their existing payment infrastructure.
FinOn supplies the technology rather than merchant acquiring or payment processing services. The customer operates its own payment business under the applicable regulatory and commercial arrangements.
Payment infrastructure modernisation in practice
FinOn has collaborated with Qi Card in Iraq since 2023 as one of its technology partners, supporting the evolution of selected components of its e-commerce and 3D Secure infrastructure.
Read the Qi Card customer story.
Frequently asked questions
What are the main components of payment gateway architecture?
A modern gateway typically includes merchant integration interfaces, transaction management, payment provider connectivity, routing, authentication integration, tokenisation, risk controls and operational services. A connected back office can support reconciliation, billing and settlement operations.
Can a bank integrate a new payment gateway with its existing card processor?
Yes, where the required interfaces and commercial arrangements are available. FinOn provides custom integration development to connect its licensed gateway software with existing banking and card processing systems.
What is the difference between a payment gateway and a payment processor?
A gateway connects merchant applications with payment infrastructure and manages payment workflows. A processor handles transaction processing within the relevant acquiring or issuing architecture. Their precise boundaries depend on the operating model.
Can a payment gateway integrate a standalone 3DS Server?
Yes, where compatible interfaces and scheme requirements are supported. FinOn provides standalone EMVCo-approved 3DS Server software as well as White-Label Payment Gateway software.
Can banks purchase modular payment infrastructure software?
Yes. FinOn provides modular payment gateway, 3DS Server, 3DS ACS and other payment technology components that can be evaluated independently or combined according to the required architecture.
Can FinOn customise payment gateway software?
Yes. FinOn combines established software with custom development and integration engineering for customer-specific banking interfaces, payment workflows and operational requirements.
Can FinOn's gateway software be deployed on-premises?
Yes. FinOn supports cloud and on-premises deployment, with the specific implementation architecture agreed according to the customer's requirements.
Is a one-time payment gateway software licence available?
Yes. FinOn offers its White-Label Payment Gateway software under a one-time software licence. Implementation, integrations, development, maintenance and support are scoped within the commercial proposal.
