APIs and SDKs
This topic lists all the APIs that are used for Merchant-presented Mode Payment.
APIs
The following table lists the APIs that are used in the integration process.
Name | Endpoint | Direction |
N/A | Alipay+->MPP | |
N/A | ||
N/A | ||
N/A | ||
/aps/api/v1/payments/userInitiatedPay | MPP->Alipay+ | |
/aps/api/v1/payments/notifyPayment |
Client SDK APIs
The following table lists the Alipay+ client SDK APIs that are used in the integration process.
Name | Description | Direction |
Android: setConfiguration iOS: setConfiguration | Used to set the initialization parameters. | MPP app -> Alipay+client SDK |
Android: launch iOS: launch | Used to start the payment process for the entry code. | |
Android: getCurrentRegion iOS: getCurrentRegion | Used to get the user's current location. | |
Android: isAlipayPlusSupportedRegion | Used to check whether the user is in Alipay+ supported region. | |
Android: getAcceptanceMarkLogos | Used to obtain the logos of acceptance marks that are supported by Alipay+ in the specific region. | |
Android: getAuthCode iOS: getAuthCode | Used to obtain the authorization code. | Alipay+ client SDK -> MPP app |
Android: decode iOS: decode | Used to send the decoding request to the MPP. |
Note: To process payment requests from Acquiring Service Providers that operate in mainland China, the MPP also needs to integrate the getAuthCode SDK API and applyToken API.
Server SDK APIs
The following table lists the Alipay+ server SDK APIs that are used in the integration process.
Name | Description | Direction |
Used to identify whether the code can be processed by Alipay+. | MPP server -> Alipay+ server SDK | |
Used to initialize the Alipay+ server SDK. |