Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
Payment gateway security protects the component that carries a transaction from a checkout page to an acquirer, including the integration pattern a merchant chooses and the fraud controls around it.

What Is Payment Gateway Security?
A payment gateway sits between a merchant’s checkout and the acquiring bank. It takes the payment details, applies fraud rules, routes an authorisation request through the card scheme, handles the authentication challenge where one is required, and returns a result the merchant can act on. Payment gateway security covers the gateway itself, the way the merchant integrates with it, and the operational controls around the merchant’s account, because an attacker will happily take the easiest of the three.
The integration choice deserves more attention than it usually gets. It determines how much card data touches merchant systems, which in turn determines the breach impact and the assessment burden, and it is effectively permanent once the checkout is built.
| Pattern | Where the card number goes | Merchant exposure |
|---|---|---|
| Hosted payment page | Directly to the gateway on its own domain | Lowest; the merchant page never sees the number |
| Hosted fields in an iframe | To the gateway, from an isolated frame | Low, provided the surrounding page is protected |
| Direct post or client-side API | From the browser to the gateway, bypassing the server | Moderate; the merchant page can be modified to intercept entry |
| Server-to-server | Through the merchant’s own systems | Highest; full cardholder data environment |
Note that every pattern except a fully hosted page leaves the merchant responsible for the integrity of the page that collects or frames the details, which is why PCI DSS version 4 introduced requirements to inventory and monitor the scripts loaded into a payment page, applicable from 31 March 2025. That change exists because of Magecart-style skimming, where the gateway performs perfectly and the merchant still loses every card.
UK gateways and their merchants operate under the Payment Services Regulations 2017, with strong customer authentication enforced for e-commerce since March 2022 and the technical standards maintained by the FCA. PCI DSS applies contractually through the acquirer, and a card data breach is also a personal data breach reportable to the Information Commissioner’s Office. Since October 2024 the Payment Systems Regulator’s reimbursement regime for authorised push payment fraud has changed the economics of account-to-account payment acceptance.
In Turkey, payment and electronic money institutions are licensed and supervised by the Central Bank of the Republic of Turkey under its 2021 regulation, which sets detailed requirements for information systems, authentication, and outsourcing, and the sector works to local card scheme rules alongside PCI DSS. A UK merchant selling into Turkey will usually need a local acquiring relationship, and the gateway integration and settlement arrangements will not simply mirror the UK ones.
Where a checkout and its gateway integration need testing against real abuse rather than against the integration guide, our web application security services cover payment flows end to end.
Card testing is the automated submission of many small authorisations to find which stolen card numbers still work. Attackers choose merchants with an unprotected payment endpoint, low-value items, and no velocity limits, regardless of brand or size. The cost lands on the merchant through authorisation fees, scheme fines, and a damaged approval ratio, so rate limiting the endpoint is a commercial control as much as a security one.
It gives the lowest exposure, because the card number never touches merchant systems and the page is served and maintained by the provider. The trade-off is checkout experience and branding, which is why hosted fields in an iframe are the common compromise. Either way the merchant still owns the integrity of the page that redirects or frames, and that is where skimming attacks land.
Yes, always. A webhook endpoint is a public URL and anyone can post to it. Verify the signature using the shared secret, check the event identifier against the gateway’s own records before acting, and treat a payment-confirmed callback as a prompt to query the gateway rather than as proof. Orders fulfilled on unverified callbacks are a long-standing source of loss.
For authenticated transactions, generally yes, under the card scheme rules, which is one reason merchants adopt it beyond the regulatory requirement. The protection applies to fraudulent disputes rather than to every chargeback reason, and it depends on the authentication being completed properly. Exemptions taken to reduce friction also return liability to the merchant, so the configuration choice has a direct financial consequence.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.