4.1.2 Payment flow - Redirect
UQPAY will return the redirect url for the pay request, and merchant should pass it to user for redirection.

- User wants to buy goods and make an order to pay
- The merchant receives the payment request from the user , then calls the pay api to obtain the payment link to complete the payment.
- Handle the payment Redirect URL.
The payment Redirect URL is to be returned to the merchant . You need to redirect the user to the payment URL. The payment redirect URL proceeds the payment process with different operations based on the characteristics of payment methods, such as collecting information, redirecting users, invoking the app, displaying QR codes, opening checkout page and performing verifications. - Obtain the payment result using one of the following methods:
- Asynchronous notification: set the address for receiving asynchronous notifications. When the payment is success or fail, UQPAY uses notify to send asynchronous notifications to you.
- Inquiry: Call the detail API to check the payment request status.
Redirect type:
In-app: Redirect url support user to invoke the app.
In-web: Redirect url support user to open online banking page or other checkout page.
How to Migration the redirect process
Please find the detail in 7.6 section
Updated 6 days ago