AI Router offers two UPI flows to collect payment through its Checkout Page. These are:-

  1. UPI Collect
  2. UPI Intent


UPI Collect


The UPI Collect flow is a UPI payment process that allows you to collect payments by prompting the user to enter just the Virtual Payment Address (VPA) on the checkout page. User is notified through SMS and is prompted to make the payment on the relevant UPI App. Below is the transaction journey for UPI Collect flow: 

  1. User selects the UPI payment option and enters their UPI ID. 
  2. UPI transactions can only proceed once the VPA is validated. Once the user clicks on "Verify VPA", the merchant needs to call Validate VPA API of the AI Router. In case of an incorrect VPA, an error will be thrown asking the user to enter a valid VPA.
  3. Once UPI validation is complete, the user can proceed with the payment.
  4. User will click the Pay button and the merchant's app / browser will call the Payment API
  5. AI Router selects a payment gateway to route the transaction. 
  6. The selected PG will then send the collect request to NPCI and will return the polling page to the merchant's app / browser which is displayed to the user
  7. A collect request is sent to the user's UPI App. User will enter the MPIN and complete the payment. 
  8. The selected Payment gateway will receive the transaction status from NPCI and it will send the callback response to AI Router. 
  9. AI Router sends this response back to the merchant's app / browser and the polling page is closed
  10. Merchant will then call the AI Router's Transaction Status API to verify the final status of the payment. 
  11. AI Router returns the final payment status to the merchant and the merchant's app / browser will display it to the user. 


UPI Intent


AI Router's UPI Intent gives flexibility to its users for making payments from any of the UPI PSP Apps available on their mobile, thus allowing a better payment experience. Below is the transaction journey for UPI Intent flow: 

  1. User chooses UPI as a payment option to complete the transaction.
  2. Merchant will show a list of supported Apps on which UPI Payment can be done. 
  3. User selects an app and clicks on Pay. Merchant will call the Payment API with payment mode as "UPI_INTENT" 
  4. Router selects the Payment gateway for routing the transaction. 
  5. Router calls the selected gateways API to get the Intent Deeplink and then returns the Deeplink to merchant's app so that selected PSP could be invoked.
  6. PSP App is invoked.User enters MPIN on PSP app to complete the transaction.
  7. The PSP App sends the transaction to its UPI switch and the UPI Switch sends the transaction to NPCI for processing. 
  8. NPCI processes the transaction and sends the response back to both PA's UPI switch as well as PSP's UPI Switch. 
  9. The transaction status is updated on the PSP App as well as the PA. 
  10. The Payment Gateway sends the callback to the AI Router. AI Router then sends the payment status back to the merchant. 
  11. Merchant's server calls the Transaction Status API of the AI Router to verify the final payment status. 
  12. AI Router returns the final payment status to the merchant and merchant's app / browser will display it to the user.