PayPal

PayPal orders integration

// POST (application/json) - https://payments.cloudprotected.net/v1/payments/create

{
	"gateway": "paypal",
	"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": {
		"clientId": "your client ID",
		"secret": "your secret ID",
		"brandName": "My Webstore"
	}
}

Last updated

Was this helpful?