Alipay
| Features | |
|---|---|
| Method | Async - GET Redirect |
| Merchant countries | Malaysia |
| Consumer countries | China, Malaysia |
| Processing currencies | AUD, CAD, CHF, CNY, EUR, GBP, HKD, JPY, MYR, NZD, SGD, USD |
| Increments | - |
| Captures | - |
| Partial/Multiple partial captures | - |
| Cancels | - |
| Partial/Multiple partial cancels | - |
| Refunds | ✅ |
| Partial/Multiple partial refunds | ✅ |
| Recurring | - |
| Installments | - |
| Credits | - |
| Disputes | - |
| Min Amount | 0.1 |
| Account verification | - |
Alipay is an eWallet app that lets users store debit or credit card details to make online and in-store purchases using their phones. It works as a mobile wallet-based payment method, similar to the likes of Apple Pay. Alipay can be used to make purchases where the merchant has listed Alipay as a valid form of payment.
When a consumer shops online using the Alipay payment method, the merchant sends a payment to the PSP.
There are two ways to make Alipay payments:
-
qr_link: The returned redirection URL is a QR link to complete the purchase. The merchant redirects the customer to a page where the customer scans the QR code using the Alipay app to complete the purchase.
-
mobile_redirect: The returned redirection URL is a link to open the Alipay application to complete the purchase. The merchant redirects the customer which is on a mobile device to the Alipay web app to complete the purchase.
Payment flow

Payment
Request
{
"processingAccountId": "2HdN2jq6XWmlkhqRC2gDTNYCvNH",
"merchantReference": "c5211d6b-0178-49f8-a06b-69df097a712f",
"amount": {
"value": 200,
"currency": "cny"
},
"paymentMethod": {
"type": "alipay",
"alipay": {
"returnUrl": "https://merchant.site/complete-payment",
"order": {
"items": [
{
"name": "red shoes",
"quantity": 2
}
]
}
}
}
}
Response
{
"id": "27yiW9MgzBtwiodreuNOXk0rtIw",
"merchantReference": "c5211d6b-0178-49f8-a06b-69df097a712f",
"status": "pending",
"trackingUrl": "/v1/tracks/payments/{trackId}",
"reason": {
"code": "required_next_step",
"description": "An additional step is needed to complete the payment."
},
"nextStep": {
"type": "redirect",
"redirect": {
"method": "get",
"url": "https://payment.method/complete"
}
}
}