alipay payment method code.
Supported workflows
| Workflow | Supported |
|---|---|
| Payrails SDK | ✔ |
| Payrails API | ✔ |
| Delayed / Manual Capture | ✖ |
| Instant Capture | ✔ |
| Cancel / Void | ✖ |
| Refund / Reverse | ✔ |
| Save Instruments | ✖ |
| Merchant Initiated Transaction (MIT) | ✖ |
Before you begin
Complete these steps before you send your first Alipay payment through Nuvei:- Set up a Nuvei integration in your workspace. Follow the Nuvei integration setup guide if you don’t have one yet.
- Ask Nuvei to enable Alipay on your Nuvei merchant account.
- In the Payrails Portal, go to Settings → Integrations, open your Nuvei integration, select Alipay under Payment methods, and save.
- Add Alipay as a payment option in your workflow.
Request fields for Nuvei
Send these fields in the authorize request, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.Authorize an Alipay payment
Call authorize a payment withalipay as the paymentMethodCode. The response includes the redirect to Alipay.
Authorize request
success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How Nuvei handles Alipay
- Alipay through Nuvei is single-use: the customer confirms every payment. Each Alipay payment is a new customer-initiated payment.
- Payrails sends Alipay payments to Nuvei as sales, so Nuvei captures them immediately.