UPI deep link generator (upi://pay)
A UPI link is upi://pay with pa (UPI ID), pn (name), am (amount), tn, tr and cu=INR, as NPCI's linking specification defines. Enter the payee and amount to get the link, Android intent forms, an HTML anchor and the text to paste into a QR code.
Updated
UPI payment link
₹499.00 to Example Store
upi://pay?pa=shop@examplebank&pn=Example%20Store&tr=ORD1042&tn=Order%201042&am=499.00&c...
- Pass · UPI ID formatShape only; the tool cannot check that the ID exists.
- Pass · Payee namePresent, as the spec requires.
- Pass · Amount₹499.00 sent as am=499.00.
- Pass · Transaction referenceSet.
upi:// link (also the text for a QR code)
upi://pay?pa=shop@examplebank&pn=Example%20Store&tr=ORD1042&tn=Order%201042&am=499.00&cu=INR
- Android intent (any UPI app)
- intent://pay?pa=shop@examplebank&pn=Example%20Store&tr=ORD1042&tn=Order%201042&am=499.00&cu=INR#Intent;scheme=upi;end
- Android intent (Google Pay only)
- intent://pay?pa=shop@examplebank&pn=Example%20Store&tr=ORD1042&tn=Order%201042&am=499.00&cu=INR#Intent;scheme=upi;package=com.google.android.apps.nbu.paisa.user;endpackage com.google.android.apps.nbu.paisa.user
- HTML link
- <a href="upi://pay?pa=shop@examplebank&pn=Example%20Store&tr=ORD1042&tn=Order%201042&am=499.00&cu=INR">Pay with UPI</a>
- Length
- 92 charactersshorter links make easier QR codes
- Currency is fixed at INR: the spec says only INR is supported.
- This link is unsigned. The spec's signing (sign, mode, orgid) is for merchant-initiated intents and QR codes set up with your bank or PSP; the spec says an app should warn the user when a signature is missing, so some apps may show a notice.
- Android: a plain upi:// link opens the system's app chooser. The intent:// forms are for Chrome and in-app links; Google's docs say to support the generic intent as well as any Google Pay specific one.
- iOS and other UPI apps: app-specific schemes and package names were not checked, so test the link on a real device with your target apps.
- To make a QR code, copy the link above and paste it into the QR code tool.
How is a UPI payment link built?
NPCI's UPI linking specification defines one URL shape: upi://pay followed by a query string of name=value pairs. Every UPI app must listen for it, so the same link works from a QR code, a button, a chat message or an Android intent.
The pairs this tool writes are pa (the payee's UPI ID), pn (payee name), mc (merchant code, optional), tr (your transaction reference), tn (a note), am (amount as a decimal) and cu (currency, always INR). pa and pn are mandatory; with no am the payer's app lets them type the amount; tr is mandatory for merchant transactions and dynamic links.
Values are percent-encoded, so a space becomes %20 and an ampersand %26. The UPI ID keeps its @. The Android intent forms wrap the same query in intent://pay?...#Intent;scheme=upi;end, which is Chrome's intent URL syntax, with an optional package=... to target one app.
The spec also describes signed links (sign, mode and orgid) for merchant-initiated intents and QR codes. This tool makes the unsigned form used for simple payment links, and the spec says an app should warn the payer when a signature is missing.
upi://pay?pa=<VPA>&pn=<name>&mc=<code>&tr=<ref>&tn=<note>&am=<amount>&cu=INR
To turn the link into a scannable code, paste it into our QR code generator.
What does each UPI link parameter mean?
| Parameter | Meaning | Status in the spec |
|---|---|---|
| pa | Payee VPA (UPI ID) | Mandatory |
| pn | Payee name | Mandatory |
| mc | Payee merchant code | Optional |
| tr | Transaction reference: order, bill or booking ID | Optional on static links; mandatory for merchant and dynamic links |
| tn | Transaction note: short description | Optional |
| am | Amount in decimal; editable by the payer if missing | Optional on static links; mandatory on dynamic links |
| mam | Minimum amount, if different from am | Optional on static; conditional on dynamic |
| cu | Currency; only INR is supported | Optional |
| url | A transaction-related page such as the bill or order, starting http or https | Optional |
| mode, sign, orgid | Initiation mode, base-64 digital signature and organisation ID for signed links | Mandatory in the spec's table, set up with your PSP or bank |
How to generate a UPI payment link
- 1Enter the payeeType the UPI ID and the name the payer should see. The tool checks the format only.
- 2Add the amount and referenceEnter an amount, or leave it empty so the payer types it. Add an order or invoice reference and a short note.
- 3Copy the linkCopy the upi:// link for a button or message, the Android intent for Chrome or an in-app link, or the HTML anchor for a web page.
- 4Make a QR code if you need onePaste the link into the QR code tool, print or display it, and test it by scanning with a few UPI apps.
Frequently asked questions
Is a upi:// link the same as a UPI QR code?
Does the link work on iPhone?
Why does the payer's app say the source could not be verified?
What is the difference between pa and pn?
Can I use another currency or a decimal amount like 99.5?
Sources
- NPCI UPI Linking Specifications v1.6 (draft, Nov 2017), copy hosted by labnol.org (checked 11 Nov 2026)
- Chrome: Android intents (intent:// URL syntax) (checked 11 Nov 2026)
- Google Pay for India: in-app payments (package name, generic intent) (checked 11 Nov 2026)
Need a custom dev tool for your team?
We build internal tools, dashboards, APIs, and SaaS platforms. If you can describe it, we can ship it.
Built by CountryDevs · No signup · No ads · We count visits, never what you enter