high intent
Dynamic QR Code for UPI Merchants — Static vs Dynamic QR Explained
Static vs dynamic UPI QR codes explained. How restaurants and retailers use dynamic QR for order tracking, reconciliation, and tamper-proof payment collection.
Most merchants in India start with a static UPI QR — the kind printed on a sticker or displayed on a stand. It works, but it leaves money, data, and peace of mind on the table. This guide explains the difference between static and dynamic QR codes, why dynamic QR is the professional choice, and how to implement it with VyaparGateway.
What Is a Static UPI QR Code?
A static QR code encodes your UPI VPA (and optionally your name) but no amount. When a customer scans it, their UPI app opens with your VPA pre-filled but the amount field blank. The customer types in the amount themselves.
Problems with static QR:
- The customer can enter any amount — correct or incorrect
- If they type ₹100 instead of ₹1,000, the payment goes through without alert
- You have no order reference embedded in the transaction, making reconciliation a manual exercise
- The same QR is reused for every transaction — no per-order tracking
Static QR is adequate for a tea stall where amounts are small and disputes are rare. For any business with tickets above ₹200 or with volume reconciliation needs, it is insufficient.
What Is a Dynamic UPI QR Code?
A dynamic QR code encodes the full payment instruction:
- Your VPA (payee address)
- Exact amount (pre-filled, not editable by customer)
- Order ID / transaction reference
- Description (e.g., “Table 4 — Dine-in Order”)
- Expiry time
When the customer scans a dynamic QR, the UPI app opens with all fields populated and the amount locked. The customer only needs to authenticate with their UPI PIN. No manual entry. No wrong amounts.
How BharatQR Fits In
BharatQR is a standard jointly developed by NPCI, Visa, Mastercard, and Amex for interoperable QR payments. A BharatQR-compliant code can accept payments via UPI, Rupay, Visa, and Mastercard in a single scan. VyaparGateway generates UPI-standard dynamic QR codes. For merchants who need multi-rail QR (including card acceptance), an RBI-licensed Payment Aggregator with BharatQR certification is required.
Use Cases by Business Type
Restaurants and cafes: Your billing software generates a dynamic QR per table-order. Customer scans the QR at the table or at the counter, pays the exact bill amount, and the system marks the order as paid — no cashier involved.
Retail stores: POS generates a dynamic QR for each billing transaction. Amount is locked to the cart total. Eliminates cashier errors from miskeyed UPI amounts.
Service businesses: Consultants, salons, auto workshops generate a per-visit QR at service completion. The QR encodes the service charge and the customer’s name/reference, making records clean.
Event organisers: One QR per ticket category (e.g., Gold: ₹1,500; Silver: ₹800). Each QR can be configured for a maximum number of uses equal to seat inventory.
Housing societies: Monthly maintenance QR per flat — amount matches each flat’s maintenance due, with flat number embedded as order reference. Treasurer can instantly see who paid.
How VyaparGateway Generates Dynamic QR
From the VyaparGateway dashboard:
- Navigate to Create Order / QR.
- Enter amount, order ID (or let the system auto-generate), and description.
- Set expiry duration (10 min / 30 min / 1 hour / custom).
- Click Generate QR.
- A QR image appears on screen. Display it to the customer on a tablet, print it, or download it.
For high-volume merchants and developers, VyaparGateway’s API lets your billing software or POS generate dynamic QR codes programmatically per order — no manual dashboard interaction required.
Order ID Embedding for Reconciliation
The single biggest operational benefit of dynamic QR is embedded order tracking. Every dynamic QR carries your order ID as the UPI transaction note. When the payment webhook arrives, the payload includes your order ID, amount, and timestamp — your system can match it directly to the open order and mark it fulfilled.
At the end of the day, you can export a transaction report from VyaparGateway and match every payment to every order in your system. With static QR, you would have to match by amount and time — fragile and error-prone when multiple customers pay similar amounts.
QR Expiry and Security
A dynamic QR that has expired is useless to a fraudster. If a QR printout is stolen or photographed, it cannot be used after the expiry window. This is a meaningful security improvement over static QR, which is valid indefinitely.
Printing and Display Options
- On-screen display: Show QR on a tablet or second monitor at the billing counter.
- Printed per order: Some retailers print a small QR slip per order for the customer to scan at their seat.
- Permanent display: For fixed-price services (e.g., parking fee, one-price menu), print a QR and laminate it. Regenerate when the price changes.
Dynamic QR is not a complex technical upgrade — it is a settings change in how you generate your payment QR. The customer experience is identical to static QR. The operational difference for your business is significant.
Direct answers
Frequently asked questions
- What is the risk of using a static UPI QR at my shop?
- With a static QR, customers can modify the payment amount before confirming. If a customer accidentally enters ₹100 instead of ₹1,000, or deliberately underpays, you have no automatic way to catch the discrepancy at the moment of payment. Dynamic QR codes lock the amount, removing this risk.
- How long is a dynamic QR code valid?
- VyaparGateway dynamic QR codes can be configured to expire after a set time (e.g., 10 minutes or 30 minutes) or after the first successful scan-and-pay. Once paid, the QR becomes inactive automatically.
- Can I use dynamic QR across multiple shop branches?
- Yes. VyaparGateway supports multi-outlet configurations. Each branch can generate its own dynamic QR codes, with payments tracked and reported separately by outlet. Settlements go to outlet-specific or a central bank account per your configuration.
Build your payment flow
Explore the API and browser-only merchant tools.
Create UPI checkout orders, verify signed events, or test the free calculators and generators without exposing credentials.