
Alipay+
Integration
We offer this payment methods for the following integration modes. Learn in our dedicated guides about the individual differences
Find a high level overview in the "Process flows" chapter.
Depending on the integration mode, differences apply:
Hosted Checkout Page
Add the following properties to a standard CreateHostedCheckout request:
{
"order": {
"amountOfMoney": {
"currencyCode": "EUR",
"amount": 980
}
},
"hostedCheckoutSpecificInput": {
"locale": "en_GB",
"returnUrl": "https://yourReturnUrl.com"
},
"redirectPaymentMethodSpecificInput": {
"PaymentProductId": 5405
}
}
Properties | Remarks |
---|---|
order.amountOfMoney amount currencyCode |
amount: The gross amount you want to charge for this order |
hostedCheckoutSpecificInput returnURL locale |
returnURL: The URL we redirect your customers to after the payment has been finalized locale: The language version of our Hosted Checkout Page |
redirectPaymentMethodSpecificInput.paymentProductId |
paymentProductId: The numeric identifier of the payment method on our platform. Find this id in the "Overview" chapter. It instructs our platform to send your customers directly to the Alipay portal. If left out, our platform sends your customers to the Hosted Checkout Page instead, allowing them to choose this or any other payment method in your account |
Server-to-server
Add the following properties to a standard CreatePayment request:
{
"order":{
"amountOfMoney":{
"currencyCode":"EUR",
"amount":980
}
},
"redirectPaymentMethodSpecificInput":{
"PaymentProductId":5405,
"RequiresApproval":false,
"redirectionData":{
"returnUrl":"https://yourReturnUrl.com"
}
}
}
Properties | Remarks |
---|---|
order.amountOfMoney amount currencyCode |
amount: The gross amount you want to charge for this order |
redirectPaymentMethodSpecificInput paymentProductId requiresApproval redirectionData.returnUrl |
paymentProductId: The numeric identifier of the payment method on our platform. Find this id in the "Overview" chapter requiresApproval: Set to "false" as this payment method allows only direct sale operations returnUrl: The URL we redirect your customers to after the payment has been finalised |