创建出金订单v2(钱包|证券|期货)
POST
/order/v2/create
订单管理相关接口
接口变更记录
变更版本 | 变更时间 | 变更人 | 变更内容 | 备注 |
---|---|---|---|---|
V1.4.0 | 2023-11-22 | Cass Song | 新增接口-钱包出金(创建订单) | |
V1.6.1 | 2024-04-23 | Cass Song | 新增本位币逻辑,修改汇率换算接口 | |
V1.7.0 | 2024-05-27 | Cass Song | 新增Value day结算日计算逻辑 | |
资金模块V1.1.0 | 2024-09-15 | Cass Song | 入参新增身份证字段 | |
资金模块V1.3.0 | 2024-11-01 | Colin Zheng | 增加综合账户鉴权token请求头,路由修改 | |
V1.14.0 | 2025-04-27 | Cass Song | 入参删除【中转银行信息和身份证】、新增【bank_address_details、bank_mark】字段 |
请求结构
1.
2.
公共参数
签名方法
1.
公共返回结果
接口描述
1.
错误码
code | msg | msg_cn |
---|---|---|
公共 | ||
990009 | Unauthorized access is prohibited | 禁止未经授权的访问 |
110001 | Parameter error | 参数错误 |
110002 | Uuid does not exist or the status is abnormal | uuid不存在或状态异常 |
110003 | Account type is incorrect or does not exist | 账户类型错误或账号不存在 |
110004 | The occurrence currency is different from the account currency | 账户类型错误或账号不存在 |
110005 | The uuid of the initiator and the generation account is different | 发起人和发生账户uuid不一致 |
110006 | No operation permission | 无操作权限 |
110007 | Appid not exist | APPID不存在 |
110008 | Operation not allowed mode id | 不允许的operation_mode_id |
110009 | The administrator does not support account type when creating an order | 管理员在创建订单时不支持账户类型 |
110010 | Order does not exist | 订单不存在 |
110011 | Order exist | 订单已存在 |
110012 | Setting item is empty | 配置项为空 |
110013 | Insufficient funds available for withdrawal | 可提资金不足 |
110014 | Invalid operator | 无效操作人 |
110015 | The initiator does not exist or is in an abnormal state | 发起人不存在或状态异常 |
110016 | Initiate order status error | 发起订单状态错误 |
110017 | Failed to initiate Distributed transaction | 分布式事务失败 |
110018 | Operation method does not exist | 操作方式不存在 |
110019 | Invalid order serial | 无效订单号 |
110020 | Idempotent Check Failed | 幂等性校验失败 |
110021 | Unknown source | 未知的来源 |
110022 | The trading system interface is error | 交易系统接口错误 |
110023 | Abnormal securities account status | 证券账户状态异常 |
110024 | Trading accounts do not have this currency | 交易账户没有此币种 |
110025 | Failed to obtain currency accuracy of trading account | 获取交易账号币种精度失败 |
110026 | Unknown fund flow | 未知的资金流向 |
110027 | Order is being processed in the system | 订单在系统处理中 |
110028 | Rate not exist | 汇率不存在 |
110029 | The occurrence account uuid is different from the occurrence account | 发生账户uuid与发生账户不一致 |
110030 | The account type does not match the capital flow | 账户类型与资金流向不匹配 |
110031 | Appeal failed, exceeding the deadline | 申诉失败,超出时限 |
110032 | No appeal authority | 无申诉权限 |
110033 | Value Day failed to get | 结算日期获取失败 |
110034 | Account is disabled | 账户已禁用 |
110035 | Account cancelled | 账户已注销 |
110036 | Data is null | 数据为空 |
110037 | ClientBankId does not exist | 存取款信息不存在 |
110038 | The ClientBankID should be either "Approved" or "Approving" | 存取款信息状态应为“已通过”或“审核中” |
110039 | The ClientBankid associated with the order has not been approved | 订单关联的存取款信息未审核通过 |
取款 | ||
110201 | Prohibit the flow of funds | 禁止资金流动 |
110202 | Current withdrawal cooling, please try again later | 当前取款冷却中,请稍后再试 |
110203 | Please do not resubmit, your withdrawal order pending review | 当前有待审核取款订单,请勿重复提交 |
110204 | The withdrawal amount is lower than the minimum withdrawal amount | 取款金额低于最低取款金额 |
110205 | The withdrawal amount is greater than the maximum withdrawal amount | 取款金额大于最高取款金额 |
110206 | The platform prohibits third-party withdrawals | 平台禁止第三方取款 |
110207 | Bank info does not exist | 银行信息不存在 |
110208 | The withdrawal amount should be greater than 0 and not greater than the withdrawal amount | 取款金额应大于0且不大于提现金额 |
110209 | Service charge greater than or equal withdraw amount | 手续费大于或等于取款金额 |
110210 | The handling fee is greater than the amount incurred | 手续费大于发生金额 |
110211 | Service charge miscalculation | 手续费计算错误 |
110212 | No such digital currency | 无此数字货币 |
110213 | Missing clearing ID | 缺少清算标识 |
110214 | The payment information does not exist/Inconsistent payment information with uuid | 收款信息不存在/收款信息与uuid不一致 |
110215 | The currency is not consistent with the payee's currency | 发生币种与收款人货币不一致 |
110216 | The withdrawal amount is too small, which does not meet the accuracy of interface input parameters | 出金金额过小,不满足接口入参精度 |
接口压测
请求参数
Header 参数
X-Auth-Token
string
可选
示例值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJUcmFkaW5nLUF1dGgiLCJzdWIiOiJ7XCJVc2VyTmFtZVwiOlwiZWxhYSB0YVwiLFwiT21uaWJ1c0FjY291bnRJZFwiOlwiQTAwNFwiLFwiQXBwaWRcIjpcImFwcGM5NjBiNDBkYWI1ZFwiLFwiRW1haWxcIjpcIjEyMzQ1NkBxcS5jb21cIn0iLCJpYXQiOjE3MzAzNTczNjR9.E2q3MhwFhuy7L34N1KLF22YvmA-Ni1pX7isKid-dz60
Body 参数application/json