Explained simply

What Is a Payment Gateway?

The plain-English explanation: what a payment gateway actually does, how one transaction travels from your checkout to the customer's bank and back in a few seconds, the three types, who the five parties are, what it costs in India, and why payments fail.

Updated 20 August 2026 · Written for Indian businesses

What is a payment gateway — quick answer

Updated 20 August 2026

A payment gateway is the service that takes a customer's payment details at checkout, sends them securely for authorisation, and tells your website whether the payment succeeded — so the order can be confirmed. It sits between your website and the banking system: it encrypts card and UPI details so they never touch your servers, screens the payment for fraud, and returns a yes or no in seconds. The money itself arrives later, in the settlement cycle — usually the next working day in India. Without one, a website can display prices but cannot collect money. In India you pay roughly 1.5% to 3% per transaction plus 18% GST, with no setup fee and no annual charge on a standard online account.

Time to authorise
A few seconds
Money in bank
T+1
Typical cost
1.5% – 3%
Setup fee
₹0

How a payment gateway works, step by step

Seven steps, start to finish. The first six happen in a few seconds; the last one takes a working day.

  1. 1

    The customer chooses how to pay

    At checkout they pick UPI, card, net banking or a wallet. What they see here is the gateway's checkout, whether it sits on your page or opens over it.

  2. 2

    The gateway encrypts the details

    Card numbers and UPI credentials are encrypted immediately and never touch your servers. This is the single biggest reason to use a gateway rather than handling payments yourself — the compliance burden stays with a specialist.

  3. 3

    The request goes to the acquiring bank

    The acquirer is the bank on the merchant's side of the transaction. It receives the authorisation request and routes it onward.

  4. 4

    The card network or UPI routes it to the customer's bank

    Visa, Mastercard, RuPay or the UPI network carries the request to the issuing bank — the bank that gave the customer their card or holds their account.

  5. 5

    The customer's bank approves or declines

    It checks the balance or credit limit, applies its own fraud rules, and requires authentication — a UPI PIN or an OTP. This is where a payment most often fails, and usually for a mundane reason like an insufficient balance.

  6. 6

    The answer travels back and your site confirms the order

    The approval or decline returns through the same chain in seconds. Your website marks the order paid and sends the confirmation email. If this return trip is blocked — by a caching or firewall plugin — a paid order can wrongly show as pending.

  7. 7

    Settlement moves the money to your bank

    Authorisation is a promise; settlement is the money. On a standard T+1 cycle it reaches your bank the next working day, as a batch of many transactions net of fees.

Who is who in a payment

Five parties are involved in every online payment. Knowing which is which makes every pricing page and every failure message easier to read.

PartyWhat it doesWhich one is yours
MerchantSells the goods or service and receives the moneyYou
Payment gatewayCaptures the payment, encrypts it, returns approve or declineYour provider
Payment processorMoves the transaction between banks and networks, handles settlementUsually the same provider
Acquiring bankThe bank on the merchant's side that receives the transactionArranged by your provider
Issuing bankThe customer's bank — approves or declines, holds the moneyThe customer's
Card network / UPIRoutes the transaction between the two banksVisa, Mastercard, RuPay, NPCI

In India you normally deal with one payment service provider that bundles gateway, processing and acquiring into a single account and a single rate — which is why most merchants never meet these distinctions.

The three types of payment gateway

The difference is where the payment actually happens, and who carries the compliance.

Hosted

The customer is redirected to the provider's page to pay, then sent back. Simplest to set up and lightest on compliance, but every redirect is a moment a shopper on a slow connection can lose confidence.

Self-hosted / API integrated

The payment happens on your own site through the provider's API. You control the experience completely and carry more responsibility for security. Right for larger stores with development resources.

In-context / popup

The payment window opens over your own page without a redirect. The now-common default: it converts better than a redirect while the compliance burden stays with the provider.

No gateway at all — links and QR

Not a type of gateway so much as a way of skipping the integration. A payment link or dynamic QR collects money with no website and no code, which is how most small Indian businesses start.

New merchants pay 0% on domestic UPI, card, net banking and wallet transactions — up to ₹20 lakh a month, until 31 March 2027.

What you need before you apply

Every Indian provider asks for roughly this set. Having it ready turns a multi-day application into one sitting.

  • Business PAN — and the proprietor's PAN for a sole proprietorship
  • Bank account proof: a cancelled cheque or an account statement, in the same entity's name
  • Registration document matching your entity type
  • GSTIN where your business is registered for GST
  • A live website or app with contact, terms, privacy, refund and shipping policy pages
  • The signatory's Aadhaar-linked mobile for KYC

Why a payment can fail, and what each failure means

Most failed payments are not technical faults. The commonest by a distance is an insufficient balance or a limit on the customer's side, followed by a customer abandoning the authentication step — closing the tab at the OTP or the UPI PIN. Neither is something your website did wrong, and neither is worth chasing an engineer over.

The failures worth investigating are the ones where the money left the customer but your order stayed unpaid. That almost always means the confirmation could not get back to your site: a caching plugin serving a stale checkout page, a firewall blocking the provider's return request, or the shopper closing the browser before being redirected back. The fix is to exclude cart and checkout pages from caching and allow the provider's return URL through any security plugin.

One rule protects you from the rest: the gateway dashboard is the record of truth, never the customer's screenshot. Forged payment screenshots are the most common small-merchant fraud in India, and they only work on businesses collecting through a personal UPI ID with nothing to check against.

Payment gateway basics — frequently asked questions

What is a payment gateway?

A payment gateway is the service that takes a customer's payment details at checkout, sends them securely for authorisation, and tells your website whether the payment succeeded — so an order can be confirmed. It sits between your website and the banking system, encrypting card and UPI details so they never touch your servers, checking the payment for fraud, and returning a yes or no in seconds. Without one, a website can display prices but cannot take money.

How does a payment gateway work, step by step?

The customer chooses a payment method at checkout and the gateway encrypts their details. It sends the request to the acquiring bank, which routes it through the card network or UPI to the customer's bank. That bank checks the balance or credit limit and any authentication — an OTP, a UPI PIN — and approves or declines. The answer travels back through the same chain, and the gateway tells your website, which confirms or fails the order. The whole loop takes a few seconds. The money itself moves later, in the settlement cycle, usually reaching your account the next working day.

What is the difference between a payment gateway and a payment processor?

The gateway is the front door and the processor is the plumbing. The gateway captures the payment at checkout, secures the data and returns the approve-or-decline answer; the processor moves the transaction between the acquiring bank, the card networks and the issuing bank, and handles settlement. In India most merchants never deal with the two separately, because payment service providers bundle gateway, processing and settlement into a single account and a single rate.

What is the difference between a payment gateway and a merchant account?

A merchant account is where money lands after a payment is processed; the payment gateway is what captures and authorises that payment in the first place. Historically a business had to arrange each separately with a bank. Today Indian payment service providers issue both together — you open one account, and the provider settles into your ordinary business bank account, which is why most merchants never encounter the distinction.

What are the types of payment gateway?

There are three practical types. A hosted gateway redirects the customer to the provider's page to pay — simplest to set up and lightest on compliance. A self-hosted or integrated gateway keeps the payment on your own site through an API, giving you control of the experience and more responsibility for security. An in-context or popup gateway sits between the two: the payment window opens over your page without a redirect, which is now the common default because it converts better than redirecting while keeping the compliance burden with the provider.

Give an example of a payment gateway transaction.

A customer buys a ₹1,000 item on your site and chooses UPI. The gateway opens their UPI app with the amount filled in; they approve with their PIN. Their bank checks the balance and approves, the answer returns through the gateway, and your site confirms the order — all within a few seconds. At a 2% rate you are charged ₹20 plus ₹3.60 GST, and ₹976.40 reaches your bank account the next working day.

Why do I need a payment gateway for my website?

Because a website can display a price but cannot collect money on its own, and it must never store card details itself. The gateway handles encryption, authentication and fraud checks, keeps card data off your servers so the compliance burden stays with a specialist, and gives you an auditable record of every transaction. The alternative — asking customers to transfer to a personal UPI ID — has no confirmation, no refunds, no records for GST, and risks your account being frozen for business-like activity.

Is a payment gateway safe?

A regulated payment gateway is considerably safer than handling payment details yourself. Card data is encrypted and tokenised so it never reaches your servers, transactions are screened for fraud, and providers operate under RBI regulation and card-network security standards. The realistic risks sit on the merchant's side: a compromised admin login, an unpatched website, or accepting a customer's screenshot as proof of payment instead of checking the gateway dashboard.

What payment methods can a payment gateway accept in India?

UPI across all apps including intent and QR, RuPay, Visa, Mastercard, Amex and Diners cards, RuPay credit card on UPI, net banking across major Indian banks, wallets, buy-now-pay-later, EMI in card, cardless and no-cost forms, and international cards for exporters. For most Indian businesses UPI now carries the majority of transactions, which matters when comparing pricing.

How much does a payment gateway cost?

You pay a percentage of each successful transaction — broadly 1.5% to 3% depending on the payment method — plus 18% GST on that fee, with no setup fee and no annual maintenance charge on a standard Indian online account. Domestic UPI, cards and net banking sit at the lower end; international cards and EMI cost more. Cashfree publishes a standard domestic rate of 1.95%, with 0% for new merchants on up to ₹20 lakh a month until 31 March 2027.

How long does it take to get a payment gateway?

Usually a few working days. Signing up takes minutes, and the time is spent on KYC review — your business PAN, bank proof, entity registration document and, where you have goods to ship, the policy pages on your website. Approval depends on how complete the documents are rather than on how large the business is. Missing website policy pages are the most common reason an application is delayed.

Can I accept online payments without a payment gateway?

Only in ways that do not scale. A personal UPI ID or a bank transfer gives you no automatic confirmation, no refund mechanism, no dispute support and no clean records — and banks freeze personal accounts showing business transaction patterns. If you want to avoid building an integration rather than avoid a gateway, payment links and hosted payment pages let you collect through a provider without a website at all.

What is MDR in a payment gateway?

MDR — merchant discount rate — is the percentage deducted from a merchant's sale on a card or digital transaction, shared between the acquiring bank, the card network and the payment provider. In everyday Indian usage, MDR and payment gateway charges mean the same thing to a merchant. RBI has mandated zero MDR on UPI and RuPay debit for merchant transactions in specified categories, which is a large part of why UPI is cheap to accept.

What is settlement, and when does the money reach my bank?

Settlement is the transfer of collected money from the provider into your bank account, and it happens after authorisation, not at the same time. The standard Indian cycle is T+1 — one working day after the transaction — with faster settlement available as a paid feature. A settlement arrives as a batch of many transactions net of fees, which is why you reconcile from the provider's report rather than your bank statement.

Ready to take payments on your own site?

One account covers UPI, cards, net banking, wallets and EMI. New merchants pay 0% on up to ₹20 lakh a month of domestic transactions until 31 March 2027, with no setup fee and no annual charge.

Certified Cashfree Payments Partner

Certified Cashfree Payments partner

Sources & disclosure

  • RBI — Payment and Settlement Systems in Indiahttps://www.rbi.org.in/Scripts/PublicationsView.aspx?id=17492
  • NPCI — UPI product overviewhttps://www.npci.org.in/what-we-do/upi/product-overview
  • Cashfree Payments — payment gateway chargeshttps://www.cashfree.com/payment-gateway-charges/

Read 20 August 2026. Rates, product features and promotional terms change — confirm the current details on the provider's own pages before you sign up. Bill Bazaar is an independent referral partner for Cashfree Payments and may earn a commission if you open an account through a link on this page, at no extra cost to you. We are not Cashfree: pricing, approval, KYC and support are handled by them directly. Nothing here is tax, legal or financial advice.