Skip to content
Business & Regional

India UPI QR Code Specifications: Deep Dive into the NPCI Protocol

CodexEngr, QR Systems Engineer
Published 2026-05-18 (Updated 2026-10-02)
7 min read
Peer Reviewed & Fact Checked

1. The Unified Payments Interface URI Format

The National Payments Corporation of India (NPCI) standardizes UPI payment QR codes using the `upi://pay` custom URL scheme:
upi://pay?pa=merchant@upi&pn=Store%20Name&mc=5411&tid=TX123456&tr=INV001&tn=Payment&am=150.00&cu=INR

#

Key URI Query Parameters:

* `pa` (Payee Address): The verified Virtual Payment Address (VPA) / UPI ID (e.g., `name@okaxis`, `store@icici`). * `pn` (Payee Name): The legal or trade name of the recipient (URL encoded). * `mc` (Merchant Category Code): Optional 4-digit code identifying business type. * `am` (Transaction Amount): Fixed payment amount (e.g., `150.00`). If omitted, the payer enters the amount manually. * `cu` (Currency Code): Strictly `INR` (Indian Rupee). * `tn` (Transaction Note): Memo or invoice note visible to both parties.

Frequently Asked Questions

Can I leave the amount blank in a UPI QR code?

Yes. If the "am" parameter is omitted, the customer scans the code and types in their own custom payment amount upon checkout.

Which apps can scan this UPI QR code?

All NPCI-certified UPI applications, including Google Pay, PhonePe, Paytm, BHIM, and all major Indian banking apps.

Ready to generate high-precision QR codes?

Test your designs in real-time with our 100% client-side QR studio suite. Zero tracking, instant vector downloads.

Open Studio