Error codes

1. Shared errors
2. Errors of wallet functions
3. Errors of payment functions
4. Errors of exchange rates functions

1. Shared errors

-1001 Invalid request
Invalid request, requested API function is not exist.
-1002 Public key not found
Invalid public key.
-1003 Signature mismatch
Invalid SIGNATURE.
-1004 Score limit exceeded
Score limit is exceeded.
-1005 Kind not found
Abbreviated cryptocurrency name is incorrect, supported values: BTC or btc – Bitcoin, LTC or ltc – Litecoin, DASH or dash – Dash, XMR or xmr – Monero, BCH or bch – Bitcoin Cash.

2. Errors of wallet functions

-2000 Undescribed wallet error
Other errors of wallet management functions that are not identified as a separate one.
-2001 Invalid amount
Invalid amount. The error occurs in the function wallet-send-to if the amount of transfer is less than a minimum limit.
-2002 Invalid blocked amount
Invalid blocked amount. The error occurs in the function wallet-send-to if unlocked balance is less than transaction blocked amount.
-2003 Invalid address
Invalid transaction receiving address. The address has invalid format or belongs to the sender.
CashAddr format Bitcoin Cash addresses is supported only, use converter to get CashAddr from Legacy format address.
-2004 Invalid SUBTRACT_FEE_FROM_AMOUNT parameter
Invalid SUBTRACT_FEE_FROM_AMOUNT parameter. It is not allowed to subtract fees from the transfer amount if wallet has pending transfers.
-2005 Pending transaction limit exceeded
Pending transfers limit is exceeded. The pending transfers queue must have not greater than 3 transactions per wallet.
-2006 Invalid fee
Invalid miner fee.
-2007 Transaction not found
Transaction is not found. The error occurs in the function wallet-transaction-info if internal transaction ID TRANSACTION_ID has invalid value.

3. Errors of payment functions

-3000 Undescribed payment error
Other errors of payment management functions that are not identified as a separate one.
-3001 Payment not found
Payment is not found. The error occurs in the function payment-check if internal payment ID PAYMENT_ID has invalid value.
-3002 Currency pair not found
Currency pair is not found. The error occurs in the function payment-create if the system doesn't have currency pair that correspond to KIND and CURRENCY parameters.
-3003 Invalid value of currency
Currency amount is incorrect. The error occurs in the function payment-create in the request with CURRENCY parameter. Usually it means that parameter VALUE is incorrect. Permissible values interval: 0 < VALUE < 1000000.
-3004 Invalid CC_VALUE parameter
CC_VALUE parameter is invalid. The error occurs in the function payment-create in the request with CURRENCY parameter. It means that a cryptocurrency value is too small for the requested VALUE of CURRENCY.
-3005 Invalid CC_ADDRESS parameter
Internal system error. The error occurs in the function payment-create when the system has not free addresses of requested cryptocurrency. Repeat the request later.
-3006 Invalid ADDRESS parameter
ADDRESS parameter is invalid. The error occurs in the function payment-create if parameter ADDRESS is not available for requested cryptocurrency or value of ADDRESS is invalid.

4. Errors of exchange rates functions

-4000 Undescribed rates error
Other errors of exchange rates functions that are not identified as a separate one.
-4001 Currency pair not found
Currency pair is not found. The error occurs in the function rates-specific if CURRENCY_PAIR parameter has invalid value.
-4002 Exchange rate not found
Exchange rate is not found. The error occurs in the function rates-specific, internal system error. Repeat the request later.