Stripe

Stripe checkout integration

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

{
	"gateway": "stripe",
	"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": {
		"public": "pk_your_public_key",
		"secret": "sk_your_secret_key"
	}
}

Last updated

Was this helpful?