A code that asks for ₹250 and says "Table 4"
The PhonePe code in your app holds your UPI ID, and the payer types the amount. A code made here can carry the price and a note as well, so a salon can print one for a ₹250 haircut and a café one per table. For the UPI ID sam@ybl, the name Sam Rivera, ₹250 and the note "Table 4", our generator writes:
upi://pay?pa=sam@ybl&pn=Sam%20Rivera&am=250.00&cu=INR&tn=Table%204
am is the amount and tn is the note, which shows up in the payment so you know which table paid. The rest is your UPI ID, your name and the currency; the UPI QR code generator explains each field.
Every UPI app follows the same NPCI format, so a customer with Google Pay, Paytm, BHIM or a bank app scans this code exactly as a PhonePe user would. The money goes to the bank account behind sam@ybl.
How big to print it
That payload is 66 characters, a version 5 code, 37 squares across. Our size calculator gives these minimums:
| Where it goes | Read from | Minimum width |
|---|---|---|
| Counter stand | 30 cm | 4.4 cm |
| Table tent | 40 cm | 5.9 cm |
| Poster on a wall | 1.5 m | 22 cm |
By the same calculation, a 3 cm code needs the phone within about 20 cm. Leave out the note and the code drops to version 4, and 4.0 cm is enough at 30 cm.
Never enter your PIN to receive
You don't scan anything or enter your UPI PIN to receive money. The PIN approves money leaving your account. A common fraud sends a seller a "payment" QR code, or a collect request, and asks them to enter the PIN to accept it; the PIN sends the money the other way. Say no to every version of it.
The other fraud is physical: a sticker with the scammer's code placed over yours. Look at your stand each morning. Are QR codes safe? covers both.
Personal code or PhonePe Business
A personal UPI code is fine for tuition fees, a home bakery or a society's festival collection. If you take payments all day, PhonePe Business gives you a merchant QR code with payment alerts and records. Your bank may also have rules about running a business through a personal account.
If payers get an error on a large fixed amount, it may be over their daily UPI limit, which their bank sets. The code can't change that.