Printed a code and need to change the link? QR Gen makes codes you can edit later.Edit codes after printing with QR Gen.See QR Gen

Open on your phone

UPI QR code for your shop: fixed amount or open

Make a UPI QR code for your shop counter: what each upi://pay parameter does, when to fix the amount, and how to lay out a sign customers trust.

For a shop counter, make an open-amount UPI QR code: it holds your UPI ID and your shop name, and the customer types the bill amount after scanning. Fix the amount only when every customer pays the same price. You can build either one in the UPI tab of the generator, print it, and test it from two different UPI apps before it goes on the counter.

Under the picture is a plain link that starts upi://pay. Once you can read that link, you can see why some codes ask for an amount and others do not, and why a sticker someone pasted over yours is easy to spot.

Here is the text our generator writes for a shop called Example Store, with the amount left open:

upi://pay?pa=example@upi&pn=Example%20Store&cu=INR

What the link tells the payment app

  1. upi://pay?Opens a UPI app to pay
  2. pa=example@upiPayee UPI ID
  3. &pn=Example%20StorePayee name, space as %20
  4. &cu=INRCurrency, always INR

No am= in the link, so the payer types the amount.

bytes
50
version
4
modules at M
33 by 33
The phone is a sketch, not a real app screen. Its colours match the parts of the link each line comes from.

It is 50 bytes, which this site’s generator draws as version 4, 33 by 33 modules, at error correction M. The names come from NPCI’s UPI linking specification. We read version 1.6 (a draft dated November 2017) through a copy hosted by Labnol, because NPCI’s own site would not serve us the PDF. Google’s in-app payments guide sends developers to the same NPCI specification for these parameters.

Parameter Meaning In the spec In our generator
pa Payee UPI ID (VPA) Mandatory Required, checked for the name@bank shape
pn Payee name Mandatory Required
am Amount Optional in a static code, mandatory in a dynamic one Optional
cu Currency Only INR is supported Always INR
tn Note shown with the payment Optional Optional
mc Merchant category code Optional Not written
tr Transaction reference Mandatory for merchant and dynamic links Not written

Two things in that table deserve a sentence each. First, the spec marks pn as mandatory, and our form won’t make a code without it. Type the name exactly as your bank account shows it, because that is what a careful payer compares. Second, the spec says that when am is absent the amount field in the payer’s app is editable. That is the open-amount code, and the spec describes your situation almost exactly: “a real small one person shop could simply print a static QR code containing the payee address and name”, and the customer, after scanning, enters the amount.

Spaces in the name must be written as %20, not as a plus sign or a raw space. The generator does that for you.

Open or fixed: pick by what the counter sells

You sell Use Why
Bills that change every time (grocery, tailoring, repairs) Open amount One sign serves every customer
One price (a ₹250 entry ticket, a ₹50 parking slot) Fixed amount No typing, no wrong digit
A few set prices (₹50, ₹100, ₹150 tea-and-snack combos) One fixed code per price, clearly labelled Faster than typing, but more codes to keep straight
A bill you need matched to a payment Billing software, not this tool The spec calls for a transaction reference (tr) in such links

A fixed amount with a note looks like this:

upi://pay?pa=example@upi&pn=Example%20Store&am=250&cu=INR&tn=Order%20118

That is 72 bytes, version 5, 37 by 37 modules at level M. The extra payload cost one version.

Do not fix the amount to save the customer a few taps if your prices vary. A fixed code printed on a counter sign is a fixed code for every customer, and you will spend the day explaining why ₹250 appears on a ₹90 purchase.

One thing to know before you rely on a locked amount. Per the spec, a code without mam (a minimum amount) should open with the amount field not editable. Labnol’s article on dynamic UPI QR codes recommends writing mam=null explicitly. Our generator does not write mam, and I have not confirmed how every app handles it, so scan your fixed code with two apps (PhonePe and Google Pay, say) and try to change the amount before you print a hundred copies.

A counter sign that gets paid

The sign is where most shops lose people. A bare QR code on a sticker looks identical to a swapped one. Add three lines of text that a customer can check against their screen:

Example Store
Scan to pay with any UPI app
[QR code, about 6 x 6 cm]
Pay to: Example Store (example@upi)
Check this name on your screen before you pay

On size: the open-amount code is 33 modules wide, and with the four-module margin on each side that is 41 modules. A 5 cm square gives roughly 1.2 mm per module, a sensible starting size for a counter that you should still test with a real phone. The 37-module fixed code with its margin is 45 modules across, so print it at 6 cm to keep the same module size. What size should a QR code be has the distance-to-size rule if the sign hangs on a wall instead.

Put the sign where the customer’s hand already is, at the bill counter, and keep it in a clear sleeve with a matte finish. Glossy lamination throws back the tube light and makes the scan fail in the one shop where it matters most.

This is not your bank’s merchant QR

The code you make here is a pointer. It sends the payer’s app to the UPI ID you typed, with no onboarding. A QR issued by a bank or payment app is different: PhonePe’s merchant guide describes registering with a UPI provider, completing KYC for the business and linking a business bank account before the code is created in the provider’s app.

What that registration adds in practice, and what it costs, depends on your bank and your provider, and we would ask them rather than guess. What you can check yourself is simple: our code is a static code, so it does not expire, it does not carry a bill number, and nothing about it is tied to a verified business. If you already have a bank-issued code, keep using it. The one we make is for a shop that has no merchant account yet, a stall, a society event, or a spare code for a second counter.

The word “dynamic” also means two different things here. In UPI, a dynamic code is one generated per bill with the amount and a reference inside. In the QR industry it means a code that points to a redirect you can edit. Neither applies to a code made here, and static vs dynamic QR codes explains the second meaning.

Questions shop owners ask

Will it work in every UPI app? The spec says all payment apps must implement listening for these upi:// links, so any compliant app should open it. Test PhonePe, Google Pay and Paytm anyway, since you will not see the customer’s app.

Does it expire? No. The code is the text itself, so nothing can lapse. If you change your UPI ID, make a new code.

Can someone swap my sticker? Yes, and this is the common trick. The defence is the printed name beside the code and customers checking it on their screen. The scanner on this site shows the UPI ID, name, amount and note inside any code before you pay, and UPI QR code scams lists the patterns to watch for.

Can the code carry GST or a bill number? Not in a counter sign. Those belong in billing software that makes a new link for each sale.

Before printing, run this check: scan the proof with two apps, confirm the name and UPI ID match yours, confirm the amount field is empty (or locked at the right figure), and have a friend pay ₹1 to see it arrive. For the wider picture of other codes a shop can use, see how to make a QR code.

Ready to try it? Free, no sign-up, made in your browser.

Make this code now