Alipay+ DocsAlipay+ Docs

APIs and SDKs

This section introduces the APIs and SDKs that are provided in Alipay+ Cashier Payment.

APIs

The following table lists the APIs in terms of category, endpoint, and calling direction. You can click the interface name to see the detailed specification of each API.

Interface name

Endpoint

Direction

userInitiatedPay

/aps/api/v1/payments/userInitiatedPay

MPP->Alipay+

(Optional) inquiryCodeRules

/aps/api/v1/payments/inquiryCodeRules

notifyPayment

/aps/api/v1/payments/notifyPayment

inquiryPayment

N/A

Alipay+->MPP

cancelPayment

N/A

refund

N/A

SDK

The following tables list the interfaces that are provided by the Alipay+ server SDK. You can click the interface name to see the detailed specification of each interface.

Interface name

Description

Direction

ailpayconnect.code.CodeIdentificationService.init

Used to initialize the Alipay+ server SDK.

MPP server -> Alipay+ server SDK

ailpayconnect.code.CodeIdentificationService.identifyCode

Used to identify whether the code can be processed by Alipay+.

Note: Only if the user scans the order code for payment, you need to integrate the Alipay+ server SDK.