Alipay
Features | |
---|---|
Method | Async - GET Redirect |
Countries | China |
Processing currencies | AUD, CAD, CHF, CNY, EUR, GBP, HKD, JPY, 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 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.
The merchant redirects to the Alipay page and allows the customer 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",
"consumer": {
"name": "John Doe",
}
}
}
}
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"
}
}
}