创建入金订单v2(钱包|证券|期货)
POST
/order/v2/create
入金
接口变更记录
变更版本 | 变更时间 | 变更人 | 变更内容 | 备注 |
---|---|---|---|---|
V1.4.0 | 2023-11-23 | Worthy Guo | 新增接口-交易钱包入金(创建订单) | |
V1.6.1 | 2024-04-23 | Worthy Guo | 新增本位币逻辑,修改汇率换算接口 | |
V1.7.0 | 2024-05-27 | Worthy Guo | 新增Value day结算日计算逻辑 | |
资金模块V1.2.0 | 2024-10-10 | Carr Lei | account、accountType调整到targetAccount、targetAccountType | |
资金模块V1.3.0 | 2024-11-08 | Cass Song | 入金 支持国际电汇 | |
资金模块V1.3.0 | 2024-11-01 | Colin Zheng | 增加综合账户鉴权token请求头,路 由修改 | |
V1.14.0 | 2025-04-27 | Cass Song | 入参新增【remit_bank_id】字段 |
请求结构
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 | 配置项为空 |
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 | 账户类型与资金流向不匹配 |
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" | 存取款信息状态应为“已通过”或“审核中” |
存款 | ||
110101 | Only the client/admin role class can initiate deposit/income businesses | 只有client/admin角色类可以发起存款/收入业务 |
110102 | The payment information does not exist | 收款信息不存在 |
110103 | The payment currency is inconsistent with the recipient's currency | 支付币种与收款人货币不一致 |
110104 | The currency of the deposit is inconsistent with the currency of the deposit account | 入金币种与入金账号币种不一致 |
110105 | Audit status type error | 审核状态类型错误 |
110106 | Payment status type error | 支付状态类型错误 |
110107 | The payment amount must meet the single amount limit | 入金金额必须满足单笔金额限制 |
110108 | Please input the review comments | 审核意见为空 |
110109 | The deposit amount is too small, which does not meet the accuracy of interface input parameters | 入金金额过小,不满足接口入参精度 |
110110 | The handling fee must be less than the deposit amount | 手续费大于发生金额 |
110111 | Deposit refund order create failed | 入金回退订单创建失败 |
接口压测
请求参数
Header 参数
X-Auth-Token
string
可选
示例值:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJUcmFkaW5nLUF1dGgiLCJzdWIiOiJ7XCJVc2VyTmFtZVwiOlwiZWxhYSB0YVwiLFwiT21uaWJ1c0FjY291bnRJZFwiOlwiQTAwNFwiLFwiQXBwaWRcIjpcImFwcGM5NjBiNDBkYWI1ZFwiLFwiRW1haWxcIjpcIjEyMzQ1NkBxcS5jb21cIn0iLCJpYXQiOjE3MzAzNTczNjR9.E2q3MhwFhuy7L34N1KLF22YvmA-Ni1pX7isKid-dz60
Body 参数application/json