Cancel flow

  1. Merchant POS retrieve the purchase order to be cancelled by OrderID to recall the alipay wallet used in payment.
  2. If Alipay_HK is used, Merchant POS will create a cancel payment request in AlipayHK APS format and dispatch the request to API /v1/payments/cancelPayment. Alipay_HK will response the handling result.
  3. If Alipay_CN is used, Merchant POS will create a cancel payment request in MAPI format and dispatch the request to API alipay.acquire.cancel. For integration details, please refer to https://global.alipay.com/docs/ac/globalbarcode/introduction.
  4. If other Alipay A+ wallet is used, Merchant POS will create a cancel payment request in Alipay+ APS format and dispatch the request to API /v1/payments/cancelPayment. For integration details, please refer to https://global.alipay.com/docs/ac/ams_upm/introduction.
  5. Merchant POS updates the purchase order based on the handling result of the request.