Infrastructure & Technology
Glossary Gateway

Gateway

Also Known As: Payment Gateway Payment Processing Gateway Payment API
Used By: Merchants ISOs & Agents Payfacs & Sub-merchants Software Platforms
What is Gateway?

A payment gateway is the technology layer that connects a merchant’s point of sale or e-commerce platform to the payment processing network. It securely captures payment credentials, encrypts and transmits transaction data to the acquirer processor, receives the authorization response, and returns the result to the merchant in real time.

Gateways serve as the entry point into the payment ecosystem for merchants. They handle the technical complexity of communicating with multiple processors, card networks, and fraud tools through a single integration point. A merchant integrates once to the gateway and gains access to the gateway’s full network of processing relationships and value-added services.

Gateways are distinct from processors, though many companies offer both functions. The gateway handles the data transmission and routing layer. The processor handles the financial clearing and settlement layer. Some merchants work with a single provider that performs both functions, while others use a standalone gateway that connects to a separate processor.

Diving Deeper into Gateway

The payment gateway sits at the center of the merchant’s payment infrastructure. Every card transaction a merchant accepts passes through the gateway, making it one of the most operationally critical components in the payment stack. Gateway selection affects what payment methods a merchant can accept, what fraud tools are available, how quickly transactions are processed, what reporting and reconciliation data is available, and how easily the payment system integrates with the merchant’s broader technology ecosystem.

Understanding what a gateway does, how it differs from other components in the payment chain, and what to look for when evaluating gateway options is foundational knowledge for any merchant or software platform building a payment implementation.

What a Gateway Does

The gateway performs several distinct functions in the transaction flow, each of which adds value and complexity to the payment experience.

Data Capture and Encryption

When a cardholder submits payment at checkout, the gateway captures the card credentials — whether entered manually, read from a chip or swipe, or tokenized from a stored credential — and immediately encrypts them. Payment gateways use tokenization and point-to-point encryption to ensure that raw card data is never stored or transmitted in a form that creates PCI scope for the merchant.

Transaction Routing

The gateway routes the authorization request to the appropriate acquirer processor based on the card type, currency, transaction amount, and the merchant’s processing agreements. Advanced gateways support intelligent routing that can direct transactions to different processors based on cost optimization, approval rate optimization, or geographic considerations.

Fraud Evaluation

Most gateways incorporate fraud scoring tools that evaluate each transaction before or alongside the authorization request. These tools apply rules and machine learning models to assign a risk score and take action based on the merchant’s configured thresholds — approving, flagging, or declining transactions before they reach the processor.

Authorization and Response Handling

The gateway submits the authorization request to the processor and receives the issuer’s approval or decline response. It translates the processor’s response into a format the merchant’s system can consume and returns the result in real time. Gateways also handle retry logic for soft declines and manage the communication of authorization codes and error messages back to the merchant.

Settlement Facilitation

At end of day, the gateway facilitates the batch submission of captured transactions to the processor for clearing and settlement. Gateways maintain transaction records and provide the merchant with settlement reporting that reconciles authorized transactions against captured and settled amounts.

Hosted vs. Integrated Gateways

Gateways are implemented in two primary models, each with different tradeoffs around control, customization, and PCI compliance complexity.

Hosted Payment Pages

A hosted gateway redirects the cardholder to a payment page hosted on the gateway provider’s infrastructure to collect card credentials. The merchant never touches or stores card data, which substantially reduces PCI compliance scope. The tradeoff is reduced control over the checkout experience and a redirect that can increase cart abandonment.

API-Integrated Gateways

An API gateway allows the merchant to build their own checkout experience and submit card data directly to the gateway via API. This provides full control over the user experience but requires the merchant to handle card data in their environment, increasing PCI compliance requirements. API integration is typical for merchants with sophisticated development resources who prioritize checkout experience optimization.

Gateway vs. Processor vs. Acquirer

These three terms are frequently confused because many companies combine multiple functions.

The gateway is the technology layer that captures, encrypts, and routes transaction data. The processor is the operational layer that handles authorization routing to card networks and clearing and settlement with acquiring banks. The acquirer is the financial institution that holds the merchant account, sponsors the merchant’s ability to accept card payments, and assumes financial liability for the transaction volume.

A merchant may work with a single provider that performs all three functions, or they may have separate relationships for each. Standalone gateways connect to one or more processors. Integrated processing platforms combine gateway and processing functions. Full-stack acquirer-processor-gateway providers offer the entire stack under one relationship.

Value-Added Gateway Services

Modern gateways have expanded beyond basic transaction routing to offer a broad range of value-added services that merchants increasingly rely on.

Recurring billing and subscription management, stored credential management for returning customers, multi-currency processing and dynamic currency conversion, alternative payment method support including digital wallets and buy now pay later, advanced reporting and analytics, and dispute management tools are all commonly offered by gateway providers as part of their platform.

Shopping Basket