A payment gateway protects, formats, and transmits payment requests and responses between merchant checkout systems and payment-processing services.
A payment gateway is a technology service that protects, formats, and transmits payment requests and responses between a merchant’s checkout and payment-processing services. It commonly handles card and wallet transactions for websites and apps, and it can also connect in-person or omnichannel payment systems.
A gateway does not necessarily hold the merchant account, issue the card, make the issuer’s credit decision, or settle funds. Providers often bundle gateway, processor, acquiring, fraud, tokenization, and reporting services, so the contract and transaction records determine the actual roles.
| Model | Customer interaction | Merchant exposure and control |
|---|---|---|
| Hosted payment page | Customer is redirected to a provider-hosted page | Provider handles the payment page; merchant still protects redirects, account access, and order logic |
| Hosted fields or iframe | Provider-controlled payment fields appear within merchant checkout | Merchant controls surrounding page while sensitive fields can originate from the provider |
| Direct API integration | Merchant application sends transaction data to gateway APIs | Greater checkout control can create broader data, software, and security scope |
| Payment link or invoice | Customer opens a provider-hosted checkout from a link | Useful for remote collection; link integrity and order matching still matter |
| Omnichannel gateway | One service connects store, app, web, or call-center channels | Central reporting can help reconciliation but creates provider and integration concentration |
The exact PCI DSS scope depends on the complete implementation. A merchant should not infer scope reduction from a product label alone.
Depending on the service, a gateway may:
Not every gateway performs every function. For example, tokenization may be provided by the gateway, processor, network, wallet, or another service.
| Gateway status | What it generally means | What it does not prove |
|---|---|---|
| Created or pending | A transaction object or request exists | That the issuer received or approved it |
| Authorized | An approval was returned under the transaction rules | That the merchant captured or received funds |
| Captured or submitted | The merchant requested completion or batch submission | That clearing and settlement are final |
| Settled or funded | The provider reports a settlement or merchant-funding event | That no refund, reserve, dispute, or chargeback can follow |
| Voided or reversed | An authorization or unsettled transaction was canceled | That every temporary account hold disappeared immediately |
| Refunded | A merchant refund was initiated or completed at a stated stage | That the customer’s account already shows the credit |
Status vocabulary differs by provider. Integrations should map each provider state to the merchant’s order, accounting, and fulfillment states explicitly.
An online customer submits a $95 order. The merchant’s browser times out before displaying confirmation, but the gateway has already sent the authorization request and later sends an approved status notification.
If the customer submits again, the merchant can create a duplicate authorization unless the integration uses a stable order reference or idempotency control. A reliable workflow should:
The browser page is not the authoritative payment record. Merchant and gateway server records should determine the outcome.
| Party | Primary role | Can the roles overlap? |
|---|---|---|
| Gateway | Merchant integration, data protection, routing, and response handling | Yes, a provider may also process or acquire |
| Processor | Processes or routes transactions for merchants, acquirers, issuers, or other parties | Yes, a processor may offer a gateway |
| Acquirer | Contracts to provide merchant acceptance and settlement under payment-brand rules | Yes, an acquirer may operate processing and gateway services |
| Issuer | Provides the card or account and makes authorization decisions | In some payment models one institution performs several roles |
| Payment network | Supplies rules and routing infrastructure among participants | Network structure varies by payment method |
Gateway features and legal responsibilities vary by provider, payment method, contract, payment brand, and jurisdiction.
This article provides general financial education. It is not gateway-selection, payment-security, merchant, legal, or compliance advice.