Skip to content
artqode
Switch light or dark themeCreate
Open menu

Menu

Static codes are free forever. No sign-up to make one. They never expire. Scanners never see an ad.

Guide · UPI payments

UPI QR codes, explained properly

A UPI QR code is a payment link written as a pattern. It holds the receiver's UPI ID and name, and sometimes an amount. The payer's app reads it, shows who is being paid, and asks the payer to approve it, usually with a PIN. Understanding what is in the code is the best protection against paying, or printing, the wrong one.

By the Artqode team · Updated · 5 min read

What a UPI QR code contains

Scan a UPI code with an ordinary camera and you will see a line of text that starts with upi://pay. That is a link, in a format NPCI publishes for UPI apps. A simple one looks like this:

A personal UPI payment link
upi://pay?pa=yourname@yourbank&pn=Your%20Name&cu=INR
The fields you are likely to meet
FieldMeaningNotes
paPayee address: the UPI ID that receives the moneyAlways present
pnPayee nameAlways present
amAmountIf missing, the payer types it
cuCurrencyOnly INR is supported
tnA note for the transactionOptional
trA reference such as a bill or order numberUsed by merchants
mcMerchant category codeMerchant codes only
signA digital signature added by a bank or payment providerMerchant and secure codes

Spaces and special characters are percent-encoded, which is why a space in a name shows up as %20. The @ in the UPI ID stays as it is.

Static and dynamic UPI codes

These two words mean something slightly different for payments than they do for website codes.

Static UPI codeDynamic UPI code
AmountNot fixed (or one fixed price)Set for one specific bill
Reused?Yes, by every customerNo, one per transaction
Where you see itPrinted standee at a counterOn a billing screen or card machine
Who makes itAnyone with a UPI IDA billing system or payment provider

A printed code is always static. If you want the amount filled in automatically for each bill, that is a job for point-of-sale software, not for a printed sticker.

Personal codes and merchant codes

NPCI's specification lists a signature, a mode and an organisation ID as required parts of a UPI code. Only a bank or a payment provider can produce a valid signature. The simple codes that free generators make, ours included, leave those out. In practice UPI apps accept such codes for payments to a personal UPI ID, and that is how most small sellers and individuals use them.

  • A personal code is right for freelancers, tutors, home businesses, small stalls, splitting bills and collections among friends.
  • A merchant code from your bank or provider is right for a registered business with steady payment volume. It brings merchant settlement, statements and limits suited to a shop.

Making a code that is right first time

  1. Copy your UPI ID, do not retype it

    Open your UPI app, find your UPI ID in the profile section, and copy it. One wrong letter makes a code that pays a stranger.

  2. Use the name on the account

    Payers are told to check the name before paying. A name that matches your bank account builds trust. A nickname makes careful people hesitate.

  3. Skip what you do not need

    Leave the amount and the note empty for a general code. Fewer characters make a simpler pattern that scans from further away.

  4. Scan, pay ₹1, then print

    Make the code with the UPI QR code generator, scan it from another phone, confirm the name shown, and send a rupee. Only then send it to the printer.

Staying safe: for payers and for shops

The rules are short, and they cover almost every QR payment scam.

  • You never scan a code or enter your PIN to receive money. A PIN only ever sends money. Anyone who says otherwise is trying to take yours.
  • Read the name before you pay. The app shows the payee name and UPI ID. If it does not match the shop in front of you, stop and ask.
  • Be careful with codes sent by strangers in chats or emails, especially ones that arrive with urgency attached.
  • Shops: check your own standee. Stickers placed over a genuine code are a known trick. A frame with your shop name printed on the same sheet as the code makes a pasted sticker easier to spot.
  • Shops: wait for your own confirmation. A screenshot on the customer's phone is not proof. Check your own app or the alert from your bank.

If money has gone to the wrong place, contact your bank and report it through your UPI app's help section straight away. Speed matters more than anything else.

A counter code is scanned from about half a metre in mixed lighting. For a plain code, 5 cm wide is the usual minimum at that distance. For a styled code we suggest 10 cm. Use matte paper or matte lamination, keep the empty margin around the code, and print the payee name underneath.

The sticker sheet is handy for parcels and bills. Sizes for other spots are in the QR code size guide, and the wider set-up for a shop is in QR codes for restaurants and shops.

Questions people ask

How does a UPI QR code work?

The code stores the receiver's UPI ID and name as a payment link. The payer's UPI app reads the link, shows the receiver's details, and sends the money from the payer's bank account once the payer approves it, usually with a PIN.

Is one UPI QR code enough for all apps?

UPI codes follow a shared format, so you do not need a separate code for each app. Apps do run their own checks, and one may refuse a code another accepts, so test yours in at least two before you print.

Can someone take money from my account using my UPI QR code?

No. Your code only lets people send money to you. Taking money out of an account needs the account holder to approve it on their own phone, normally with their PIN. Small UPI Lite payments skip the PIN, and AutoPay mandates run after a one-time approval, but both are set up by the payer, never by scanning your code.

What is the difference between a static and a dynamic UPI QR code?

A static code is reusable and usually has no amount, so each payer enters one. A dynamic code is generated for a single bill with the amount built in, typically by billing software.

Does a UPI QR code expire?

A static UPI code works for as long as the UPI ID inside it is active. Dynamic codes made for a single bill are often valid only for a short time.

Why is my UPI QR code not working?

Check the UPI ID for typos first, then make sure the code is large enough and has good contrast. If one app rejects it and another accepts it, the app's own checks are the cause, and a bank-issued code is the reliable fix.

Make yours. It takes about a minute.

Static codes are free forever. No sign-up to make one. They never expire. Scanners never see an ad.

Make my UPI code

Built in your browser. We never touch the money.