alipay as the payment method type when calling the UseePay API. UseePay maps it to the downstream Alipay+ CONNECT_WALLET mode.payment_method_options is not required and should be omitted.| Payment method | What it represents | Customer experience | Recommended scenario |
|---|---|---|---|
| Alipay+ | An aggregated gateway for multiple supported wallets | Customer enters the Alipay+ cashier and selects an available wallet | Offer broad regional-wallet coverage through one payment option |
| Alipay CN | The Chinese mainland Alipay wallet | Customer goes directly to the dedicated Alipay flow | Customer explicitly chooses and can use Chinese mainland Alipay |
| AlipayHK | The Hong Kong AlipayHK wallet | Customer goes directly to the dedicated AlipayHK flow | Customer has installed AlipayHK and explicitly chooses it |
payment_method_data.type to alipay when creating the PaymentIntent. Set the billing address to the customer's actual information.HK, but Alipay+ is not limited to Hong Kong.status is requires_customer_action, use next_action.redirect.url to redirect the customer to the Alipay+ cashier page.{
"id": "1012609021628164437",
"amount": 100.23,
"currency": "USD",
"status": "requires_customer_action",
"next_action": {
"type": "redirect",
"redirect": {
"method": "GET",
"url": "https://checkout.alipayplus.example/connect-wallet?code=example_checkout_token",
"content_type": null,
"app_url": null,
"package_name": null
}
}
}payment_method_options parameters are required when initiating an Alipay+ payment. For the general client environment parameter reference, see Client and OS Type Options.