Scan to Pay Explained: How UPI QR Payments Work and Stay Safe

Scan to pay means paying by scanning a QR code with a payment app. In India this mostly uses UPI (Unified Payments Interface), run by NPCI. The QR code contains a payment address (VPA, such as shop@bank), the payee's name and sometimes a fixed amount.

Jul 22, 2025 - 10:14
Updated: 
106.3k

Cyber Threats, Scams & Online Safety in Cybersecurity & Ethical Hacking · Career guidance

Scan to Pay Explained: How UPI QR Payments Work and Stay Safe

Quick answer: Scan to pay means paying by scanning a QR code with a payment app. In India this mostly uses UPI (Unified Payments Interface), run by NPCI. The QR code contains a payment address (VPA, such as shop@bank), the payee's name and sometimes a fixed amount. When you scan it, your UPI app shows the payee, you confirm the amount and enter your UPI PIN, your bank debits your account, and the payee's bank credits theirs within seconds. The most important safety rule: you only scan and enter your PIN to pay money, never to receive it.

Key takeaways

  • A QR code is just a container for payment details; your PIN authorises the payment.
  • Static QR codes are reused; dynamic QR codes carry a specific amount and reference.
  • Always check the payee name shown in your app before entering the PIN.
  • Scammers send QR codes claiming you will "receive" money; scanning one makes you pay.
  • Report fraud quickly to your bank and on 1930 or cybercrime.gov.in.

Table of Contents

What Is Scan to Pay?

Scan to pay replaces cards and cash with a phone camera. In India, UPI QR codes are accepted by apps from banks and payment providers. NPCI sets the UPI rules; banks hold the accounts. Internationally, many systems follow EMVCo's QR specifications.

What Is the Difference Between Static and Dynamic QR?

Static QRDynamic QR
Used bySmall shops, printed stickersBilling counters, online checkouts
AmountEntered by the payerPre-filled for a specific bill
ReferenceNone or genericUnique transaction reference
RiskCan be covered by a fraudulent stickerHarder to tamper with, generated per sale

What Is Inside a UPI QR Code?

A UPI QR encodes a link such as:

upi://pay?pa=shop@examplebank&pn=Example%20Store&am=250.00&cu=INR&tn=Invoice%20123
ParameterMeaning
paPayee address (VPA)
pnPayee name
amAmount (optional)
cuCurrency (INR)
tnTransaction note

This Python snippet decodes a UPI link so you can see exactly what it asks for:

from urllib.parse import urlparse, parse_qs
link = "upi://pay?pa=shop@examplebank&pn=Example%20Store&am=250.00&cu=INR"
params = {k: v[0] for k, v in parse_qs(urlparse(link).query).items()}
print(params)   # {'pa': 'shop@examplebank', 'pn': 'Example Store', 'am': '250.00', 'cu': 'INR'}

Note that the payee name in the QR is not verified by itself; your app shows the name registered with the bank, which is what you should check.

What Happens Step by Step?

  1. You open your UPI app and scan the QR code.
  2. The app reads the payee address and asks NPCI's network to confirm the registered name.
  3. You check the name and amount, then enter your UPI PIN.
  4. Your bank verifies the PIN and debits your account.
  5. NPCI routes the payment; the payee's bank credits their account.
  6. Both parties receive confirmation, usually within seconds.

Which QR Payment Scams Should You Know?

  • "Scan to receive money": a buyer on a classifieds site sends a QR saying you will receive payment. Scanning and entering your PIN sends money to them. You never need a PIN to receive.
  • Sticker swap: a fraudster's QR is stuck over a shop's code.
  • Fake support: a caller posing as bank or app support asks you to scan a code for a "refund".
  • Collect requests: unexpected payment requests in your app that look like refunds.
  • Malicious links: QR codes that open phishing websites rather than payment apps.

The Reserve Bank of India publishes customer awareness material on these frauds.

How Can Merchants Protect Themselves?

  • Use soundbox or app notifications to confirm every payment, not the customer's screen.
  • Check printed QR codes regularly for tampering.
  • Prefer dynamic QR at billing counters.
  • Never share UPI PINs or OTPs with anyone, including staff.

What Should You Do If You Are Cheated?

  1. Call your bank immediately to report and request blocking.
  2. Call 1930 or file a complaint at cybercrime.gov.in; speed improves the chance of freezing funds.
  3. Report fraudulent numbers through Chakshu on Sanchar Saathi.
  4. Keep screenshots, transaction IDs and the QR image.

Related: AI phishing and deepfake scams. WebAsha offers cyber awareness training.

References

Frequently Asked Questions

Paying by scanning a QR code with a payment app, which in India usually uses UPI.

No. You never scan a code or enter your UPI PIN to receive money; that is a common scam.

Static QR is reused and the payer enters the amount; dynamic QR is generated per bill with the amount pre-filled.

A upi://pay link with the payee address, name, and optionally amount, currency and a note.

Check the registered payee name your app displays before entering your PIN.

Yes. Fraudsters may stick their own QR over a shop’s code, so check the payee name.

Call your bank, call 1930 or report at cybercrime.gov.in quickly, and keep transaction evidence.

The National Payments Corporation of India (NPCI), under the oversight of the Reserve Bank of India.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Vaishnavi

Vaishnavi is a skilled tech professional at the Ethical Hacking Training Institute in Pune, responsible for managing and optimizing the technical infrastructure that supports advanced cybersecurity education. With deep expertise in network security, backend operations, and system performance, she ensures that practical labs, online modules, and assessments run smoothly and securely. Her behind-the-scenes contributions play a vital role in delivering a seamless and secure learning experience for aspiring ethical hackers.