Instant exchange API

Errors

Amount to exchange is below the possible min amount to exchange
This error occurs when the amount to exchange is below the possible min amount to exchange
{
  "statusCode": 400,
  "message": "Amount to exchange is below the possible min amount to exchange"
}
Amount to exchange is higher the possible max amount to exchange
This error occurs when the amount to exchange is higher the possible max amount to exchange
{
  "statusCode": 400,
  "message": "Amount to exchange is higher the possible max amount to exchange"
}
Invalid withdrawal address:
This error occurs when the specified withdrawal address is invalid or not supported.
{
  "statusCode": 400,
  "message": "Invalid withdrawal address."
}
Errors about incorrectly passed keys:
Errors about incorrectly passed keys or keys not passed will look like this: Example of an error with the id key
{
  "message": [
    "id should not be null or undefined",
    "id must be a string",
    "id should not be empty"
  ],
  "error": "Bad Request",
  "statusCode": 400
}
Invalid public key:
This error occurs when an invalid or unknown x-api-public-key is passed in the request headers.
{
  "statusCode": 403,
  "message": "Invalid public key."
}
Invalid payload:
This error occurs when an invalid or unknown x-api-payload is passed in the request headers.
{
  "statusCode": 403,
  "message": "Invalid payload."
}
Invalid signature:
This error indicates that the value provided in the x-api-signature header does not match the expected signature. Refer to the documentation on how to correctly generate the x-api-signature.
{
  "statusCode": 403,
  "message": "Invalid signature."
}
Not found:
This error occurs when the requested data is not found. Please check if the input data is correct.
{
  "statusCode": 404,
  "message": "Not found."
}
You have exceeded your request limit. Please try again later:
This error occurs when the partner key (x-api-public-key) has exceeded the allowed number of requests within a specific time period. Please try again later.
{
  "statusCode": 429,
  "message": "You have exceeded your request limit. Please try again later."
}
Error retrieving coins data:
A server-side error indicating that coin data could not be retrieved.
{
  "statusCode": 500,
  "message": "Error retrieving coins data."
}
Server error:
A general error indicating that something went wrong on the server.
{
  "statusCode": 500,
  "message": "Server error."
}
Unexpected error:
An unspecified server-side error. Please contact support if the issue persists.
{
  "statusCode": 500,
  "message": "Unexpected error."
}
Failed to process the request:
An internal error occurred while processing the request.
{
  "statusCode": 500,
  "message": "Failed to process the request."
}
Failed create transaction:
This error indicates that the server was unable to create a new transaction due to an internal error.
{
  "statusCode": 500,
  "message": "Failed create transaction."
}