Payment flow for eWallets (online payment methods)
Availability
PayPal
Payment method object structure
Parameter
Type / Description
Request sample
{
"Language":"en",
"Country":"US",
"CustomerIP":"10.10.10.10",
"Source":"Website",
"ExternalCustomerReference":"externalCustomerId",
"Currency":"USD",
"MachineId":"123456789",
"Items":[
{
"Code":"DD996A4DB3",
"Quantity":1
}
],
"BillingDetails":{
"FirstName":"Customer First Name",
"LastName":"Customer Last Name",
"CountryCode":"US",
"State":"New York",
"City":"New York",
"Address1":"Example Street",
"Zip":"10005",
"Email":"customer@email.com"
},
"PaymentDetails":{
"Type":"PAYPAL",
"Currency":"USD",
"PaymentMethod":{
"RecurringEnabled":false,
"ReturnURL":"http:\/\/mywebsite.com\/order\/",
"Email":"customer@email.com"
}
}
}Redirecting shoppers to PayPal
PayPal Express - Alternative Flow
Parameter
Type / Description
Alipay
Payment method object structure
Request sample
Redirecting shoppers to Alipay
WeChat
Payment method object structure
Parameter
Type / Description
Request sample
Redirecting shoppers to WeChat
iDeal
Payment method Object structure
Parameter
Type / Description
Request sample
Redirecting shoppers to finalize the payment
Integration test cases
Last updated
Was this helpful?