Watch Out!
Once the QR code has been created, you cannot edit its details.
-
If you are creating a Dynamic QR code, we suggest you create a single
.customer_id
rather than making multiple ids for the same customer. In any case, if their details change, you can use the -
To keep a check on the duplication of customer details:
- Please use the
fail_existing : 1
parameter. The API will throw an error when already existing customer details are added. - If you use the
fail_existing : 0
parameter, the API will return thecustomer_id
if the customer exists already.
- Please use the
-
Use
to check for any constant downtimes that might affect the UPI generation/transactions. -
Please note that the Razorpay order id will be generated automatically when a customer makes the payment using the QR code provided by you.
-
While
or using the Razorpay Dashboard, make sure that you pass all the critical parameters for non-GST and GST QR codes. -
Pass the type as
upi_qr
while creating the QR Code. As we also have a BharatQR feature available with us, not passing the type can lead to errors. -
For the usage information;
Dynamic QR Static QR Single use. Can be used only once. Can be used multiple times. If it is generated for specific customers, then you can pass customer_id
.Not required to pass customer_id
. -
If the
fixed_amount
parameter is passed, do not forget to pass theamount
parameter at the time of QR code creation. -
To fetch the details about the QR codes, you can use
or use to get details about payment activity or the status of your QR codes. -
We suggest you to run the
to fetch relative information about QR codes.
Here is a best practice to keep in mind while integrating QR Code APIs with Image Content. You can check the contents passed in the QR Code, using the response payload for
. Theimage_content
parameter displays the QR Code content. For Example, once the qr_image_content
feature is enabled, you can get the create QR Code response as given on the right-hand side.