Technical Differences Between Static and Dynamic QR Codes in UPI
Scan a laminated sticker taped to a neighborhood tea stall, and your phone asks you to type the rupee amount manually. Scan a QR code displayed on a supermarket billing screen or an e-commerce checkout page, and the exact ₹1,482 bill locks into your Stashfin UPI screen automatically.
Both squares follow the National Payments Corporation of India (NPCI) BharatQR / UPI QR specification, yet under the hood, static QR codes and dynamic QR codes encode completely different data payloads, behave differently during reconciliation, and carry distinct security trade-offs.
How UPI QR Codes Encode Payment Data Under the Hood
Every standard Indian UPI QR code is simply a visual wrapper around a structured URI string starting with upi://pay?. Inside that string sit standardized NPCI parameters:
pa(Payee Address): The merchant's Virtual Payment Address (VPA), such asstorename@okicici.pn(Payee Name): The registered business or individual display name.mc(Merchant Category Code): A 4-digit code identifying the business type (such as groceries, dining, or utilities).am(Amount): The exact transaction value in INR (optional in static codes, mandatory in dynamic codes).trandtn(Transaction Reference & Note): Unique invoice or order identifiers generated per checkout.
Static QR Codes: Fixed Payload, Manual Amount Entry
A static QR code encodes a permanent, unchanging upi://pay string containing only the merchant's VPA (pa), display name (pn), and merchant category (mc). Because the data pattern never changes, one single printed sticker works for every customer all day long.
- How the payer flow works: You scan the sticker with Stashfin UPI, type the rupee amount manually on your keypad, verify the merchant name, and enter your UPI PIN.
- Best real-world fit: Kirana stores, street vendors, auto-rickshaws, clinics, and independent freelancers who want zero hardware maintenance, zero POS software integration, and instant setup.
- Operational trade-offs: Because customers type the amount themselves, human typos happen easily (paying ₹150 instead of ₹1,500, or overpaying by an extra zero). For merchants processing hundreds of daily orders, matching incoming bank credits against specific customer bills requires manual effort unless paired with a voice soundbox.
Dynamic QR Codes: Single-Use, Transaction-Specific Payloads
A dynamic QR code is generated programmatically via payment-gateway or POS APIs for one specific customer bill and expires shortly after checkout. Alongside pa and pn, its encoded string injects the exact bill amount (am), a unique invoice/order reference ID (tr), and often a digital signature (sign) validating authenticity.
- How the payer flow works: You scan the terminal screen or monitor, your UPI app displays the pre-locked rupee amount (which cannot be edited on your phone), and you simply tap Pay and enter your UPI PIN.
- Best real-world fit: Supermarkets, quick-service restaurant kiosks, e-commerce checkouts, hospital billing counters, and utility portals handling recharge and bill payments and credit card bill payments.
- Operational trade-offs: Dynamic QRs eliminate underpayments, tie every 12-digit UPI reference straight to a specific invoice ID via automated webhooks for instant ERP reconciliation, and speed up checkout queues, at the cost of requiring internet-connected POS screens, billing software, or payment-gateway integration.
Security Implications for Payers and Merchants
From a UPI security and safety perspective, dynamic QR codes offer stronger protection against two common risks:
- QR sticker-tampering protection: Fraudsters occasionally paste fake static QR stickers over legitimate unmanned display stands at parking lots or busy counters. Because dynamic QRs render live inside a merchant's billing terminal or encrypted checkout session, physical sticker swapping is impossible.
- Pre-locked amount integrity: Signed dynamic QRs prevent tampering with bill totals mid-checkout. When scanning any static QR sticker at an unstaffed counter, always read the verified banking name displayed inside your UPI app aloud or confirm it with the shopkeeper before entering your UPI PIN.
Also keep NPCI's ₹2,000 limit on gallery QR scans in mind: if you save a QR code image to your phone gallery and upload it inside a UPI app rather than scanning live with your camera, NPCI caps the transfer at ₹2,000 as an anti-phishing safeguard (detailed in our guide on UPI limits and charges).
If a QR payment ever debits your account while the merchant's screen fails to confirm receipt, copy the 12-digit reference ID and verify live progress via UPI transaction status or UPI failed transactions and refunds before scanning again.
Keeping daily QR spending, utility bills, and monthly statements organized protects your broader financial standing on your credit health report. Whenever a business upgrade, POS rollout, or unexpected personal expense requires structured short-term funding, you can estimate monthly installments on the personal loan EMI calculator or check eligibility for an unsecured personal loan through the Stashfin personal loan app, offering loan amounts from ₹1,000 to ₹5,00,000, tenures of 3 to 48 months, Annual Percentage Rates (APR) ranging from 11.99% to 59.99% p.a. based on credit profile, and NIL foreclosure charges on eligible loans (*T&C Apply).
Representative Loan Example (Key Fact Statement Summary):
If you borrow ₹1,00,000 for 12 months at an APR of 18% p.a., with an upfront platform or transaction fee of ₹2,000 + ₹360 GST (18%), your monthly EMI comes to ₹9,168, and total repayment equals ₹1,10,016 (excluding the upfront fee and GST).
Regulatory Disclosure: UPI QR specifications, transaction limits, and settlement rules are governed by NPCI and RBI guidelines. Stashfin is a trademark of EQX Analytics Private Limited. It operates as a Digital Lending Application (DLA) in partnership with Akara Capital Advisors Private Limited, an RBI-registered NBFC, and other regulated lending and banking partners. All loans and payment services are subject to credit assessment, KYC verification, and applicable terms and conditions.
