The format of error messages:

    "errorCode": "000",
    "message": "Internal server error"

The Calypso API uses the following error codes:

000Internal server errorError on system side. Please contact the support.
001Bad requestIncorrect input data.
002Invalid api keyInvalid public api key in request.
003Wrong signSign transmitted in request is built incorrectly.
004Wallet with this address {address} does not existError occurs when non-existent wallet address transmitted in request
006Invoice is in incorrect state for operation
009Fee ratio of currency is not in range of min and max fee ratio
010Wallet doesn't belong to user company
011Invalid nonce parameter. Nonce value must be greater than previous one
012Invalid Payout state
014Invalid hot wallet currency
015Currency does not match wallet blockchain
016IdempotencyKey {idemmpotencyKeyUUID} already existsIn the payout creation request already used uuid for idempotency key is transmitted
016Can not create deal. Validation failedValidation error in payout creation. One or more request parameters were not validated
028Can not create invoice payment for invoice {invoiceId}. Allow only for UNLIMITED invoicesError occures when in the request "create withdrawal from unlimited invoice" invoice of incorrect type is transmitted