How Does a UPI Payment Work, From Scan to “Successful”?

UPI (Unified Payments Interface) is India’s real-time payment system, run by NPCI. Your app, whether PhonePe, Google Pay, Paytm or your bank’s own, is only the front end. It works through a partner bank (the payment service provider), and the real work happens between NPCI and two banks: yours, which sends the money, and the shop’s, which receives it.

The QR code holds the shop’s UPI ID, something like shop@bank, its name, and sometimes the amount. Once you 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 request, through its partner bank, to NPCI.
  2. NPCI works out which bank shop@bank belongs to.
  3. It asks your bank to debit you.
  4. Your bank checks the PIN and the balance, and takes the money.
  5. NPCI tells the shop’s bank to credit the shop.
  6. The shop’s bank confirms, and both phones get the result.

Six steps, and any one of them can be slow. That’s where pending comes from, further down.

Can Someone Use Your UPI PIN?

Not easily. Your PIN travels encrypted: your app never sees it in readable form, and your bank is the one that checks it. UPI is also tied to your phone and the mobile number registered with your bank (that’s what the SMS check during setup is for), so someone who learns your PIN still needs your phone.

The real risk is being tricked into typing it. You need your PIN to send money, never to receive it. If someone asks for your PIN so they can pay you, it’s a scam. Since 1 October 2025, people can no longer send each other UPI collect requests, which closed one common trick, but the PIN rule still holds.

Do Banks Pay Each Other for Every UPI Payment?

No. Your balance drops within seconds and the shop sees the credit, but banks don’t pay each other one payment at a time. NPCI adds up what every bank owes every other bank, and the net amounts are settled through the banks’ accounts at the RBI, several times a day. The stock market works the same way: the clearing corporation settles the difference, not each trade.

UPI Payment Pending, or Money Debited but Not Received?

Pending means one of those steps didn’t get an answer in time. Often your bank has already debited you but hasn’t yet heard back about the credit. Nobody guesses: the banks and NPCI check the status until there’s a definite answer.

More than once, a UPI payment of mine has got stuck on pending. When that happens, I wait for some time first. If I still have to pay, I don’t try UPI again: I pay another way, usually cash or card, and keep an eye on the pending payment. In my experience it’s close to fifty-fifty, slightly more often a success: the payment goes through later, sometimes within a day, and I ask the shop to return the extra payment, showing both reference numbers. The rest of the time it fails, and the money comes back on its own.

What to do:

  1. Note the UPI reference number in your app’s payment details. The shop can match it against its own payment history.
  2. Wait a little. Most pending payments resolve on their own, either completing or reversing automatically.
  3. Know the deadlines. At the time of writing, RBI rules say money that left your account but didn’t reach the person you paid must be returned by the day after the payment (T+1); for a shop payment that wasn’t confirmed, within five days (T+5), counted in calendar days, not working days. After that, the bank owes you ₹100 a day, credited without you having to complain.
  4. If it’s still stuck, raise it in the UPI app first, then with your bank, then with the RBI Ombudsman.

It’s frustrating, but pending is the system being careful. Showing failed when the money actually arrived, or success when it didn’t, would be far worse.

Can You Pay a UPI QR With a Credit Card?

Yes, with a RuPay credit card linked to your UPI app, though only for paying shops, not for sending money to a person. The payment uses UPI, but the money comes from your card’s credit limit and appears on your card bill, not your bank statement. How the card side works is in What Happens in the 3 Seconds After You Tap Your Card?

For Engineers: Why Is “Pending” a Feature, Not a Bug?

Picture the bad case. Your bank debits you, the shop’s bank credits the shop, and then the confirmation gets lost on its way back to NPCI. Retry blindly and the shop might be paid twice; give up and you’ve paid for nothing.

UPI has a name for this state. When the shop’s bank doesn’t answer in time, NPCI marks the payment deemed approved instead of failing it, and doesn’t reverse your debit. That doesn’t yet mean the shop has the money. NPCI asks the shop’s bank for the status, and that bank must either credit the shop or send the money back. That is why a pending payment can end either way.

UPI handles it the way well-built payment systems do. Each payment carries a unique transaction ID, so a repeated message is recognised and dropped (idempotency). A payment without a final answer stays pending until a status check settles it. And banks reconcile their records against NPCI’s every settlement cycle, so anything that was missed gets caught. Payment gateways face the same problem from the shop’s side: see How Payment Gateways Work.

One problem remains. A dynamic QR, generated for each bill, can carry a unique bill reference. If the same bill is paid twice, the merchant’s system can recognise the duplicate and flag it for a refund. A QR printed on a shop counter identifies the merchant, but carries no bill reference. Two payments to the same QR could be an accidental duplicate or two genuine purchases, and the system cannot reliably tell the difference.

UPI already works smoothly for almost every payment. Allowing even static-QR payments to be linked to individual bills could make duplicates easier to catch and pending payments much less painful.

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.