OneBip
OneBip integration
// POST (application/json) - https://payments.cloudprotected.net/v1/payments/create
{
	"gateway": "onebip",
	"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": {
		"username": "[email protected]",
		"secret": "demo"
	},
}// Creation success
{
    "success": true,
    "data": {
        "url": "https://www.onebip.com?payment"
    },
    "errors": null
}
// Validation error
{
    "success": false,
    "data": null,
    "errors": [
        "The user.identifier field is required."
    ]
}Last updated
Was this helpful?