What Is an Online Payment Gateway?
Every UPI tap and card swipe has to travel somewhere before the money becomes yours.
An online payment gateway is the software layer that captures a customer’s payment details at checkout, encrypts them, and routes the transaction to the bank or card network for approval. The gateway carries the request and brings back the yes or no. Your money never sits with it. For an Indian merchant, that is the gap between a payment being approved at 8.42 pm and the amount showing up in a current account the next working day.
It is the online link in a longer chain. A contactless payment tapped at a physical counter routes through the acquiring bank’s terminal network instead, and a QR code billing scan travels over the UPI rails. Different roads, same destination: money owed to you, paid in later.
How the Money Moves From Checkout to Bank Account
Owners picture one instant transfer. There are two clocks running: approval, which finishes in seconds, and money, which usually finishes a day later.
| Stage | What happens | Who does it |
|---|---|---|
| Checkout | Customer picks UPI, card, wallet or net banking | Customer |
| Routing | Details are encrypted and sent to the acquiring bank | Payment gateway |
| Approval | The payment is approved or declined | Issuing bank or UPI app |
| Confirmed | Order marked paid and the invoice raised | Your billing software |
| Pooling | Collected funds sit in an escrow account | Payment aggregator |
| Credited | Net amount reaches you, minus fees | Aggregator to your bank |
Only after that last row can your accountant tie the day’s books to the bill settlement process.
Payment Gateway vs Payment Aggregator
Two different jobs, two different entities, and usually one brand name sitting on top of both.
| Aspect | Payment gateway | Payment aggregator |
|---|---|---|
| Main job | Routes and authorises the transaction | Collects the money and settles it to you |
| Your funds | Never held by it | Held in an escrow account |
| RBI licence | Not required, being a technology provider | Required for non-bank aggregators |
| Your cost | Nothing directly | Set by the fee and settlement terms you sign |
The RBI Master Direction on Regulation of Payment Aggregators, issued on 15 September 2025, repealed the 2020 and 2021 guidelines. Non-bank aggregators now need RBI authorisation and must keep customer money in a segregated escrow account with a scheduled commercial bank. A gateway sits outside its scope, and is only encouraged to follow the baseline technology norms.
Before comparing quotes, ask which entity holds the licence. A vendor evaluation template scores providers on fees, settlement cycle and support better than a sales pitch does.
Online Payment Gateway Example
Take a two-counter home décor store in Warangal closing its books for 14 July.
| Payment mode | Collected (Rs.) | Gateway charge (Rs.) | Credited 15 July (Rs.) |
|---|---|---|---|
| UPI | 41,260 | Nil | 41,260 |
| RuPay debit card | 9,180 | Nil | 9,180 |
| Credit card | 14,720 | 265 | 14,455 |
| Net banking | 3,260 | 59 | 3,201 |
| Total | 68,420 | 324 | 68,096 |
Note: this is an invented example for illustration only. The store, amounts and charges are not real and will differ by provider and contract.
Why does the bank statement read Rs.68,096 on the 15th when the POS reported Rs.68,420? Because the gateway charge came off before the credit landed, and that shortfall is not an error. GST on the fee is billed on top, and where you are eligible it comes back as input tax credit.
Why Gateway Charges Deserve a Close Look
Nil on one mode, a percentage on the next. Gateway pricing is not one rate. Since 1 January 2020, merchant discount rate (MDR) on UPI person-to-merchant payments and RuPay debit cards has been nil, under Section 10A of the Payment and Settlement Systems Act, 2007 and Section 269SU of the Income-tax Act, 1961.
But one exception catches retailers out. Pay more than Rs.2,000 from a wallet over UPI and an NPCI interchange applies on the merchant side, and the rate moves with your merchant category: 1.1% by default and for speciality retail, 0.9% for supermarkets, 0.7% for education, utilities and telecom, and 0.5% for fuel.
Credit cards, non-RuPay debit cards and net banking carry a commercial charge, negotiated between you and your provider. On thin margins, run those card sales through a profit margin calculator before assuming the fee is too small to matter.
Card safety changed too. Under RBI’s card-on-file tokenisation framework, issued in September 2021 and in force from 1 October 2022 after two extensions, no one in the payment chain except the card issuer and the network may store actual card data, so gateways work with tokens.
Pick the Best Billing Software for Payments
Approvals are the easy part now. Month-end is the messy part, when the bank credit, the gateway fee and the invoice must agree.
That is the job of the best billing software for payments. It is why the mode of payment gets logged against every bill on Petpooja POSS for restaurants and on Petpooja Invoice for retail counters, so a UPI sale is never counted as cash. Across 1,00,000+ restaurants and 8,000+ Invoice businesses, that one record turns a settlement statement into a two-minute check. Worth seeing what online payment management looks like once every payment has a bill behind it.
Frequently Asked Questions
No. The gateway is the technology that routes and authorises a transaction, while the aggregator collects the customer’s money and settles it to your account. Most well-known Indian providers offer both, which is why the two names get used loosely.
Nil MDR, since 1 January 2020, on UPI person-to-merchant and RuPay debit card payments. The catch is wallet-funded UPI above Rs.2,000, which carries an NPCI interchange on the merchant side, and your provider may bill a platform fee separately.
If your turnover crossed Rs.50 crore in the preceding year, Section 269SU requires you to offer the prescribed electronic modes, which include RuPay debit cards, UPI and UPI QR. Smaller businesses are not covered, though most take digital payments anyway.
It depends on your contract. The next working day is common, and RBI’s 2025 Master Direction requires the aggregator’s agreement with you to state the settlement timeline transparently. Check the cut-off time and any hold on disputed transactions before you plan cash flow around it.
Not since 1 October 2022. Only the card issuer and the card network may hold the actual card data, so gateways and merchants work with a token that stands in for the card, plus the last four digits and the issuer name for tracking.
