SumUp · Schema
Details Error
Error message structure.
PaymentsPOSPoint of SaleCard ReadersCheckoutFintechMobile PaymentsOnline Payments
Properties
| Name | Type | Description |
|---|---|---|
| title | string | Short title of the error. |
| details | string | Details of the error. |
| status | number | The status code. |
| failed_constraints | array | List of violated validation constraints. |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Details Error",
"description": "Error message structure.",
"type": "object",
"properties": {
"title": {
"description": "Short title of the error.",
"type": "string",
"example": "Bad Request"
},
"details": {
"description": "Details of the error.",
"type": "string",
"example": "One or more of the parameters are invalid."
},
"status": {
"description": "The status code.",
"type": "number",
"example": 400
},
"failed_constraints": {
"description": "List of violated validation constraints.",
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"reference": {
"type": "string"
}
}
},
"example": [
{
"message": "Currency must also be specified when filtering by amount",
"reference": "currency"
}
]
}
}
}