Alipay+ DocsAlipay+ Docs

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

pay

N/A

Alipay+->MPP

inquiryPayment

N/A

refund

N/A

cancelPayment

N/A

applyToken

N/A

notifyPayment

/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

iOS: isAlipayPlusSupportedRegion

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

Android: getAcceptanceMarkLogos

iOS: 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

ailpayconnect.code.CodeIdentificationService.identify

Used to identify whether the code can be processed by Alipay+.

MPP server -> Alipay+ server SDK

ailpayconnect.code.CodeIdentificationService.init

Used to initialize the Alipay+ server SDK.

Feedback