4.1.4 Payment flow - Payment code

User-Presented Mode Payment product. The merchant uses a code scanning device to scan the payment code and complete the deduction.


The User-presented Mode Payment product provides a convenient and secure way to pay. Users can complete the payment in just a few easy steps:

  1. The user presents the payment code for payment to the merchant.
  2. The merchant scans the payment code to collect the payment.
  3. The user gets the payment result.

Obtain the payment result using one of the following methods:

  • Synchronous: return the result directly in the response to the pay request.
  • 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.
  • Inqury: Call the detail API to check the payment request status.