UPI Intent collection
This API will collect payments from the available UPI apps in the user’s phone. Please note you’re required to call the Validate VPA API before calling the UPI Collect Request. Only trigger the UPI Collect request if the VPA is verified successfully. Otherwise, display a generic error message such as "Invalid UPI ID".
curl --location 'https://xapi.bulkpe.in/client/pg1UpiIntent' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer XXXXXXX' \
--data '{
"amount": 10,
"referenceId": "TEST001",
"note": "TEST",
"device": "android",
"targetApp": "com.phonepe.app"
}'
Merchants should display the native/custom UI containing the list of UPI apps present on the user's device on the checkout page.
Once the user has completed the payment, User will automatically give the control back to the merchant app.