Alipay, China's leading third-party online payment solutionAlipay, China's leading third-party online payment solution

Implementing APIs

For the create, cancel, refund, and query flows, you can integrate by implementing corresponding APIs. To modify a QR code, you must implement the MODIFY interface. To stop, restart, or delete a QR code, you must implement the MODIFYSTATUS interface. The following table shows the APIs that are used in Merchant QR Code Payment. Click View doc to see details of the request parameters, response, samples, and error codes.

Name

Details

alipay.commerce.qrcode.create

View doc

alipay.commerce.qrcode.modify

View doc

alipay.commerce.qrcode.modifyStatus

View doc

alipay.acquire.cancel

View doc

alipay.acquire.overseas.spot.refund

View doc

alipay.acquire.overseas.query

View doc

Note:

Alipay does not recommend any order for implementing the APIs. However, to whitelist a payment integrator, Alipay requires the integrator to implement all APIs listed in this documentation.