API Errors

When API responds with errors it will respond with appropriate HTTP status code, like for example: 401, 404, 500, 403.

The response will have following format:

[
  {
    "message": "There was an internal server error."
  }
]

In case of multiple errors during processing single request, the API will respond with multiple errors:

[
  {
    "message": "Payout above daily limit"
  },
  {
    "message": "Bitcoin address formatted incorrectly"
  }
]