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 bave more than 500 requests per day, please contact us, so we can assist you in making the service available without any interruption.

ParametersData TypeWhether MandatoryDescription
apikey string yes apikey Registered users can access their apikey in dashboard.
seckey string yes seckey Registered users can define their secret key in dashboard.
paymode string conditional bankac for transferring payment by bank account and IFSC Code
mobile for transferring payment by mobile no. and mmid
vpa for transferring payment by UPI ID
Parameter Not required for receiving payment by VPA.
vpa string yes Virtual Private Address created from any bank UPI APP
bankaccount@ifsccode
mobileno@mmid
Note:VPA will be assumed as default, in case paymode parameter is not defined.
payee string Yes Receiver of the payment
payer string No Name of the party making payment
billno string No Bill No.
Note: If bill Number is not supplied, then you will not be able to identify against which bill, payment has been received.
amount Currency #.00 No Bill Amount
minamt Currency #.00 No Minimum amount payable
size Number between 150-1000 No Size of the UPI QR Code to be generated. If blank, then default size will be applied
front Hexa Color Code for foreground No If not supplied , then black and white UPI QR Code with be generated.
back Hexa Color Code for background No If not supplied , then black and white UPI QR Code with be generated.
logo Logo file URL No If Logo is not supplied, UPI QR Code till be generated without Logo. You should check whether QR Code is readable after displaying logo.
Note: For White Level UPI QR Code & Users who are exceeding free limit, Please contact us ,otherwise they will be barred for misusing service!

A Request to UPI QR Code API with transfer Mode

Method : GET Request
Parameter : paymode
Value for Parameter : String
Whether Mendatory: No

Parameters: bankac ->to receive payment by Bank Account No. & IFSC Code
mobile -> to receive payment by mobile no & MMID
For VPA, no need to send parameter

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 to transfer payment by UPI ID can be made as:

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

Request to UPI QR Code API to transfer payment by account no & IFSC can be made as:

https://www.upiqrcode.com/upi-qr-code-api/v01/?apikey=apikey&seckey=seckey&paymode=bankac&vpa=bankAccountno@IFSCCode

Request to UPI QR Code API to transfer payment by mobile no & MMID can be made as:

https://www.upiqrcode.com/upi-qr-code-api/v01/?apikey=apikey&seckey=seckey&paymode=mobile&vpa=mobileno@mmid

https://www.upiqrcode.com/upi-qr-code-api/v01/?apikey=apikey&seckey=seckey&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/?apikey=apikey&seckey=seckey&vpa=vpa@bankcode" alt="" title=""/>


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/?apikey=apikey&seckey=seckey&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/?apikey=apikey&seckey=seckey&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/?apikey=apikey&seckey=seckey&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/?apikey=apikey&seckey=seckey&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/?apikey=apikey&seckey=seckey&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/?apikey=apikey&seckey=seckey&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/?apikey=apikey&seckey=seckey&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/?apikey=apikey&seckey=seckey&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/?apikey=apikey&seckey=seckey&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/?apikey=apikey&seckey=seckey&vpa=vpa@bankcode&back=F5F111&front=6F2735&size=250&logo=https://www.upiqrcode.com/images/upi-qr-code.png" alt="" title=""/>


PHP Code to Integrate UPI QR Code API into your website

Javascript for integrating UPI QR Code API into your website

Share this page