APIs and SDKs
This topic lists all the interfaces that are used in User-presented Mode Payment.
APIs
The following table lists the APIs that are used in the integration process.
Interface name | Endpoint | Direction |
N/A | Alipay+ ->Mobile Payment Provider | |
N/A | ||
N/A | ||
N/A | ||
/aps/api/v1/codes/getPaymentCode | Mobile Payment Provider->Alipay+ | |
(Recommended) notifyPayment | /aps/api/v1/payments/notifyPayment |
Note: The notifyPayment API is recommended so the MPP can notify Alipay+ of the payment result.
SDKs
The following tables list the interfaces that are provided by Alipay+ Client SDK in terms of Android and iOS. You can click the interface name to see the detailed specification of each interface.
Interface name | Description | Direction |
Android: getCurrentRegion iOS: getCurrentRegion | Used to get the user's current location. | MPP client -> Alipay+ Client SDK |
Android: isAlipayPlusSupportedRegion | Used to check whether the user is in Alipay+ supported region. | MPP client -> Alipay+ Client SDK |
Android: getAcceptanceMarkLogos | Used to obtain the logos of acceptance marks that are supported by Alipay+ in the specific region. | MPP client -> Alipay+ Client SDK |