Skip to content
barcoder

Standards/phonepe-qr

PhonePe QR

TypeQR Code
PrimaryIN
Completeness73%high

Supported wallets

The following wallets support this standard:

  • PhonePe

Overview

PhonePe QR is the merchant QR code issued by PhonePe, India's largest UPI app. It is not a separate format: PhonePe's developer documentation shows that its dynamic QR carries an NPCI UPI QR link (upi://pay?…) 2, and that a customer can pay it from "any BHIM UPI app" 3. PhonePe held 46.2% of UPI transactions in May 2026 7.

History

  • December 2015: PhonePe was incorporated, founded by Sameer Nigam, Rahul Chari and Burzin Engineer 1.
  • April 2016: Flipkart acquired the company; the FxMart wallet licence was transferred to it and rebranded as the PhonePe wallet 1.
  • August 2016: PhonePe's UPI app went live, in partnership with YES Bank 1, the same month UPI opened to the public 6.
  • 2017: NPCI's dynamic UPI QR, carrying the payee and the exact amount, launched 6.
  • 2018: UPI 2.0 added signed intent and QR 6. From April 2018 NPCI required UPI apps to scan both UPI QR and Bharat QR codes 13.
  • December 2020 – 2022: Flipkart and PhonePe announced a partial split in December 2020, with Walmart keeping majority ownership; the separation was completed in 2022 1.
  • February 2023: SmartSpeaker. PhonePe's payment-alert speaker had reached 2 million units within six months of launch, across about 16,000 PIN codes, validating more than 750 million transactions a month. PhonePe then reported more than 35 million offline merchants on its platform 4.
  • April 2025: PhonePe became a public company, PhonePe Limited, ahead of an IPO 1.

Technical specification

Symbology: QR Code.

Payload. PhonePe's DQR Init API (POST /v3/qr/init) takes the merchant ID, a transaction ID (under 35 characters; only _ and - allowed as special characters), the amount in paise, a store ID, an optional terminal ID, an expiry in seconds and optional GST and invoice details. The success response returns a qrString. PhonePe's own sandbox sample is 2:

upi://pay?pa=MERCHANTUAT@ybl&pn=Test%20MerchantTT&am=10.00&mam=10.00&tr=TX32321849644234&tn=Payment%20for%20TX32321849644234&mc=5311&mode=04&purpose=00&gstBrkUp=GST:1.0|CGST:0.25|SGST:0.25|IGST:0.25|CESS:0.25|GSTIncentive:1.0|GSTPCT:10.0&invoiceNo=123456fffff##_##&invoiceDate=2021-06-29T15:43:54+05:30&invoiceName=bccbd_cjdcdjc******

MERCHANTUAT is PhonePe's sandbox merchant. The keys follow NPCI's linking spec: pa payee address (here on the @ybl handle), pn payee name, am amount (the request's 1,000 paise appears as 10.00), tr transaction reference, tn note, mc merchant category code, mam the minimum amount if it differs from the transaction amount, and mode, where NPCI defines 01 QR code, 02 secure QR and 04 intent 2 5. purpose and the GST and invoice keys do not appear in the 2017 NPCI draft we read 2 5. The sample has no orgid or sign, which that draft marks mandatory for both static and dynamic codes 5.

Interoperability. Scanned with PhonePe, the dynamic QR can be paid with any instrument the merchant has enabled (UPI, credit and debit cards, wallets); scanned with any other BHIM UPI app, it can be paid only by UPI 3.

Static vs dynamic. NPCI's spec lets a one-person shop print a static code with only the payee address and name, where the customer types the amount; a dynamic code adds the amount and a bill reference 5.

Playground. The upi encoder builds the NPCI upi://pay link with pa, pn, mc, am, cu, tn and tr; all but cu appear in PhonePe's qrString 2 5. It does not emit PhonePe's mode, mam, purpose or GST and invoice keys, so the playground gives the static or simple dynamic form, not PhonePe's full billing payload.

Use cases

  • Billing counters and POS screens: the DQR flow generates a code per order on the merchant's screen, tied to a store and terminal ID 2 3.
  • GST invoicing: the same QR can carry a GST breakup and invoice number, date and name 2.
  • Small offline merchants: the SmartSpeaker gives payment notifications in 11 Indian languages; more than 500,000 units were in tier-III locations by February 2023 4.

Implementations

PhonePe's QR is an NPCI upi://pay link 2, so generic UPI tools apply:

  • Encoder — TypeScript: bhar4t/upiqr, 31★, last push October 2026. Generates "NPCI's UPI QR code (BASE64) along with UPI intent link" 11.
  • Decoder — Java: zxing/zxing, 34,170★, last push October 2026. Reads the QR; the app then parses the upi://pay query string 12.

A GitHub search for "phonepe qr" returned only 0-star repositories (searched 19 Oct 2026).

Fun facts

Flipkart's own payments app was briefly shut out of Flipkart. On 14 January 2017 ICICI Bank blocked PhonePe transactions, saying it did not meet NPCI guidelines, and PhonePe then stopped UPI payments on Flipkart's website 1.

Comparison

  • vs Paytm QR and BHIM QR: all carry the same NPCI upi://pay link and any UPI app pays them 2 3 5. PhonePe's dynamic code adds mode, purpose and GST and invoice keys 2.
  • vs Bharat QR: Bharat QR is NPCI's EMVCo-format code. At the end of December 2025 RBI counted 731.4 million UPI QR codes and 5.89 million Bharat QR codes 10. A merchant chooses PhonePe's UPI QR for reach; Bharat QR matters mainly for card-based apps.

Status

Active. PhonePe had 46.2% of UPI transactions in May 2026, ahead of Google Pay (32.7%) and Paytm (7.9%) 7; PhonePe and Google Pay together fell below 80% that month for the first time 8. NPCI's 30% cap on any one UPI app's share, proposed in 2020, has been deferred to 31 December 2026 9.

Cross-references

Sources

Deployments

No country reports mention this standard by name.

source · content/standards/phonepe-qr/index.md