A UPI QR code encodes a upi://pay link defined by NPCI, carrying the payee's UPI ID (pa) and optionally a name (pn), amount (am), currency (cu=INR) and note (tn). Any UPI app scans it and opens a prefilled payment screen; the money moves bank to bank without a gateway.
The fields.
| Scheme | upi://pay? |
|---|---|
| pa (required) | Payee address, e.g. shop@okaxis |
| pn | Payee name, percent-encoded: Sharma%20Stores |
| am | Amount with two decimals: 250.00 |
| cu | Currency: INR |
| tn | Transaction note: Order%2042 |
| Example | upi://pay?pa=shop@okaxis&pn=Sharma%20Stores&am=250.00&cu=INR |
Static codes without am let the payer type the amount. Codes with am suit one bill or one fixed fee.
Where this shows up.
A printed UPI code is the cheapest payment terminal there is: no device, no rental, no fee on most person-to-merchant payments. It is also the reason a counter card needs the shop's name printed large, so a payer can match it against the name the app shows.
The common mistake.
Encoding spaces in the name as + instead of %20. Several apps show it literally, the payer sees Sharma+Stores, hesitates, and asks whether the code is genuine.
Sources.
Every figure above is from one of these. They are the standard, the registry or the platform’s own documentation — read them rather than take our word for it.