Cancel Flow

The following business flow shows how to cancel an Alipay payment request. The process involves the customer, the merchant, and Alipay.

Cancel Flow

During the purchase process, it is possible to encounter issues such as system exception or network accessibility problems. In such cases, merchants can reverse the transaction by using the cancel interface.

The following diagram shows the cancel flow:

Cancel Flow

Notes:

  • For a transaction that has been successfully paid, the cancel Interface can cancel only transactions of the day in Beijing time.
  • If a transaction is refunded by using this interface, the transaction fee that has been charged by Alipay will be refunded as well.
  • If problems occur when the customer pay for a transaction, use this interface to roll back all actions that have already been performed in Alipay system regarding the specific transaction.

For more information about the parameters and error codes, seeĀ Cancel Interface.