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+

inquiryPayment

/aps/api/v1/payments/inquiryPayment

Alipay+->MPP

notifyPayment

/aps/api/v1/payments/notifyPayment

MPP->Alipay+

cancelPayment

/v1/payments/cancelPayment

Alipay+->MPP

refund

/v1/payments/refund

Alipay+->MPP

(Optional) inquiryCodeRules

/v1/payments/inquiryCodeRules

MPP->Alipay+

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.