Alipay+ DocsAlipay+ Docs

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

pay

/v1/payments/pay

Alipay+ ->Mobile Payment Provider

inquiryPayment

/v1/payments/inquiryPayment

cancelPayment

/v1/payments/cancelPayment

refund

/v1/payments/refund

getPaymentCode

/v1/codes/getPaymentCode

Mobile Payment Provider->Alipay+

(Recommended) notifyPayment

/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

iOS: isAlipayPlusSupportedRegion

Used to check whether the user is in Alipay+ supported region.

MPP client -> Alipay+ Client SDK

Android: getAcceptanceMarkLogos

iOS: getAcceptanceMarkLogos

Used to obtain the logos of acceptance marks that are supported by Alipay+ in the specific region.

MPP client -> Alipay+ Client SDK