Skip to main content

Deposit Using UPI

This method applies ONLY to INR currency.

  • Initiate a UPI deposit transaction using the /Transaction/UpiDeposit endpoint.
  • Redirect your end user to the URL specified in the response you receive.
  • The end user will need to authorize the transaction.
  • When the process is completed, the end user will be redirected to the URL you specified when you called the /Transaction/UpiDeposit endpoint.
  • Wait for callback.
  • Check transaction status.

Once you have called the /Transaction/UpiDeposit endpoint, a pending transaction is generated in the Xprizo system and sends a request to our acquirer network to provide a URL for the UPI payment. You will need to redirect the end-user to this URL, and the user will need to authorize the transaction.

  • If authorization is received, the transaction will be marked as completed.
  • If the transaction is canceled, it will be marked as rejected.

You can query the status of the transaction at any point by calling the /Transaction/CheckStatus endpoint.

You can also receive transaction status updates via callbacks. To enable callbacks, you will need to configure this on the profile used to create the transaction. To do this:

  • Log in at wallet.xprizo.com.
  • Click on your profile icon at the top right, then 'Settings'.
  • Click on 'Preference' on the left menu.
  • Set 'Approval Webhook' to a URL of your choice where you will receive the callbacks.

Alternatively, you can use the /Preference/SetApprovalWebhook endpoint to achieve the same thing.

A callback will be sent when:

  • The pending transaction is created.
  • The pending transaction is approved.
  • The pending transaction is cancelled.

It is not strictly necessary to use callbacks. You can instead check the status of the transaction periodically. However, this is not recommended, as it would require you to poll the server continuously to check the status.

When using callbacks, it is still advisable to make a final status check to ensure that the transaction was completed successfully. You can use the /Transaction/Status endpoint to check the status of the transaction.