---
title: "Generate QR"
method: POST
path: "/tsp/pg/api/generateQR"
---

# Generate QR

`POST /tsp/pg/api/generateQR`

API to generate UPI / BHARAT QR

## Response `200`

Successful response

- object
  - `returnCode` string — Return code indicating success/failure of the QR generation request
  - `respDescription` string — Description of failure
  - `merchantId` string — Merchant account ID
  - `aggregatorID` string — Merchant aggregator ID
  - `merchantRefNo` string — Merchant transaction reference number
  - `bharatQR` string — Generated BharatQR string
  - `upiQR` string — Generated UPI QR string

---

[API](https://skmtc.net/jiopay/apis/jiopay-pg.md) · [All operations](https://skmtc.net/jiopay/apis/jiopay-pg/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jiopay/jiopay-pg/versions/55aa41b8482f/schema)
