# APIs and SDKs

> Read the following section to learn all the interfaces and files that are used in Auto Debit.

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](../api_mpp/pay) | N/A | Alipay+ ->Mobile Payment Provider |
| [inquiryPayment](../api_mpp/inquiry_payment) | N/A | Alipay+ ->Mobile Payment Provider |
| [refund](../api_mpp/refund) | N/A | Alipay+ ->Mobile Payment Provider |
| [cancelPayment](../api_mpp/cancel_payment) | N/A | Alipay+ ->Mobile Payment Provider |
| [applyToken](../api_mpp/apply_token) | N/A | Alipay+ ->Mobile Payment Provider |
| [cancelToken](../api_mpp/cancel_token) | N/A | Alipay+ ->Mobile Payment Provider |
| [prepare](../api_mpp/prepare) | N/A | Alipay+ ->Mobile Payment Provider |
| (Conditional) [sendOTP](../api_mpp/send_otp) | N/A | Alipay+ ->Mobile Payment Provider |
| (Conditional) [verifyOTP](../api_mpp/verify_otp) | N/A | Alipay+ ->Mobile Payment Provider |
| (Recommended) [notifyPayment](../api_mpp/notify_payment) | /aps/api/v1/payments/notifyPayment | Mobile Payment Provider\->Alipay+ |
| [consultUnbinding](../api_mpp/consult_unbinding) | /aps/api/v1/authorizations/consultUnbinding | Mobile Payment Provider\->Alipay+ |
| [authNotify](../api_mpp/auth_notify) | /aps/api/v1/authorizations/authNotify | Mobile Payment Provider\->Alipay+ |

> **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](../sdk_mpp/android_sign_contract) iOS: [signContract](../sdk_mpp/ios_sign_contract) | Start contract signing | MPP app > Alipay+ client SDK |
| Android: [showAuthPage](../sdk_mpp/android_show_auth_page) iOS: [showAuthPage](../sdk_mpp/ios_show_auth_page) | 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+.