post https://api-staging.pluralonline.com/api/v1/upi/process/payment/
Use the below endpoint to Process Payment UPI Intent
Request Parameters:
Parameter Name | Type | Description |
---|---|---|
upi_option | string | Default it will be UPI. |
txn_mode * | string | User need to provide "INTENT" key word to perform the intent flow. |
payment_mode | string | Default it will be UPI. |
navigation_mode | string | Default it will be "SEAMLESS". |
Request Body payload:
{
"upi_data": {
"upi_option": "UPI",
"txn_mode": "INTENT"
},
"txn_data": {
"payment_mode": "UPI",
"navigation_mode": "SEAMLESS"
}
}
Response Payload:
{
"content": null,
"payment_id": 1676890,
"order_id": 75744,
"amount_in_paise": 500,
"timer_page_time_out_in_seconds": 180,
"pg_upi_unique_request_id": null,
"deep_link": "upi://pay?pa=setu1044442777674318986@kaypay&pn=Ravi%20Maurya&am=5.00&tr=1044442777674318986&tn=Payment%20for%207681067&cu=INR&mode=04",
"short_link": "https://sandbox.bills.pe/wjm02tnrzq77",
"response_code": 1,
"response_message": "Payment Successful!"
}
{
"response_code": 11001,
"response_message": "Sorry, your transaction has failed."
}
Response Parameters
Parameter Name | Type | Description |
---|---|---|
content | string | Html content to load the output data. |
payment_id | long | Unique payment id. |
order_id | long | Unique order id. |
amount_in_paise | long | Amount paid in paise. |
timer_page_time_out_in_seconds | int | Timer for the page render. |
pg_upi_unique_request_id | string | Unique Request Id |
deep_link | string | Intent link for andriod devices. |
short_link | string | Intent link for IOS devices. |
response_code | string | Response code. |
response_message | string | Short message about code. |
Note:
For UPI Intent, every 5 sec inquiry call is mandatory on timer page to get status update.