Skip to main content
The API uses standard HTTP status codes to indicate the success or failure of requests. Error responses include a detailed message explaining what went wrong. Example error response:
{
  "error": {
    "code": "invalid_request",
    "message": "Invalid request parameters",
    "details": {
      "amount": "Amount must be greater than 0"
    }
  }
}
Common error codes:
  • 400 Bad Request: The request was invalid or cannot be served
  • 401 Unauthorized: Authentication failed or user lacks necessary permissions
  • 404 Not Found: The requested resource does not exist
  • 429 Too Many Requests: Rate limit exceeded
  • 500 Internal Server Error: An error occurred on the server