Alipay+ DocsAlipay+ Docs

APIs and SDKs

This topic lists all the APIs that are used in Auto Debit.

APIs

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

Name

Endpoint

Direction

pay

/aps/api/v1/payments/pay

Alipay+ ->Mobile Payment Provider

inquiryPayment

/aps/api/v1/payments/inquiryPayment

refund

/aps/api/v1/payments/refund

cancelPayment

/aps/api/v1/payments/cancelPayment

applyToken

/aps/api/v1/authorizations/applyToken

cancelToken

/aps/api/v1/authorizations/cancelToken

prepare

/aps/api/v1/authorizations/prepare

(Conditional)

sendOTP

/aps/api/v1/users/sendOTP

(Conditional)

verifyOTP

/aps/api/v1/users/verifyOTP

(Recommended)

notifyPayment

/aps/api/v1/payments/notifyPayment

Mobile Payment Provider->Alipay+

consultUnbinding

/aps/api/v1/authorizations/consultUnbinding

authNotify

/aps/api/v1/authorizations/authNotify

Note: The notifyPayment API is recommended so the MPP can notify Alipay+ of the payment result.

Client SDK APIs

The following table lists the Alipay+ client SDK APIs that are used in the integration process.

Name

Description

Direction

Android: signContract

iOS: signContract

Start contract signing

MPP app > Alipay+ client SDK

Android: showAuthPage

iOS: showAuthPage

Show the authorization page

Alipay+ client SDK > MPP app

Note: You need to integrate the client SDK only if the terminal type of the MPP client is App and you need to support all merchants that are available with Alipay+.