Overview

​Errors

🚨 The API uses standard HTTP status codes to indicate success or failure of requests.

Status CodeMeaningDescription
200 OKSuccessRequest completed successfully.
201 CreatedResource CreatedContract or transaction successfully created.
400 Bad RequestInvalid RequestInput data is malformed or missing required fields.
401 UnauthorizedAuth FailedInvalid or missing API key.
403 ForbiddenAccess DeniedYou don’t have permission to perform this action.
404 Not FoundResource Not FoundContract or endpoint does not exist.
422 Unprocessable EntityLogic ErrorData is valid but the operation cannot proceed (e.g., contract already funded).
500, 501, 502, 503, 504 Internal Server ErrorServer IssueThe request could not be fulfilled due to an error from Xcrow. This shouldn't happen, so please report as soon as you encounter this.

Error Response Format:

{
  "error": {
    "code": "INVALID_INPUT",
    "message": "The field 'amount' is required.",
    "details": []
  }
}
json