What is a payment gateway?

In short

A payment gateway is the software service that takes payment details from a merchant's checkout, app or terminal, secures them and passes them to an acquirer or processor for authorisation, then returns the answer. A payment gateway moves payment data, not money: the acquirer settles the funds.

Also called
Gateway, Online payment gateway, Card gateway
Family
Accepting payments
Facts checked

How a payment gateway works

The gateway receives the payment details through a hosted page, embedded fields, an API or a terminal connection. It encrypts or tokenises the card number, runs 3-D Secure where authentication is needed, and builds the authorisation request in the format the acquirer or processor expects.

The answer comes back within seconds: approved, declined or failed, with a code. Later steps go through the same gateway: capture, void, refund, and the webhooks and reports a merchant reconciles from.

What rules apply to a payment gateway

A gateway that handles card numbers for merchants is a service provider in PCI DSS terms: the PCI Security Standards Council's glossary names payment gateways among them. In the EU, PSD2 leaves outside its scope technical service providers that support payment services without entering at any time into possession of the funds (Article 3(j)). A gateway that also contracts with merchants to accept payments and pays them out is acquiring, which is a payment service (Article 4(44)).

Why the gateway matters to a payments business

The gateway is the part of the stack a merchant integrates with, so it sets the checkout experience, the payment methods on offer and the data available for fraud checks and reporting. A company that runs its own gateway can connect several acquirers behind it and add routing, which is where a gateway grows into orchestration.

Gateway, processor, PSP or orchestration?

Payment processor
Carries the authorisation and clearing messages between the acquirer, the card scheme and the issuer. The gateway is the merchant-facing entry point that feeds the processor.
Payment service provider
Sells acceptance as one service: a gateway, an acquiring arrangement and payouts under one contract. A gateway on its own leaves the merchant to contract with an acquirer.
Payment orchestration
A layer above several gateways, PSPs and acquirers that decides where each payment goes. A gateway connects to its own acquirers, and an orchestration layer is provider-neutral.

Where a payment gateway shows up in a platform

Modules that do the work

Platforms that need it

Guides that go deeper

Where it is written

The laws and standards this page's facts come from.

General information, not legal advice: what applies to you depends on your services and your market.

Every term

Start your project

Tell us the idea. We'll show you the platform.

One call is enough to map your product to the modules that already exist.

  • Response in under one business day
  • NDA on request
  • No obligation
How can we help?