This method applies ONLY to INR currency.
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.
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:
Alternatively, you can use the /Preference/SetApprovalWebhook endpoint to achieve the same thing.
A callback will be sent when:
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.