Payment gateway
A payment gateway is a service that securely collects a customer’s card or wallet details on a website or app, sends them to the acquiring bank and card networks for approval and returns the result to the merchant. It is the entry point for online card payments.
How it works
A gateway is the technical link between a checkout page and the banks behind a card payment. It encrypts and forwards payment data, while the money itself is moved by the acquirer and the card scheme.
The card payment flow
Visa splits a card payment into authorization, clearing and settlement (Visa). Online it works like this:
- The customer enters card details in a form served or embedded by the gateway.
- The gateway runs fraud checks and 3-D Secure where required, then sends an authorization request to the acquirer, the merchant’s bank.
- The acquirer routes it through the card scheme’s network, such as VisaNet, to the issuer, the cardholder’s bank.
- The issuer approves or declines and puts a hold on the amount.
- The answer returns within seconds; the gateway also notifies the merchant’s server, often by webhook.
- Later the scheme debits the issuer and pays the acquirer, which credits the merchant minus fees.
Authorization vs. settlement
Authorization reserves the money; settlement moves it. A hotel may authorize at booking and capture at checkout. Stripe says an online card authorization is usually valid for 7 days, after which uncaptured funds are released (Stripe Docs).
Gateway, processor, acquirer and PSP
| Participant | Role |
|---|---|
| Payment gateway | Collects, encrypts and routes payment data |
| Payment processor | Runs the technical back end of card transactions for the acquirer |
| Acquirer | Bank that contracts with the merchant, carries its risk and settles funds |
| Card scheme | Visa, Mastercard and others: network, rules, interchange rates |
| Issuer | Cardholder’s bank; approves or declines |
| PSP or aggregator | Signs up merchants under its own acquiring relationship and bundles the roles |
Visa calls an aggregator a payment facilitator: an agent that signs merchants on behalf of an acquirer and distributes their settlement, while the acquirer stays responsible for both (Visa). This lets small businesses accept cards without their own acquiring contract. Adyen says it combines a gateway, a processor and an acquiring bank on one platform; Stripe calls itself both a processor and a payment facilitator.
Security
PCI DSS, the card industry’s data security standard, applies to anyone who stores, processes or transmits cardholder data. It is maintained by the PCI Security Standards Council, founded in 2006 by American Express, Discover, JCB, Mastercard and Visa; the current version, v4.0.1, was published in June 2024 (PCI SSC). Card brands and acquirers, not the Council, decide who must prove compliance.
Tokenization: the gateway stores the card and gives the merchant a token, useless elsewhere, for repeat payments. Card networks also issue EMV payment tokens that replace the card number and are limited to one merchant, device or scenario.
3-D Secure (EMV 3DS, or 3DS2) is EMVCo’s protocol for authenticating cardholders online. The issuer receives transaction and device data; many payments pass without extra steps, riskier ones get a one-time code or biometric check. It works in browsers and apps; EMVCo recommends version 2.2 or higher (EMVCo). Visa brands it Visa Secure, Mastercard Identity Check.
Hosted payment page vs. API
With a hosted payment page the customer is redirected to the provider’s page, or its form is embedded as an iframe or widget. Card data never reaches the merchant’s servers, so integration is quick and the merchant may qualify for the shortest PCI self-assessment, SAQ A, though an embedded form must be protected from malicious scripts (PCI SSC).
With a direct API integration the merchant builds its own checkout and calls the gateway from its servers or a mobile SDK. It gets full control over design and logic, but if card data passes through its systems, far more PCI DSS requirements apply.
Fees and pricing models
A card payment has three cost layers: interchange paid to the issuer, usually the largest; scheme fees paid to the network; and the provider’s markup, the only part it controls (Adyen). As of November 2026 two pricing models dominate:
- Blended rate, one price for all cards: Stripe’s standard US rate is 2.9% + 30¢ per successful domestic card payment (Stripe).
- Interchange++, actual interchange and scheme fees plus a markup: Adyen lists $0.13 + interchange++ + 0.60% for Visa and Mastercard, with no setup or monthly fees (Adyen).
Well-known global providers include Stripe, available in more than 50 countries; Adyen, founded in Amsterdam in 2006; and Braintree, bought by PayPal in 2013 for $800 million (TechCrunch), which accepts cards, PayPal and Venmo.
Example
An online bookstore in Astana uses Halyk ePay. A customer pays KZT 20,000 with a Visa card from another Kazakh bank and may be asked to confirm with a code from that bank. Halyk Bank, as acquirer, sends the request through Visa to the issuer, which approves it, and the store ships after the payment notification. At ePay’s published rate for other banks’ cards, 3% as of November 2026, the store pays KZT 600 and receives KZT 19,400.
In Kazakhstan
Payments are governed by the Law “On Payments and Payment Systems” of July 26, 2016 No. 11-VI. Amendments adopted on July 23, 2026 (Law No. 352-VIII) split payment organizations, the non-bank providers, into two categories from October 2026 (Kapital.kz). First-category organizations need a license from the National Bank of Kazakhstan (NBK) and may open accounts for legal entities, but may not take deposits or lend. Second-category ones must pass registration with the NBK, a mandatory condition for providing payment services (Article 16); purely technical services such as data processing and authentication are not payment services (Article 12) (Law). The NBK registry of payment organizations listed more than 100 active ones as of November 23, 2026, including Freedom Pay, TipTop Pay Kazakhstan and ioka. Banks that provide acquiring are licensed by the Agency for Regulation and Development of Financial Market (ARDFM).
Main providers, with rates published as of November 2026:
- Kaspi Pay: customers pay by Kaspi QR or by an invoice or link in the Kaspi.kz app rather than entering card details (Kaspi Guide).
- Halyk ePay, Halyk Bank’s internet acquiring with a payment page, widget, API, SDK and CMS modules: 2.5% for Halyk cards, 3% for other banks’ cards, 4% for Amex, Diners, Discover and JCB, 0.9% for Halyk QR (Halyk Bank).
- Freedom Pay, Freedom Holding’s payment organization, renamed from PayBox.money in 2022 (Economist.kg): cards, Apple Pay, Google Pay and payouts, also in Kyrgyzstan and Uzbekistan; 3.5%, minimum KZT 25, on the small-business plan (Freedom Pay).
- TipTop Pay Kazakhstan, formerly CloudPayments Kazakhstan, bought by Singapore-based TipTopPay in November 2023 (Kapital.kz): payment form, API, subscriptions and online fiscalization, with fees from 2.5% (TipTop Pay).
- ioka, a payment organization founded by Magzhan and Anara Zhumashev: acquiring, payment links, QR codes and installments; more than 3 million transactions a year as of July 2025 (Forbes Kazakhstan).
Kazakhstan is not on Stripe’s list of supported countries as of November 2026, so a Kazakh-registered business cannot open its own Stripe account.
How to choose a gateway
- Legal status: a bank or a payment organization licensed or registered by the NBK.
- Payment methods: local cards, QR, Apple Pay and Google Pay, installments, foreign cards.
- Total cost: rate per method, minimum fee, refund, chargeback and payout charges, settlement speed.
- Integration: hosted page, widget, API, SDK, CMS plugins, sandbox, documentation, webhooks.
- Security: PCI DSS compliance, 3-D Secure, tokens for repeat payments.
- Operations: online fiscalization, reports, refunds, support.
- Exit terms: whether saved cards can move to another provider.
Pros, cons and risks
A gateway lets a business accept cards without building bank connections or certifying its own systems. In return the merchant pays a fee on every payment and depends on one provider’s uptime, rules and risk decisions, including delayed payouts or closed accounts. The main risks are fraud and chargebacks (payments reversed after a cardholder dispute), outages during peak sales and, in Kazakhstan, working with an unregistered company.
Rates, provider terms and payment regulations change, so check them on nationalbank.kz, the provider’s website or with a specialist.
Sources
- Accept Visa payments: how a Visa transaction works — Visa (accessed 28 November 2026)
- Visa’s Payment Facilitator Model — Visa (accessed 28 November 2026)
- PCI Data Security Standard (PCI DSS) — PCI Security Standards Council (accessed 28 November 2026)
- EMV 3-D Secure — EMVCo (accessed 28 November 2026)
- Credit card processing fees explained — Adyen (accessed 28 November 2026)
- Реестр платежных организаций — Национальный Банк Республики Казахстан (accessed 28 November 2026)
- Закон Республики Казахстан «О платежах и платежных системах» от 26 июля 2016 года № 11-VI (с изменениями на 21.10.2026) — Учет.kz (accessed 28 November 2026)
- Halyk ePay: online payment acceptance — Halyk Bank (accessed 28 November 2026)