欢迎使用全新的 WEEX API 文档。需要查看旧版本?切换到旧版文档
WEEX
钱包

错误代码

以下为 OpenAPI 对外错误码,适用于钱包与自有账户划转接口。message 始终为英语,%s、%d 在实际响应中替换为具体值。

JSONCode
{ "code": -2413, "msg": "Insufficient balance." }
错误码HTTP 状态Message说明
-2400400Wallet request parameter is invalid.参数错误
-2401429Too many wallet requests, please retry later.请求过于频繁,请稍后重试。
-2402503Wallet service is temporarily unavailable, please retry later.通用异常,请重试
-2403400User does not exist.用户不存在
-2404403Withdrawal is locked for 24 hours because the fund password was entered incorrectly 5 times.资金密码连续错误,24 小时内禁止提币
-2405403Withdrawal is locked for 24 hours after the security settings were changed.修改安全设置后 24 小时内禁止提币
-2406403This operation is restricted.业务被限制
-2407503User service error, please retry later.用户系统异常
-2408403This user is not allowed to perform the operation.当前用户无权执行此操作。
-2409503Wallet service error, please retry later.钱包系统异常
-2410400Illegal wallet parameter.非法参数
-2411400Wallet parameter validation failed.参数校验失败
-2412400Coin is not supported.币种不支持
-2413400Insufficient balance.资金不足
-2414400Withdrawal amount is below the minimum.提币金额低于最小值
-2415400Withdrawal amount cannot cover the fee.提币金额不足以支付手续费
-2416400Withdrawal limit exceeded.超过提币限额
-2417400Withdrawal is disabled for this coin or network.币种不支持提币
-2418400The address does not belong to the user.地址不属于用户
-2419400The order is under review.订单审核中
-2420400The withdrawal address is illegal.用户地址不合法
-2421403KYC verification is required for the current IP.IP 不正确,需要 KYC 认证
-2422500Wallet service returned an unknown error.钱包服务发生未知错误。
-2423503Wallet service is unavailable, please retry later.钱包服务暂不可用,请稍后重试。
-2424500Wallet service returned an empty response.钱包服务返回空响应。
-2425403API access is restricted.API 被限制
-2426403User account is frozen.用户被冻结
-2427403Wallet operation failed after KYC verification.KYC 认证后操作失败。
-2428403KYC verification is required for this account.新注册场景未完成 KYC
-2430503Coin configuration is unavailable, please retry later.币种配置暂不可用,请稍后重试。
-2431400Coin '%s' is not supported.币种不存在
-2432400Network '%s' is not supported for coin '%s'.网络不属于该币种
-2433400Deposit is disabled for coin '%s' on network '%s'.币种或网络未开启充值
-2434400Withdrawal is disabled for coin '%s' on network '%s'.币种或网络未开启提币
-2435400addressTag is required for coin '%s' on network '%s'.Memo 币种缺少 addressTag
-2436400The withdrawal address is invalid for the selected coin and network.地址校验未通过
-2437400Withdrawal amount must be at least %s.提币金额低于该网络的最小提币额
-2438400accountList contains an unsupported account type: %s.扣款账户类型非法
-2439400clientWithdrawId must contain 16 to 32 ASCII letters or digits, optionally prefixed with 'openapi_'.clientWithdrawId 格式非法
-2440400The receiving UID does not exist.内部转账收款 UID 不存在
-2441400Internal transfer to yourself is not allowed.内部转账不允许转给自己
-2442500Asset transfer failed.自有账户间划转失败
-2443503Asset transfer is processing. Retry with the same bizId.自有账户间划转处理中
-2444400fromAccountType and toAccountType cannot be the same.划出、划入账户相同
-2445409bizId already exists. Reuse it only with the original request parameters.bizId 已被其他请求使用
-2446400Legacy spot account is not supported. Use SPOT instead.老现货账户不支持
-2447400bizId must contain 16 to 32 ASCII letters or digits, optionally prefixed with 'openapi_'.自有账户划转 bizId 格式非法
-2448400The withdrawal address has not been added to Withdrawal Address Management.地址未维护在提币地址管理中。
-2449403The withdrawal address is frozen. Wait 24 hours after adding it to Withdrawal Address Management before withdrawing.新维护的提币地址仍处于 24 小时冻结期。
-2450429Only one withdrawal per address, coin and network combination is allowed every 10 seconds. A withdrawal may also be processing; please retry later.同一提现地址、币种、网络组合,每 10 秒最多成功创建一笔提现请求;处理中请稍后重试。
-2451400The Travel Rule form information is invalid. Please check the submitted fields.Travel Rule 表单信息填写错误。
-2452400Exceeds the maximum amount available for transfer.超过最大可划转金额。

鉴权与参数错误

  • -1192: Withdrawals are frozen for this API key. Freeze end time: %d (Unix milliseconds).
  • 冻结结束时间为 Unix 毫秒时间戳;冻结期间禁止使用该 API Key 调用需要提现权限的接口。
  • -1160: Decimal precision error. 划转数量精度超过币种配置。

其他通用错误见错误码。