4.1.6 Payment flow - Pre-authorization
Pre authorization transaction is a payment method used in specific scenarios, which allows merchants to freeze a certain amount of credit limit as a deposit before customers make purchases. After customers make actual purchases, the frozen amount can be deducted from the actual consumption amount

- User make an order, and want to pay in pre-authorisation model.
- The merchant receives the payment request from the user , then calls the pay api to initial a pre-auth payment
- Get the pre-authorisation result:
- Synchronous: return the result directly in the response to the pay request.
- Inquiry: Call the detail API to check the pre-auth request status.
- After the customer completes the consumption, the merchant confirms the completion of the pre-authorisation
- Get the completion result:
- Synchronous: return the result directly in the response to the completion request.
- Asynchronous notification: set the address for receiving asynchronous notifications. When the completion is success or fail, UQPAY uses notify to send asynchronous notifications to you.
- Inquiry: Call the detail API to check the completion request status.
Updated 7 days ago