v1
latestOpenAPI 3.1.02026-07-24360204.4 KBUPI QR & Intent String
The UPI Intent API enables merchants to generate UPI intent links & QR string using a valid payment_token_id.
post/icp/upi/intent
Headers
Access-Keystring required
Provide the PG API Access Key here
Request body
Response
200
Example response
{
"status": "success",
"message": "UPI QR Strings generated successfully",
"data": {
"transaction_id": "pt_Aa68F7844592533",
"amount": "5.00",
"currency": "INR",
"merchant_id": "me_f4063391a9",
"upi_intent_links": {
"collect_pay": {
"instrument_id": 76,
"amount": "5.00"
},
"intent": {
"instrument_id": 75,
"qr_string": "upi://pay?pa=open9962527334907@yesbank&pn=MFK%20Associates&tr=int_pt_Aa68F7844592533&am=5.00&cu=INR&tn=UPI%20Intent%20Transaction&mc=7299",
"intent_apps": [
{
"label": "Google Pay",
"intent": "gpay",
"qr_string": "gpay://upi/pay?pa=open9962527334907@yesbank&pn=MFK%20Associates&tr=int_pt_Aa68F7844592533&am=5.00&cu=INR&tn=UPI%20Intent%20Transaction&mc=7299"
}
]
},
"qr": {
"instrument_id": 74,
"qr_string": "upi://pay?pa=open9962527334907@yesbank&pn=MFK%20Associates&tr=qr_pt_Aa68F7844592533&am=5.00&cu=INR&tn=UPI%20QR%20Transaction&mc=7299"
}
}
}
}