API Reference

Handling errors

Errors from this group of endpoints will always respond with a body (JSON) that will follow the following structure:

{
	"instance": "/api/v1/whitelabel/customers",
	"title": "Please refer to the errors property for additional details.",
	"status": 422,
	"code": "EMAIL_IN_USE",
	"errors": [
		"E-mail em uso."
	],
	"exception": null
}

With their respective HTTP code.