Alipay+ DocsAlipay+ Docs

API list

This topic lists all the interfaces that are used in Cashier Payment.

APIs for integration with client SDK

This section introduces the interfaces that are used in integration with the Alipay+ client SDK.

APIs

The following table lists the APIs that are used in the integration process.

Name

Endpoint

Direction

pay

/v1/payments/pay

Alipay+ -MPP

inquiryPayment

/v1/payments/inquiryPayment

refund

/v1/payments/refund

cancelPayment

/v1/payments/cancelPayment

applyToken

/v1/authorizations/applyToken

notifyPayment

/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

init/initWithContext

Used to initialize the Alipay+ client SDK.

MPP app -> Alipay+client SDK

decode

Used to send the decoding request to Alipay+.

clear

Used to clear the local cache of the payment code.

getAuthCode

Used to obtain the authorization code.

Alipay+ client SDK -> MPP app

pay

Used to send the payment request.

Server SDK interfaces

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.

APIs for integration without client SDK

This section introduces the interfaces that are used in integration without the Alipay+ client SDK.

APIs

The following table lists the APIs that are used in the integration process.

Name

Endpoint

Direction

pay

/v1/payments/pay

Alipay+ -MPP

inquiryPayment

/v1/payments/inquiryPayment

refund

/v1/payments/refund

cancelPayment

/v1/payments/cancelPayment

applyToken

/v1/authorizations/applyToken

notifyPayment

/v1/payments/notifyPayment

MPP->Alipay+

inquiryCodeRules

/v1/payments/inquiryCodeRules

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.identifyCode

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.