What Is UPI?

UPI (Unified Payments Interface) is India’s real-time payment system, run by NPCI. It connects payment apps (PhonePe, Google Pay, Paytm, your bank’s app, whichever you use) to almost every bank, so money can move from any bank account to any other in seconds, at any hour, using just a UPI ID or a QR code.

Who Is Involved

  • Your UPI app: the screen you use. It works through a partner bank, called the payment service provider (PSP).
  • NPCI: the central switch. It knows which bank each UPI ID belongs to and passes messages between banks.
  • Your bank (the remitter): checks your UPI PIN and balance, and debits your account.
  • The shop’s bank (the beneficiary): credits the shop’s account.

How a UPI Payment Works, Step by Step

The QR code at the shop holds the shop’s UPI ID (for example shop@bank) and its name, sometimes the amount too. When you scan it and enter your PIN:

Your UPI apppayerNPCIthe UPI switchYour bankremitterShop’s bankbeneficiary1. pay ₹500 to shop@bankfinds the shop’s bank2. debit request + encrypted PINchecks PIN and balance3. debited4. credit the shop5. credited6. Success (shop notified too)
A UPI payment: NPCI sits in the middle, your bank debits, the shop’s bank credits, and both phones get the result.
  1. Your app sends the payment request to NPCI.
  2. NPCI looks up shop@bank and finds which bank the shop’s account is in.
  3. NPCI sends a debit request to your bank, with your PIN in encrypted form.
  4. Your bank checks the PIN and your balance, and debits your account.
  5. NPCI asks the shop’s bank to credit the shop.
  6. The shop’s bank confirms, and NPCI tells both apps: Success.

Why Your UPI PIN Is Safe

Your UPI PIN is encrypted on your phone and checked only by your own bank. The app and NPCI pass it along without being able to read it. Your UPI app is also tied to your phone and your bank-registered mobile number (that’s the SMS check when you set it up), so knowing your PIN alone isn’t enough to pay from someone else’s phone.

Money Moves Now, Banks Settle Later

You see the money leave your account instantly, but banks don’t send each payment to each other one by one. NPCI adds up what every bank owes every other bank, and the net amounts are settled through accounts at the RBI, in several cycles a day. It’s the same idea as the clearing corporation in the stock market: settle the difference, not every trade.

UPI Payment Pending, or Money Debited but Not Received?

Each payment crosses several systems. If one of them is slow to reply, your bank may have debited you while the final confirmation hasn’t come back yet. The app then shows pending, and checks the status again until it knows.

  • Most pending payments resolve on their own, either completing or reversing automatically.
  • RBI sets refund deadlines. At the time of writing: if money left your account but didn’t reach the person you paid, it must be reversed by the next working day (T+1); for a shop payment that wasn’t confirmed, within T+5. After that, the bank owes you ₹100 a day.
  • If it isn’t resolved: raise it in the UPI app first, then with your bank, then with the RBI Ombudsman.

Credit Cards on UPI

RuPay credit cards can now be linked to UPI apps, so you can pay a UPI QR code from your credit card. The payment travels over UPI, but the money comes from your card’s credit limit and appears on your card bill. How a card payment itself works is in What Happens in the 3 Seconds After You Tap Your Card?

For Engineers: Why “Pending” Exists

A UPI payment is a distributed transaction across at least four systems, and any reply can be lost. Three rules keep money from being lost or moved twice: every payment has a unique transaction ID, so a retried message can be recognised and ignored (idempotency); a payment with no final answer stays pending and is resolved by a status check, never by guessing; and every bank reconciles its records against NPCI’s every cycle.

This article explains how the systems work. It is not financial advice, and limits and rules change: check the current ones with RBI, NPCI or your bank.