What Is a UPI Payment Gateway and How Does It Actually Work?
VyaparGateway Team
Payments Editorial
If you sell anything online in India — a product, a subscription, a course, a consulting hour — at some point you have to figure out how to take money from a customer's bank account and put it into yours. In 2026, the cheapest and fastest way to do that is UPI: the Unified Payments Interface that has quietly become the default payment method for over 350 million Indians. A UPI payment gateway is the software layer that sits between your website or app and the UPI rails, doing the unglamorous work of generating QR codes, watching for incoming payments, and telling your system the moment money arrives.
This guide is a no-jargon walk through of what a UPI payment gateway actually does, how money flows through it, where the costs go, and what to look for when you're choosing one for your business. By the end you'll understand the difference between a gateway, a PSP, a switch, and your merchant bank — and why those distinctions matter for fees, settlement timing, and reconciliation.
What a UPI payment gateway actually is
Strictly speaking, NPCI (the National Payments Corporation of India) operates the UPI rails. Customers initiate payments inside their bank or third-party app — PhonePe, Google Pay, Paytm, BHIM, or a bank-branded app — and money moves directly from the customer's bank account to a merchant bank account, usually in a few seconds. There is no card network, no acquiring bank in the credit-card sense, and no per-transaction fee on the rails for person-to-merchant (P2M) UPI under ₹2,000 (and a flat ₹0 even above that, for most cases).
So where does a 'payment gateway' fit in if UPI itself is essentially free? The gateway is the technical layer that lets your business request a specific amount from a specific customer, attach an order reference, and find out — in real time — whether the payment succeeded. Without a gateway, you would be stuck giving every customer a static QR code, asking them to manually enter the amount, and reconciling bank statements by hand at the end of the day.
What a gateway does for you, step by step
Every UPI payment gateway, regardless of branding, does roughly the same five things. Understanding these steps makes it much easier to evaluate vendor differences.
- Generates a payment intent — when a customer checks out, the gateway creates a unique payment request that ties an amount, an order ID, and merchant context together. This is the 'dynamic QR' you see on modern checkouts.
- Surfaces the request to the customer — either as a QR code on screen, an intent deep link that opens the customer's UPI app pre-filled with the amount, or a payment link sent over WhatsApp or email.
- Waits for the customer to approve the payment inside their UPI app — this is the bit your business never touches. The customer's UPI app authenticates with their MPIN and sends the debit instruction to their bank.
- Detects the successful credit to the merchant bank account — this is where gateways differ a lot. Some poll the merchant's bank or PSP API; others receive a real-time push from a partner bank. Either way, the gateway is the first system that 'knows' the payment landed.
- Notifies your application via webhook — the gateway fires an HTTP POST to your server with the payment details, signed so you can verify it's authentic. Your application marks the order paid, ships the product, sends the receipt, and moves on.
Notice what the gateway is not doing: it is not holding your money, it is not authorising the customer, and it is not setting the price. It is purely the technical bridge that makes UPI feel like a real online payment method instead of a glorified bank transfer.
Who actually moves the money?
This is where most explanations get tangled. The four players in a typical UPI transaction are:
- The customer's bank — debits the customer's account. Authenticated by the customer's PIN inside their UPI app.
- The merchant's bank (or PSP) — receives the credit. For most small businesses this is a current account at an Indian bank; for larger merchants it may be a virtual account held by a payment service provider like BharatPe, PhonePe Business, HDFC Mintoak, or Cashfree.
- NPCI — operates the central switch that routes the debit and credit instructions in real time.
- The payment gateway — generates QRs, watches the merchant account for inflows, and emits webhooks to your system.
"The gateway never touches your money. It only watches for incoming payments and tells your application about them. Funds settle directly into the merchant bank account you've linked."
What does a UPI payment gateway cost?
Cost is the question every business owner asks first, and the answer depends entirely on the pricing model the gateway uses. There are broadly three: percentage-of-volume, flat per-transaction, and SaaS subscription.
- Percentage-of-volume — the legacy model copied from credit-card gateways. You pay something like 0.4%–2% of every UPI transaction plus GST. For a business doing ₹10L per month, this is ₹4,000–₹20,000 every single month, even though UPI itself costs nothing at the rails layer.
- Flat per-transaction — usually ₹1–₹5 per successful UPI payment. Better than percentage for high-ticket businesses; worse for high-volume low-ticket sellers.
- SaaS subscription — a fixed monthly fee regardless of volume. VyaparGateway is in this camp: you pay a predictable plan price and keep 100% of your customer's payment. This is the only model that aligns the gateway's incentives with yours.
The reason traditional percentage pricing persists is mostly historical: gateways inherited their economics from the card-network era when interchange fees genuinely existed. UPI broke that assumption. Any gateway charging you a percentage of UPI volume is keeping a margin that NPCI never asked for.
What to look for in a UPI payment gateway
Once you've ruled out the obvious dealbreakers — KYC support, multi-bank settlement, refund handling — five technical capabilities separate a usable gateway from one you'll regret integrating:
- Dynamic QR generation per checkout, not a single static QR. Static QRs require manual amount entry and break automated reconciliation.
- Webhook reliability with signed payloads and automatic retries. If your server is down for two minutes, the gateway should retry, not silently drop the event.
- Same-amount disambiguation — two customers paying ₹499 in the same minute should not collide in your reconciliation. The gateway needs intent-level matching, not just amount-matching.
- Idempotency on order creation — calling 'create payment intent' twice for the same order ID should return the same intent, not create a duplicate. Saves you from race conditions.
- Settlement transparency — clear visibility into when money actually lands in your bank account, and a readable transaction ledger you can hand to your CA at year-end.
How VyaparGateway fits in
VyaparGateway is a UPI payment gateway that gives you dynamic QR generation, HMAC-signed webhooks, intent-level reconciliation, and direct-to-bank settlement — without taking a percentage cut of your payments. You pay a flat monthly plan, your customer's money goes straight to your merchant bank account, and our APIs and dashboard handle the technical bridge in between. VyaparGateway helps you issue dynamic UPI QR codes, verify payments, and notify your stack via webhooks—without charging a per-transaction platform fee on top of your plan.
Frequently asked questions
- Is a UPI payment gateway the same as a payment service provider (PSP)?
- Not quite. A PSP is an entity that holds merchant funds and provides the underlying bank-side settlement (examples: BharatPe, Cashfree, Razorpay's PSP arm). A gateway is the software layer that generates payment requests, watches for incoming payments, and emits webhooks. Some companies do both; many only do one. VyaparGateway is a gateway — it integrates with PSP-grade merchant accounts but doesn't hold your funds.
- Do I need a current account or can I receive UPI to a personal account?
- For any business activity in India, you should receive UPI into a current account linked to a registered business entity (sole proprietorship, partnership, LLP, or private limited). Receiving business income into a personal savings account creates tax and KYC issues with your bank. Most banks will open a current account against a Udyam registration or GST certificate.
- How long does UPI settlement take?
- For most UPI P2M transactions, the credit hits your merchant bank account within seconds. Some PSP-backed merchant accounts batch settlements once or twice a day; direct UPI handles (linked to your bank account) settle in real time. VyaparGateway supports both flows and surfaces the actual settlement timing in your dashboard.
- Can I use a UPI payment gateway for international customers?
- UPI is currently for transactions originating from Indian bank accounts. NPCI has rolled out UPI international acceptance in select countries (UAE, Singapore, France, Bhutan, Nepal, Mauritius and a few others) but the customer still needs an Indian bank-linked UPI handle or a partner-app equivalent. For non-Indian customers, you'll need a separate international payment method.
Free tools for Indian merchants
No sign-up, no ads, no data selling
Use our free, browser-only tools whenever you need them. We don't store the values you enter or track you across the web.
📱 UPI QR Code Generator
Create UPI / URL / WhatsApp / WiFi QRs. Export as SVG or PNG.
🧮 GST Calculator (CGST + SGST + IGST)
Add or remove GST across 5%, 12%, 18%, 28% slabs.