Auto Debit Payment - Alipay Plus
Charge a shopper through an active Alipay Plus automatic-debit agreement. Before creating a charge, the shopper must complete Alipay Plus Agreement authorization.
Step 0. Authentication
How to obtain an access token: Authentication Reference.
Step 1. Create an automatic-debit payment
POST /mch-api/v1/pa/payment_intents/create
{
"amount": "100",
"currency": "CNY",
"merchant_order_id": "subscription_20260821001",
"description": "Monthly subscription",
"notify_url": "https://merchant.example.com/webhooks/cbtis",
"payment_method": {
"type": "aplus_auto_debit",
"auto_debit": {
"agreement_token": "agt_L5yZ8Jwdsx3m5xjJV2rbqJ8cL4xYv-xzjxYiSoYgnNQ",
"merchant_customer_id": "customer_001"
}
}
}
| Field | Required | Description |
|---|---|---|
| amount | required | Amount to collect. Must be greater than zero. |
| currency | required | Transaction currency. |
| merchant_order_id | required | Your unique order identifier. Maximum length: 32. |
| description | required | Description shown for the charge. |
| notify_url | optional | Receives the final payment result. |
| payment_method.type | required | aplus_auto_debit. |
| payment_method.auto_debit.agreement_token | required | The token obtained through Exchange Agreement Token. |
| payment_method.auto_debit.merchant_customer_id | required | The shopper identifier used to create the agreement. |
The response is initially PENDING and has next_action.type set to none; the shopper does not need to take any
action. Use your payment notification endpoint or the payment query API to obtain the final result.
Do not retry a request with a new merchant_order_id after a network timeout. Reuse the same merchant order ID to
prevent a duplicate charge.