UPI QR Code API- Developers Resources


Developers can integrate our UPI QR Code API ( Application Programming Interface) into their web applications or mobile applications. Our UPI QR Code API is free for personal or non-commercial use. For commercial use, the developers can contact us at www.upiqrcode.com/contact If you have more than 500 requests per day, please contact us, so we can assist you in making the service available without any interruption.

A Simple Request to UPI QR Code API

Method : GET Request
Parameter : vpa
Value for Parameter : String
Whether Mendatory: Yes

A simple request to the UPI QR Code API can be made as:

https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode

The above request to our UPI QR Code API will generate a upi qr code without any customization.
You can embed the generated UPI QR Code into you HTML page with tag in following manner:

<img src="https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode" alt="" title=""/>

The embadded image will look like:



UPI QR Code with Size Request to UPI QR Code API

Note:Size in pixel, without px suffix, i.e. 200 , 300, 400 to maximum size 1000.

Parameter : size
Value for Parameter : Number
Minimum Value:No size parameter for default size
Maximum Value:1000
Whether Mendatory: No

Sample request with QR Code Size


https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode&size=150
The above request to our UPI QR CODE API will generate a upi qr code with size.
You can embed the generated UPI QR Code into you HTML page with tag in following manner:

<img src="https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode&size=150" alt="" title=""/>

UPI QR Code with Foreground Color Request to UPI QR Code API

Note:Hex Color codes without # prefix i.e 922B21, 76448A, 6C3483, etc

Foreground Color Parameter
Parameter : front
Minimum Size : 6 Character Hex Code
Maximum Size : 6 Character Hex Code
Whether Mendatory: No

Sample request with Foreground Color


https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode&front=922B21

The above request to our UPI QR Code API will generate a upi qr code with specified foreground color code.
You can embed the generated UPI QR Code into you HTML page with tag in following manner:

<img src="https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode&front=922B21" alt="" title=""/>

UPI QR Code with background Color Request to UPI QR Code API

Note:Hex Color codes without # prefix i.e 922B21, 76448A, 6C3483, etc

Background Color Parameter
Parameter : back
Minimum Value for background Color : 6 Character Hex Code
Maximum Value for background Color : 6 Character Hex Code
Whether Mendatory: No

Sample request with Background Color

https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode&back=922B21

The above request to our UPI QR Code API will generate a upi qr code with specified background color code.
You can embed the generated UPI QR Code into you HTML page with tag in following manner:

<img src="https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode&back=922B21" alt="" title=""/>

UPI QR Code with background Color, Foreground Color & Size Request to UPI QR Code API

Sample request with Background Color, Foreground Color & Size

https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode&back=922B21&front=76448A&size=150

The above request to our UPI QR Code API will generate a upi qr code with specified foreground color, background color code and size.
You can embed the generated UPI QR Code into you HTML page with tag in following manner:

<img src="https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode&back=922B21&front=76448A&size=150" alt="" title=""/>



UPI QR Code with Logo API

Sample request with Background Color, Foreground Color, Size & Logo

https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode&back=F5F111&front=6F2735&size=250&logo=https://www.upiqrcode.com/images/upi-qr-code.png

The above request to our UPI QR Code API will generate a upi qr code with specified foreground color, background color code and size.
You can embed the generated UPI QR Code into you HTML page with tag in following manner:

<img src="https://www.upiqrcode.com/upi-qr-code-api/v01/?vpa=vpa@bankcode&back=F5F111&front=6F2735&size=250&logo=https://www.upiqrcode.com/images/upi-qr-code.png" alt="" title=""/>

Back to Top