Back to Guides
What Is a Payment Gateway? A Complete Guide to Fiat and Crypto Payments
A payment gateway is the software layer between your checkout and the financial networks that move money. It captures payment data, encrypts it, authorizes the transaction with the buyer's bank or blockchain, and returns an approved or declined response in under three seconds.
This guide walks through what a payment gateway actually is, how fiat card rails and crypto rails each work end-to-end, the economics of fees, chargebacks, and settlement, and how to pick the right gateway, or the right pair of gateways, for your business.
Boost Your Business by Accepting Crypto Payments
Payment Gateway in 30 Seconds
A payment gateway is the software layer that sits between your checkout page and the financial networks that move money. It captures payment details from the buyer, encrypts them, authorizes the transaction with the issuing bank (for cards) or the blockchain (for crypto), and returns an approved or declined response, usually in under three seconds.
If you run an online store, a SaaS product, a marketplace, a forex broker, an iGaming platform, or any business that gets paid over the internet, a payment gateway is mandatory infrastructure. Without it you cannot legally and securely accept card, wallet, bank-transfer, or cryptocurrency payments at scale.
This guide is written for operators, founders, and product or finance leads who need to understand:
- What a payment gateway actually is, and what it is not.
- How a gateway works step-by-step for both card payments and crypto payments.
- The difference between a gateway, a payment processor, a merchant acquirer, and a merchant account.
- The economics: fees, settlement cycles, interchange, chargebacks, and how crypto changes all of them.
- How to choose the right gateway, and when a crypto gateway outperforms a fiat one.
By the end, you will be able to talk to any payments provider on equal footing and pick infrastructure that fits your business model rather than somebody else's.
What Is a Payment Gateway, Precisely
A payment gateway is a PCI-compliant service that performs four jobs on every transaction:
Capture
Securely collect the buyer's payment credentials at checkout: card number, expiry, CVV; a wallet token; or a crypto payment request.
Encrypt and tokenize
Replace sensitive data with a token so the raw credentials never touch your servers. TLS 1.3 in transit, network tokens at rest.
Authorize
Ask the appropriate network (Visa/Mastercard rails, a digital-wallet provider, or a blockchain) whether the funds are available and the transaction is legitimate.
Route the response
Return approved, declined, or confirmed to your checkout, fire a webhook, and pass the transaction to clearing and settlement.
A useful analogy: a payment gateway is the point-of-sale terminal of the internet. A card reader in a retail store captures a tap, encrypts the chip data, and talks to the acquirer. A payment gateway does the same job for an e-commerce checkout, a mobile app, an in-app purchase, or a blockchain invoice.
A crypto payment gateway does the same four jobs, but the "network" it talks to is a public blockchain (Bitcoin, Ethereum, Tron, Solana, and others) instead of Visa or Mastercard. Instead of authorization and deferred settlement, it watches the mempool for the customer's transaction and confirms payment when the network mines the required number of blocks. The job is the same; the rails underneath are completely different.
Common synonyms and related terms
- Online payment gateway - emphasizing e-commerce use.
- Payment service provider (PSP) - an all-in-one provider that bundles gateway, processor, and acquiring into one contract.
- Payment orchestration layer - a newer term for systems that route each transaction to the best-performing gateway of several.
- Merchant gateway or gateway payment services - marketing terms; same thing.
- Crypto processor, on-chain payment processor, Web3 checkout - crypto-specific variants of the same concept.
The Fiat Payment Flow, from Tap to Settlement
A card transaction looks instant, but under the hood it is a choreographed sequence of messages between five or six parties: the buyer, the merchant, the gateway, the acquiring bank, the card network, and the issuing bank.
approved or declined to your server, fires a webhook, and shows the customer a success or failure page.The total picture: eight steps, five parties, roughly 1 to 3 seconds of customer-facing latency, and up to five months of back-office uncertainty per transaction.
The Crypto Payment Flow, from Invoice to Confirmation
A crypto payment gateway compresses the eight-step fiat choreography into a much shorter sequence, but the tradeoffs are different. Here is what happens when a customer pays with Bitcoin, USDT, USDC, Ethereum, or any other supported asset.
amount=$199, currency=USD, order_id=1234. The gateway converts the fiat amount into the buyer's chosen crypto at a live exchange rate, generates a unique deposit address (or a payment URI such as a BIP-21 bitcoin: or EIP-681 ethereum: link), and returns a checkout page or JSON payload.payment.completed webhook to your server, and the funds are available in your gateway wallet. From there you can keep them in crypto (self-custody or gateway custody), auto-convert to a stablecoin (USDT, USDC) to eliminate volatility, or off-ramp to fiat via the gateway's banking partners, landing in your bank account as EUR, USD, or GBP on T+0 or T+1. This is the single biggest difference from card payments: once the required confirmations are in, the transaction is irreversible. There is no equivalent of a chargeback. Refunds exist, but they are outbound transactions you explicitly initiate.The total picture: six steps, two parties (buyer and gateway), typical end-to-end time of 5 seconds (stablecoin on a fast chain) to 30 minutes (Bitcoin with 3 confirmations), and zero back-office chargeback risk.
Gateway vs Processor vs Acquirer vs Merchant Account
These terms are used interchangeably in marketing copy. They are not interchangeable in contracts.
- Payment gateway - the software capturing payment data at the front end and transmitting it to the processor. Think of it as the checkout's translator and security officer.
- Payment processor - the back-end service that moves the transaction from the acquirer to the card network and back. Some gateways are also processors; many are not.
- Acquirer (acquiring bank) - the bank that holds the merchant account and is licensed by Visa/Mastercard to accept card transactions on your behalf.
- Merchant account - a specialized bank account where card funds land after clearing, before being swept to your operating account. High-risk businesses often struggle to get one.
- Card networks - Visa, Mastercard, American Express, Discover, UnionPay, JCB - the rails that route authorization and clearing messages.
- Issuing bank - the cardholder's bank; the one that actually funds the transaction.
For crypto payment gateways, the stack collapses:
- Crypto gateway = capture + authorize + settle + (optional) off-ramp, all in one provider.
- Blockchain node / indexer = the analogue of both processor and network.
- Miners / validators = the analogue of the issuing bank, but decentralized.
- Merchant account is optional - you can be paid directly into a self-custodial wallet.
This collapse is why crypto checkouts usually have fewer moving parts and fewer fee layers than card checkouts.
| Role | Fiat | Crypto |
|---|---|---|
| Captures payment data | Gateway | Gateway |
| Authorizes transaction | Issuing bank via card network | Blockchain (consensus) |
| Processes transaction | Payment processor | Blockchain node |
| Holds merchant funds | Merchant account at acquirer | Gateway wallet or self-custody |
| Offers chargeback rights | Issuer (up to 540 days) | None |
| Parties per transaction | 5 to 6 | 2 |
Fiat Payment Gateway vs Crypto Payment Gateway
This is the comparison most guides skip. Both gateway types solve the same business problem, "let customers pay me on the internet", but they trade off different things.
| Dimension | Fiat gateway | Crypto gateway |
|---|---|---|
| Rails | Visa, Mastercard, Amex, ACH, SEPA, local schemes | Bitcoin, Ethereum, Tron, Solana, Layer-2s, Lightning |
| Merchant fee | 1.5% to 3.5% + fixed fee per transaction | 0.4% to 1.0% flat |
| Chargebacks | Yes, up to 540 days; merchant bears cost | None; payments are final |
| Settlement time | T+1 to T+3 domestic, T+3 to T+7 cross-border | T+0 to crypto wallet, T+1 to fiat |
| Currency support | 130+ fiat; FX spread charged | Any crypto; convert to 50+ fiat |
| High-risk verticals | Often refused or reserved | Broadly accessible |
| Customer reach | Cardholders (~4B globally) | Anyone with a wallet (~600M+, growing) |
| Fraud model | Issuer-driven; merchant bears chargeback risk | On-chain transparency; no reversals |
| Volatility exposure | Native | Removed by stablecoins + rate lock |
| KYC on buyer | At issuer level, invisible to merchant | None for payment; only at fiat off-ramp |
| Compliance burden | PCI DSS, PSD2 SCA, money-transmission | AML/KYC at off-ramp, travel rule for large transfers |
| Failure mode | Decline codes, 3DS drops, issuer outages | Network congestion, high gas, wrong-network sends |
The headline takeaway: fiat gateways optimize for buyer protection at the cost of merchant risk and fees. Crypto gateways optimize for finality and cost at the cost of consumer familiarity. A modern stack often runs both.
Payment Gateway Use Cases by Industry
Not every business needs the same gateway. Concrete patterns we see in the field:
E-commerce (retail, fashion, electronics)
One fiat gateway (card + Apple/Google Pay + regional APMs), optionally a crypto gateway for international and high-AOV buyers. Crypto typically contributes 2 to 8% of revenue once enabled, with cart sizes 30 to 40% larger than card orders.
SaaS and subscription businesses
Fiat gateway with network tokenization and automatic retries of failed recurring charges (dunning) is table stakes. Crypto for subscriptions is emerging - typically implemented as pre-funded account balances, since on-chain recurring charges require wallet-side approvals (EIP-2612 permits, account abstraction, or scheduled smart-contract payments).
iGaming, online casinos, sports betting
The archetypal high-risk vertical. Card acquirers charge 4 to 6% and impose 10%+ rolling reserves. Crypto gateways cut that to sub-1% with no reserves, and serve geographies where card deposits are routinely blocked. Deposits settle in under a minute with 1 to 3 confirmations on stablecoins.
Forex brokers and trading platforms
High decline rates on cards, heavy chargeback exposure. Crypto deposits bypass both. Instant same-day stablecoin withdrawals reduce churn compared to T+3 bank wires.
Marketplaces and platforms
Need split payments - paying multiple sellers from one buyer transaction. Card gateways handle this via payment-facilitator models; crypto gateways handle it natively with on-chain splits or smart contracts.
B2B and cross-border invoicing
SEPA and wire transfers can take days and cost $15 to $40 per transaction. A USDC payment on Ethereum L2 settles in under a minute for pennies. This is where crypto gateways have the strongest raw economics.
Fees, Settlement, and Chargeback Economics
For a card transaction, the merchant's total cost-of-payments breaks down into four layers:
- Interchange (paid to the issuing bank). Set by Visa/Mastercard; a typical US e-commerce rate is 1.5% to 2.1% + $0.10. In the EU, regulation caps it at 0.3% for consumer credit and 0.2% for debit.
- Scheme fees (paid to Visa, Mastercard, etc.). Around 0.10 to 0.15%.
- Acquirer / processor markup. Typically 0.3 to 1.0% on Interchange++ pricing, or baked into a flat rate like 2.9% + $0.30.
- Gateway fee. Either bundled into the processor's rate or charged separately ($0.05 to $0.20 per transaction).
A typical US e-commerce merchant pays around 2.9% + $0.30 on a blended basis, and more for cross-border, premium cards, or high-risk categories.
Layer in chargeback cost: each dispute costs $15 to $100 in fees regardless of outcome, plus the disputed amount if you lose. Card networks put merchants with chargeback ratios above 0.9% to 1.5% into monitoring programs, which add another 1 to 2% in scheme fines.
Crypto gateway fees
- Network fee - paid by the buyer to the blockchain (Bitcoin miners, Ethereum validators). On Tron and L2s often under $0.10.
- Gateway fee - typically 0.4% to 1.0% flat, sometimes 0 for stablecoin-only flows.
- Off-ramp fee - a 0.5 to 1.5% conversion spread at the banking partner if you want funds in fiat.
- Chargeback cost - zero.
On a $100 transaction, a typical card stack nets you about $96.80 after all fees (and less after chargebacks). A crypto stack with stablecoin-to-EUR off-ramp nets you roughly $98.50 to $99.20. The gap widens as transaction size grows.
Settlement timing
| Channel | Typical settlement |
|---|---|
| Card, domestic | T+1 to T+2, sometimes T+0 for premium acquirers |
| Card, cross-border | T+3 to T+7 |
| Card, high-risk | T+2 to T+14, with 5 to 10% rolling reserve for 6 months |
| Crypto, to crypto wallet | T+0, usually inside a minute for stablecoins |
| Crypto, to fiat bank account | T+0 to T+1 with an integrated off-ramp |
For cash-flow-sensitive businesses, especially startups and high-growth e-commerce, the difference between T+7 and T+0 is a meaningful working-capital win.
Security, PCI DSS, and Compliance
A payment gateway is a security product more than a financial product. The core controls for fiat:
- TLS 1.2/1.3 encryption on every request.
- Tokenization - replacing the PAN with a token that is useless outside the gateway. Network tokenization (Visa Token Service, Mastercard MDES) further reduces issuer-side decline rates by 3 to 7%.
- PCI DSS compliance - by using hosted fields or a drop-in SDK, most merchants qualify for SAQ-A (the lightest PCI scope) instead of the full SAQ-D audit.
- 3D Secure 2 - the authentication layer that shifts fraud liability to the issuer when properly invoked, and is mandatory in the EU under PSD2 SCA.
- AVS and CVV verification - basic fraud filters.
- Fraud scoring - machine-learning models that score each transaction on device fingerprint, velocity, BIN country, and dozens of other signals.
Crypto gateway security
- No PAN, no PCI DSS. You never handle sensitive card data, so PCI scope drops to near zero for crypto-only flows.
- Key management - the real security question. Does the gateway use MPC (multi-party computation), HSMs (hardware security modules), or multisig? Are hot-wallet balances capped? Is there a cold-storage threshold?
- Custody model - custodial gateways hold your funds (convenient, but a counterparty risk); non-custodial gateways route funds directly to your wallet.
- AML/KYC and travel rule - apply at the off-ramp, not at the point of acceptance. Take crypto and keep it in crypto, and your regulatory footprint is minimal.
- Chain-analytics screening - high-quality gateways screen incoming addresses against OFAC and sanctioned-wallet lists before crediting the payment.
Both models are secure in practice. They put the perimeter in different places.
How to Choose the Right Payment Gateway
A decision framework that actually works, in order of importance:
- Does it accept the payment methods your customers use? Not the ones you like - the ones they already have. If 40% of your traffic comes from Turkey, you need Troy; from the Netherlands, iDEAL; Brazil, PIX; India, UPI. If you serve tech-forward or international buyers, stablecoins are usually in that list.
- Is your vertical accepted? iGaming, forex, CBD, nutraceuticals, adult, and "high-risk" categories face declines or punitive reserves from many fiat acquirers. Crypto gateways have no such restrictions.
- What is your true blended cost? Get a quote on Interchange++ pricing, not just a blended flat rate. Include chargeback cost at your historical ratio.
- Settlement speed and working-capital fit. T+7 versus T+0 can be the difference between growing and running out of cash.
- Developer experience. Modern REST API, webhooks, idempotent retries, good SDKs, sandbox parity with production, and clear error codes. A bad API costs more than a bad rate.
- Global coverage. Multi-currency pricing, automatic FX, local acquiring, and for crypto: all the chains your buyers use (at minimum Bitcoin, Ethereum, Tron, Solana, plus major L2s).
- Fraud and dispute tooling. Chargeback alerts, representment automation, 3DS control, blocklists, velocity rules.
- Reliability. Ask for the last 90 days of uptime and declined-transaction data. Anything below 99.95% authorization uptime costs you real revenue.
- Compliance fit. PCI DSS scope reduction, PSD2 SCA support, data-residency options for the EU, KYC/AML package for crypto off-ramps.
- Roadmap alignment. Network tokenization, open banking rails, pay-by-bank, stablecoin settlement - the winners five years from now are the providers already shipping these today.
When a crypto payment gateway is the right choice
- Your margins cannot sustain 3%+ card fees (digital goods, high-AOV electronics, gaming).
- You serve a global audience where card penetration is low or volatile.
- You operate in a high-risk vertical that card acquirers reject.
- You prefer final, irreversible settlement over chargeback-driven reversals.
- Your customers already hold crypto and prefer to pay with it.
- You want instant cross-border settlement without SWIFT fees.
For most modern businesses, the answer is not fiat or crypto, it is fiat and crypto, side by side at checkout, with the buyer choosing. The right gateway makes both feel like one product.
Boost Your Business by Accepting Crypto Payments
Get Started
Frequently Asked Questions
A payment gateway is the software that securely captures a buyer's payment details at checkout, asks the buyer's bank or blockchain to approve the transaction, and returns the result to the merchant. It is the online equivalent of a physical card terminal.
The gateway is the front-end that captures and encrypts payment data. The processor is the back-end service that moves the transaction between the acquiring bank, the card network, and the issuing bank. Many providers - including most crypto gateways - combine both roles into a single product.
For a card: the gateway captures the card data, encrypts and tokenizes it, sends an authorization request to the issuing bank via the card network, receives an approved or declined response, and then settles the funds to the merchant on T+1 or T+2. For crypto: it creates an invoice with a locked exchange rate, detects the buyer's on-chain transaction, waits for the configured number of block confirmations, and fires a webhook when the payment is final.
Fiat examples include provider-side checkout forms, hosted payment pages, and drop-in SDKs used by millions of e-commerce sites. Crypto examples include invoice-based checkouts that generate a unique deposit address or QR code for each order, supporting Bitcoin, Ethereum, Tron, Solana, and stablecoins such as USDT and USDC.
For card payments, yes - a gateway cannot settle funds without an underlying merchant account at an acquiring bank. For crypto payments, no - settlement happens to a crypto wallet controlled by you or the gateway, and an optional fiat off-ramp replaces the traditional merchant account.
Four main types for cards: hosted (buyer is redirected to a PSP-hosted page), self-hosted (buyer stays on your site and you take on more PCI scope), API or integrated (full control via REST API and SDKs), and local bank integration. Crypto gateways are classified by custody model (custodial vs non-custodial) and by chain coverage.
A typical US card stack blends to around 2.9% + $0.30 per transaction, plus chargeback and scheme fees. EU card fees are lower thanks to interchange caps. Crypto gateways usually charge a flat 0.4 to 1.0% with no chargeback costs, plus a small off-ramp spread if you convert to fiat.
Not exactly. PayPal, Apple Pay, and Google Pay are payment methods (or, in PayPal's case, a processor and wallet). A gateway is the infrastructure that accepts those methods alongside cards, bank transfers, and, increasingly, crypto at a single checkout.
Lower fees (sub-1% vs 2.9%+), no chargebacks, instant cross-border settlement, broader geographic reach, and acceptance in high-risk verticals that card acquirers reject. Most businesses run both in parallel rather than choosing one.
Yes, when you use a reputable gateway that handles key management (MPC or HSMs), screens incoming addresses against sanctions lists, and offers automatic conversion to stablecoins or fiat to eliminate volatility. Because crypto transactions are irreversible, the risk profile is actually lower than cards once operational controls are in place.