Skip to main content

User Experience of BsC API

Payment Flow Sequence Diagram#

bsc_diagrams

  • The cashier calculate the total amount of the goods choosed by the buyer.
  • The buyer open the Wechat App on his(her) mobile and show cashier the QR code of quickpay.
  • The cashier use scanner of POS or EDC to scan the QR code.
  • The POS or EDC system call quick_pay WebService API.
  • The buyer may need to confirm the payment by entering PIN or using his(her) finger print.
  • A response will be returned to POS or EDC system with the payment result of 'SUCCESS', 'FAIL' or 'PENDING'.
  • If NOTSUER got, then order_query WebService API should be called periodically to query the state of the payment.
  • For order_query operations, if the state of the payment is always' PENDING', because customer in Password enter. cashier can choose to reverse this order. It is strongly recommended to reverse any abnormal order.