logo

Peatio Member API Errors

#Shared errors

CodeDescription
jwt.decode_and_verifyImpossible to decode and verify JWT
record.not_foundRecord Not found
server.internal_errorInternal Server Error

#Account module

CodeDescription
account.currency.doesnt_existCurrency doesn't exist in database
account.balance.missing_currencyParameter currency is missing
account.deposit.missing_currencyParameter currency is missing
account.deposit.invalid_stateDeposit state is not valid
account.deposit.non_integer_limitParameter limit should be integer
account.deposit.invalid_limitParameter limit is not valid
account.deposit.non_positive_pageParameter page should be positive number
account.deposit.empty_txidParameter txid is empty
account.withdraw.missing_txidParameter txid is missing
account.deposit.not_permittedPass the corresponding verification steps to deposit funds
account.withdraw.non_integer_limitParameter limit should be integer
account.withdraw.invalid_limitParameter limit is not valid
account.withdraw.non_positive_pageParameter page should be positive number
account.withdraw.non_integer_otpParameter otp should be integer
account.withdraw.empty_otpParameter otp is empty
account.withdraw.missing_otpParameter otp is missing
account.withdraw.missing_ridParameter rid is missing
account.withdraw.missing_amountParameter amount is missing
account.withdraw.missing_currencyParameter currency is missing
account.withdraw.empty_ridParameter rid is empty
account.withdraw.non_decimal_amountParameter amount should be decimal
account.withdraw.non_positive_amountParameter amount should be positive number
account.withdraw.insufficient_balanceAccount balance is insufficient
account.withdraw.invalid_amountParameter amount is not valid
account.withdraw.create_errorFailed to create withdraw
account.withdraw.invalid_otpParameter otp is not valid
account.withdraw.disabled_apiWithdrawal API is disabled
account.withdraw.not_permittedPass the corresponding verification steps to withdraw funds
account.withdraw.too_long_noteParameter note is too long
account.deposit_address.invalid_address_formatInvalid parameter for deposit address format
account.deposit_address.doesnt_support_cash_address_formatCurrency doesn't support cash address format

#Market module

CodeDescription
market.account.insufficient_balanceAccount balance is insufficient
market.market.doesnt_exist_or_not_enabledMarket doesn't exist in database or currently disabled/hidden
market.order.insufficient_market_liquidityInsufficient market liquidity
market.order.invalid_volume_or_priceOrder volume or price is invalid for selected market
market.order.create_errorFailed to create order
market.order.cancel_errorFailed to cancel order
market.order.market_order_priceMarket order doesn't have price
market.order.invalid_stateParameter state is not valid
market.order.invalid_limitParameter limit is not valid
market.order.non_integer_limitParameter limit should be integer
market.order.invalid_order_byParameter order_by is not valid
market.order.invalid_ord_typeParameter ord_type is not valid
market.order.invalid_typeParameter type is not valid
market.order.invalid_sideParameter side is not valid
market.order.missing_marketParameter market is missing
market.order.missing_sideParameter side is missing
market.order.missing_volumeParameter volume is missing
market.order.missing_priceParameter price is missing
market.order.missing_idParameter id is missing
market.order.non_decimal_volumeParameter volume should be decimal
market.order.non_positive_volumeParameter volume should be positive number
market.order.invalid_typeParameter type is not valid
market.order.non_decimal_priceParameter price should be decimal
market.order.non_positive_priceParameter price should be positive number
market.order.non_integer_idParameter id should be integer
market.order.empty_idParameter id is empty
market.trade.non_integer_limitParameter limit should be integer
market.trade.invalid_limitParameter limit is not valid
market.trade.empty_pageParameter page is empty
market.trade.non_integer_time_fromParameter time_from should be integer
market.trade.empty_time_fromParameter time_from is empty
market.trade.non_integer_time_toParameter time_to should be integer
market.trade.empty_time_to_Parameter time_to is empty
market.trade.invalid_order_byParameter order_by is not valid
market.trade.not_permittedPass the corresponding verification steps to enable trading

#Public module

CodeDescription
public.currency.doesnt_existCurrency doesn't exist in database
public.currency.invalid_typeCurrency type is not valid
public.currency.missing_idParameter id is missing
public.market.missing_marketParameter market is missing
public.market.doesnt_existMarket doesn't exist in database
public.order_book.non_integer_ask_limitParameter ask_limit should be integer
public.order_book.invalid_ask_limitParameter ask_limit is not valid
public.order_book.non_integer_bid_limitParameter bid_limit should be integer
public.order_book.invalid_bid_limitParameter bid_limit is not valid
public.trade.invalid_limitParameter limit is not valid
public.trade.non_integer_limitParameter limit should be integer
public.trade.non_positive_pageParameter page should be positive number
public.trade.non_integer_timestampParameter timestamp should be integer
public.trade.invalid_order_byParameter order_by is not valid
public.market_depth.non_integer_limitParameter limit should be integer
public.market_depth.invalid_limitParameter limit is not valid
public.k_line.non_integer_periodParameter period should be integer
public.k_line.invalid_periodParameter period is not valid
public.k_line.non_integer_time_fromParameter time_from should be integer
public.k_line.empty_time_fromParameter time_from is empty
public.k_line.non_integer_time_toParameter time_to should be integer
public.k_line.empty_time_toParameter time_to is empty
public.k_line.non_integer_limitParameter limit should be integer
public.k_line.invalid_limitParameter limit is not valid