Available in🇮🇳 India
You can use the QR Codes APIs to perform various actions. You can perform all of these actions from the Dashboard as well.
Integration Checklist
Integration Checklist
- If you are creating a Dynamic QR Code, we suggest you create a single
customer_idrather than making multiple ids for the same customer. In any case, if their details change, you can use the Edit Customer Details API. - To keep a check on the duplicate customer details:
- If you use the
fail_existing : "1"parameter, the API throws an error when existing customer details are added. - If you use the
fail_existing : "0"parameter, the API returns thecustomer_idwhen existing customer details are added.
- If you use the
- Use Payment Downtime API to check for any downtimes that might affect the UPI generation/transactions.
- Please note that the Razorpay order id gets generated automatically when a customer makes the payment using the QR Code provided by you.
- While creating a QR Code via API or using the Dashboard, make sure that you pass all the critical parameters for non-GST and GST QR Codes.
- Pass the type as
upi_qrwhile creating the QR Code. Since we also have a BharatQR feature, not passing the type can lead to errors. - Check the difference between Static and Dynamic QR Codes:
- If the
fixed_amountparameter is passed, you must pass theamountparameter at the time of QR Code creation. - To fetch the details about the QR Codes, you can use QR Code webhooks or use Fetch a QR Code API to get details about payment activity or the status of your QR Codes.
- We recommend using the Fetch a QR Code API to fetch relative information about QR Codes.
Best Practices for Image Content IntegrationYou can check the contents passed in the QR Code using the response payload for Create a QR Code. The
image_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.