APIs and SDKs
This topic lists all the interfaces that are used in Merchant-presented Mode Payment.
APIs for integration
This section introduces the interfaces that are used in integration.
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 | ||
N/A | ||
/aps/api/v1/payments/notifyPayment | MPP->Alipay+ |
Client SDK interfaces
The following table lists the Alipay+ client SDK interfaces that are used in the integration process.
Name | Description | Direction |
Android: init/initWithContext IOS: init/initWithContext | Used to initialize the Alipay+ client SDK. | MPP app -> Alipay+client SDK |
Android: decode IOS: decode | Used to send the decoding request to Alipay+. | |
Android: clear IOS: clear | Used to clear the local cache of the payment code. | |
Android: getCurrentRegion iOS: getCurrentRegion | Used to get the user's current region. | |
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: pay IOS: pay | Used to send the payment request. |
Server SDK interfaces
The following table lists the Alipay+ server SDK interfaces 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. |