PayPal Legacy
Legacy PayPal integration (buy buttons using e-mail address)
// POST (application/json) - https://payments.cloudprotected.net/v1/payments/create
{
"gateway": "paypalLegacy",
"successUrl": "https://shop.example.com/success",
"failedUrl": "https://shop.example.com/failed",
"webhookUrl": "https://shop.example.com/process",
"identifier": "payment12345",
"package": {
"name": "Test Package",
"price": 10.99,
"currency": "EUR"
},
"subscription": {
"enabled": false
},
"user": {
"identifier": "1234",
"email": "[email protected]"
},
"credential": {
"email": "[email protected]"
}
}
Last updated
Was this helpful?