The API uses standard HTTP status codes for errors. Below are common responses:| Status Code | Error Type | Cause |
|---|
| 400 | BadRequest | Missing/invalid parameters or malformed request |
| 401 | Unauthorized | Missing or invalid JWT token |
| 402 | PaymentRequired | Direct debit not activated or insufficient funds |
| 404 | NotFound | Requested resource (e.g. DomainHolder ID) not found |
| 405 | MethodNotAllowed | Incorrect HTTP verb used |
| 422 | UnprocessableEntity | Entity failed validation |
| 500 | InternalServerError | Unexpected server-side error |
Error responses return a JSON object with statusCode and message. Always check these values for troubleshooting. Modified at 2025-08-06 15:32:48