API list
This topic lists all the interfaces that are used in Auto Debit.
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.
Interface name | Endpoint | Direction |
/aps/api/v1/payments/pay | Alipay+ -> Mobile Payment Partner | |
/aps/api/v1/payments/inquiryPayment | ||
/aps/api/v1/payments/refund | ||
/aps/api/v1/payments/cancelPayment | ||
/aps/api/v1/authorizations/applyToken | ||
/aps/api/v1/authorizations/cancelToken | ||
/aps/api/v1/authorizations/prepare | ||
/aps/api/v1/authorizations/inquiryUserInfo | ||
/aps/api/v1/users/inquiryCustomerId | ||
/aps/api/v1/users/sendOTP | ||
/aps/api/v1/users/verifyOTP | ||
/aps/api/risks/inquiryRiskScore | ||
/aps/api/v1/payments/notifyPayment | Mobile Payment Partner -> Alipay+ | |
/aps/api/v1/authorizations/consultUnbinding | ||
/aps/api/v1/authorizations/authNotify |
Client SDK interfaces
The following table lists the Alipay+ client SDK interfaces that are used in the integration process.
Interface | Description | Direction |
Initialize SDK | Mobile Payment Partner app -> Alipay+ client SDK | |
Clear user payment code in local cache and auth state | ||
Call SDK to sign contract | ||
Obtain authorization code | Alipay+ client SDK -> Mobile Payment Partner app | |
Show Mobile Payment Partner authorization page |
Note:
showAuthPage is only mandatory when Alipay+ assembles the authUrl.
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.
Interface name | Endpoint | Direction |
/aps/api/v1/payments/pay | Alipay+ -> Mobile Payment Partner | |
/aps/api/v1/payments/inquiryPayment | ||
/aps/api/v1/payments/refund | ||
/aps/api/v1/payments/cancelPayment | ||
/aps/api/v1/authorizations/applyToken | ||
/aps/api/v1/authorizations/cancelToken | ||
/aps/api/v1/authorizations/prepare | ||
/aps/api/v1/authorizations/inquiryUserInfo | ||
/aps/api/v1/users/inquiryCustomerId | ||
/aps/api/v1/users/sendOTP | ||
/aps/api/v1/users/verifyOTP | ||
/aps/api/risks/inquiryRiskScore | ||
/aps/api/v1/payments/notifyPayment | Mobile Payment Partner -> Alipay+ | |
/aps/api/v1/authorizations/consultUnbinding | ||
/aps/api/v1/authorizations/authNotify |