Skip to content

UPI Deep Linking Implementation Samples

bgagan911 edited this page Dec 5, 2019 · 2 revisions

#1 Example : Hyperlink

1. The user visits to an eCommerce website (My Star Store) on his mobile phone, and places an order.

2. The website generates a link, which the user can click on, to complete the payment.

As per the specification, the link contains the payee details, the transaction reference (order id), and the amount to be paid.

Example:

upi://pay?pa=nadeem@npci&pn=nadeem%20chinna&mc=0000&tid=cxnkjcnkjdfdvjndkjfvn&tr=4894398cndhcd23&tn=Pay%20to%20mystar%20store&am=10&mam=null&cu=INR&url=https://mystar.com/orderid=9298yw89e8973e87389e78923ue892

#2 Example : QR Code

QR code consists of black modules arranged in a square pattern on a white background. The information encoded can be made up of four standardized kinds (“modes”) of data (numeric, alphanumeric, byte/binary, Kanji), or by supported extensions virtually any kind of data.

QR codes can be used for proximity payments with UPI. Developers who are developing merchant applications must generate a URL fully compliant to specification and then create a QR code of that URL.

Example:

upi://pay?pa=nadeem@npci&pn=nadeem%20chinna&mc=0000&tid=cxnkjcnkjdfdvjndkjfvn&tr=4894398cndhcd23&tn=Pay%20to%20mystar%20store&am=10&mam=null&cu=INR&url=https://mystar.com/orderid=9298yw89e8973e87389e78923ue892