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 |
/aps/api/v1/payments/userInitiatedPay | MPP->Alipay+ | |
/aps/api/v1/payments/inquiryPayment | Alipay+->MPP | |
/aps/api/v1/payments/notifyPayment | MPP->Alipay+ | |
/v1/payments/cancelPayment | Alipay+->MPP | |
/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 |
Used to initialize the Alipay+ server SDK. | MPP server -> Alipay+ server SDK | |
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.