Article

The best payment gateway in India for apps

If your app takes money from customers in India, the payment gateway you pick decides how much you keep, how fast you get paid, and how many people abandon at checkout. There is no single "best" gateway for everyone — the right answer depends on your business type, your average ticket size, and whether you lean on UPI or cards. This guide walks through the gateways that actually matter in India, what they cost, and how to wire one into an app without getting lost in integration work.

What a payment gateway actually does

A payment gateway is the layer that securely collects a customer's money — via UPI, cards, net banking, or wallets — and moves it into your bank account. It handles the sensitive card data (so you stay out of most PCI-DSS scope), talks to the banks and UPI network, retries failed transactions, and gives you a dashboard plus webhooks so your app knows when a payment succeeded. In India you usually also need it to support UPI collect and intent flows, because UPI is now the dominant way people pay.

The main payment gateways in India

Four names come up again and again for app founders. Each is a real, RBI-compliant option; the differences are in pricing structure, onboarding speed, and developer experience.

GatewayTypical feeBest forNotes
Razorpay~2% cards, UPI often free/lowStartups & SaaSStrong docs, fast onboarding, wide product suite
Cashfree~1.75-2%Payouts & marketplacesGood for bulk payouts and refunds
PayU~2%High-volume merchantsEstablished, broad bank coverage
Stripe~2-3% + intl.Global/exportsBest if you also bill foreign customers

Published rates are starting points. Once you cross meaningful monthly volume, almost every gateway will negotiate — ask for a custom rate before you assume the sticker price is final.

How to actually choose

Instead of chasing the lowest headline fee, weigh the factors that hit your specific business. A ten-rupee-per-order snack app and a fifty-thousand-rupee B2B invoice tool have completely different needs.

  • Payment mix: If most customers pay by UPI, prioritise a gateway with strong, cheap UPI — the percentage fee on a card matters less.
  • Settlement time: Standard is T+2 working days. If cash flow is tight, look for T+1 or instant settlement (often at extra cost).
  • Ticket size: On low-value orders a flat per-transaction fee can hurt more than a percentage; check both.
  • Refunds and payouts: Marketplaces paying out to vendors should confirm payout support and its cost.
  • Onboarding: You'll need PAN, GST (if registered), a bank account, and business proof. Some gateways activate in a day; others take a week.

Integrating a gateway into your app

The integration pattern is similar across gateways. Your app's backend creates an order with the gateway's API and gets back an order ID. The frontend opens the gateway's checkout (a hosted page or SDK), the customer pays, and the gateway redirects back with a signature. Your backend then verifies that signature and, critically, listens to a server-side webhook to confirm the payment before it fulfils the order. Never mark an order paid based only on the browser redirect — a webhook is the source of truth.

The part that trips up first-time founders is the backend: you need a real server, an API secret kept off the client, an orders table in a database, and webhook handling. This is exactly the plumbing that stalls a lot of projects.

Where Kashvi fits

Kashvi is an AI app builder: you describe your app in plain English and it generates a real, working product — a real Postgres database, real user sign-up and login, a live preview, and full downloadable code you own with no lock-in. It builds web apps and real Android and iOS apps through React Native. Razorpay and UPI are treated as first-class, so payment flows, an orders table, and webhook handling can be scaffolded for you rather than assembled by hand. You still bring your own gateway account and keys — Kashvi does not become a middleman on your money — but it removes the days of backend wiring between "I picked Razorpay" and "my app takes real payments." Because billing is transparent and credits are refunded when an AI generation fails, you are not paying for output you can't use.

Pick the gateway that matches your payment mix and settlement needs, keep your secret keys server-side, verify every payment with a webhook, and you'll have a checkout that Indian customers actually complete.

Questions

Frequently asked

Which is the best payment gateway in India for a small app?
For most early-stage apps, Razorpay is a strong default — quick onboarding, clear documentation, and solid UPI support. But if you do a lot of vendor payouts, Cashfree may suit you better, and if you bill foreign customers, Stripe is worth adding. Match the gateway to your payment mix rather than the lowest advertised fee.
How much do Indian payment gateways charge?
Card and net-banking transactions typically run around 2%, while UPI is often free or heavily discounted. Rates are negotiable once you have consistent volume, so ask for a custom quote instead of accepting the published price.
Do I need a GST number to use a payment gateway?
Not always. You can usually onboard with a PAN, a bank account, and business proof. A GST number is required if your business is GST-registered, and providing it can affect the tax treatment of your fees. Check each gateway's current onboarding requirements.
How fast do I get my money?
Standard settlement is T+2 working days, meaning money reaches your bank two working days after the transaction. Many gateways offer T+1 or instant settlement for an additional charge if cash flow matters.
Can Kashvi connect my app to Razorpay?
Yes. Kashvi treats Razorpay and UPI as first-class, so it can scaffold the checkout, orders table, and webhook verification in a generated app. You supply your own Razorpay account and keys — Kashvi never sits between you and your money — and you get downloadable code you fully own.
Why is a webhook important for payments?
The browser redirect after checkout can be interrupted or spoofed, so it is not reliable proof of payment. A server-side webhook from the gateway is the source of truth — always verify the payment via webhook before fulfilling an order.

Keep exploring

Take real payments without the backend headache

Describe your app and Kashvi scaffolds a real database, login, and Razorpay/UPI checkout — with code you own.

Open the studio

Free to start · no credit card