- 公共请求参数
- 公共返回结果
- 接口说明模板
- app-user
- 用户相关接口
- KYC税务表单接口
- 工单相关接口
- 沟通记录相关接口
- 审核相关接口
- KYC资料相关接口
- 通行证相关接口
- 风险等级测评接口
- 银行卡相关接口
- 大额投资者认证接口
- 零售客户行情订阅相关接口
- app-client
- 用户相关接口
- 审核相关接口
- 工单相关接口
- KYC税务表单接口
- 沟通记录相关接口
- KYC资料相关接口(临时保存)
- 通行证相关接口
- 风险等级测评接口
- 银行卡相关接口
- 大额投资者认证接口
- 零售客户行情订阅相关接口
- 交易系统相关接口
- 券商注册
- app-control
- app-report
- app-trading
- app-common
- app-platform
- app-notice
- app-storage
- app-public-fund
- app-order
- app-settle
- app-fund
- notification-center
- app-setting
- app-geography
订单列表查询
POST
/order/list
订单管理相关接口
接口变更记录#
变更版本 | 变更时间 | 变更人 | 变更内容 | 备注 |
---|---|---|---|---|
V1.4.0 | 2024-02-29 | worthy Guo | 修改查询参数 | |
V1.4.0 | 2024-04-11 | worthy Guo | 修改查询参数 | |
V1.7.0 | 2024-07-29 | worthy Guo | 新增返回参数 | |
资金模块V1.1.0 | 2024-08-2 | Cass Song | 修改入参、返回结果 | 入参新增,外部系统业务唯一标志、回退订单号、资金来源、资金目标;删除入参,资金流向。返回结果新增回退订单号 |
资金模块V1.2.0 | 2024-09-27 | Cass Song | 修改返回结果 | 返回结果新增"综合账户ID" |
请求 结构#
1.
2.
公共参数#
签名方法#
1.
公共返回结果#
接口描述#
错误码#
code | msg | msg_cn |
---|---|---|
110001 | Parameter error | 参数错误 |
110007 | Appid not exist | Appid不存在 |
110401 | The maximum amount must be greater than or equal to the minimum amount | 最大金额必须大于等于最小金额 |
110402 | Non compliance before and after time | 时间前后不合规 |
110403 | No permission to query orders | 无权限查询订单 |
枚举#
请求参数
Body 参数application/json
appid
string
appid
orderSerial
array[string]
订单号
uuid
array[string]
uuid
status
array[string]
订单状态
account
array[string]
发生账户
示例值:
["钱包ID","证券账户","等等"]
sourceCurrency
array[string]
来源币种
usdAmountRange
object
可选
minAmount
number
可选
maxAmount
number
可选
targetAccount
array[string]
目标账户
targetCurrency
array[string]
目标币种
orderCreateRangeReq
object
订单创建时间区间
startDateTime
string <date-time>
可选
endDateTime
string <date-time>
可选
operationModeId
array[integer]
操作方式id
operator
string
操作人
capitalFlows
array [object {2}]
资金流向
capitalSource
string
资金来源
capitalTarget
string
资金目标
capitalSource
array[string]
资金来源
capitalTarget
array[string]
资金目标
operatorRole
string
可选
page
integer
页数
>= 0
pagesize
integer
条数
>= 1<= 1000
externalBusinessId
string
可选
relatedOrderSerial
string
回退订单号
示例
{
"appid": "26",
"orderSerial": [
"Excepteur eu in"
],
"uuid": [
"45"
],
"status": [
"ut proident Lorem dolor labore"
],
"account": [
"钱包ID",
"证券账户",
"等等"
],
"sourceCurrency": [
"occaecat nulla eiusmod deserunt cillum"
],
"usdAmountRange": {
"minAmount": 29,
"maxAmount": 5
},
"targetAccount": [
"ipsum"
],
"targetCurrency": [
"deserunt officia"
],
"orderCreateRangeReq": {
"startDateTime": "1996-06-12 10:16:38",
"endDateTime": "1989-10-06 21:52:40"
},
"operationModeId": [],
"capitalFlows": [
{
"capitalSource": "reprehenderit nostrud enim labore magna",
"capitalTarget": "aliquip reprehenderit non"
},
{
"capitalSource": "laboris eu",
"capitalTarget": "officia veniam nostrud cillum labore"
},
{
"capitalSource": "dolor",
"capitalTarget": "culpa eu"
}
],
"operator": "Lorem fugiat deserunt Duis",
"operatorRole": "laboris laborum id exercitation",
"page": 33333158,
"pagesize": 366
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/order/list' \
--header 'Content-Type: application/json' \
--data-raw '{
"appid": "26",
"orderSerial": [
"Excepteur eu in"
],
"uuid": [
"45"
],
"status": [
"ut proident Lorem dolor labore"
],
"account": [
"钱包ID",
"证券账户",
"等等"
],
"sourceCurrency": [
"occaecat nulla eiusmod deserunt cillum"
],
"usdAmountRange": {
"minAmount": 29,
"maxAmount": 5
},
"targetAccount": [
"ipsum"
],
"targetCurrency": [
"deserunt officia"
],
"orderCreateRangeReq": {
"startDateTime": "1996-06-12 10:16:38",
"endDateTime": "1989-10-06 21:52:40"
},
"operationModeId": [],
"capitalFlows": [
{
"capitalSource": "reprehenderit nostrud enim labore magna",
"capitalTarget": "aliquip reprehenderit non"
},
{
"capitalSource": "laboris eu",
"capitalTarget": "officia veniam nostrud cillum labore"
},
{
"capitalSource": "dolor",
"capitalTarget": "culpa eu"
}
],
"operator": "Lorem fugiat deserunt Duis",
"operatorRole": "laboris laborum id exercitation",
"page": 33333158,
"pagesize": 366
}'
返回响应
🟢200成功
application/json
Body
订单分页返回对象
orderSerial
string
订单号
userInfo
object
可选
uuid
string
UUID
firstname
string
姓氏
lastname
string
名称
utype
string
类型
capitalSource
string
资金来源
示例值:
wallet=钱包,outside=外部,security=证券账户
capitalTarget
string
资金目标
示例值:
wallet=钱包,outside=外部,security=证券账户
operator
string
操作人
operatorRole
string
操作人角色
operationModeId
integer
操作方式id
oneLevelClassification
string
一级分类
twoLevelClassification
string
二级分类
threeLevelClassification
string
三级分类
account
string
发生账户
示例值:
钱包ID,证券账户等等
accountType
string
账号类型
示例值:
transaction=交易钱包,commission=佣金钱包,trading_account=交易账号
uuid
string
uuid
amount
number
发生金额
usdAmount
number
USD金额
currency
string
发生币种
auditRate
number
汇率(经审核)
serviceCharge
number
手续费(经审核)
usdServiceCharge
number
USD手续费
sourceCurrency
string
来源币种
sourceAuditAmount
number
来源金额(经审核)
counterpartyAmount
number
对方金额
counterpartyCurrency
string
对方币种
targetAccount
string
目标账户
targetCurrency
string
目标币种
targetAuditAmount
number
目标金额(经审核)
createTime
string
创建时间
auditTime
string
审核时间
valueDay
string
value day
status
string
订单状态
示例值:
draft=草稿,submit=提交,in_pay=支付中,pay_success=支付成功,pay_fail=支付失败,in_audit=审核中,audit_success=审核成功,audit_reject=审核拒绝,in_remittance=汇款中,again_remittance=重新待汇款,remittance_success=汇款成功,remittance_fail=汇款失败,remittance_retract=汇款回撤,in_appeal=申诉中,in_system=系统处理中,cancel=取消,complete=完成
relatedOrderSerial
string
回退订单号
omnibusAccount
string
综合账户ID
示例
{
"code": 0,
"success": true,
"data": {
"data": [
{
"orderSerial": "IT202402290000254713",
"userInfo": {
"uuid": "H3573533",
"firstname": "15223110775",
"lastname": "eclenttest",
"utype": "client"
},
"capitalSource": "security",
"capitalTarget": "security",
"operator": "H3573533",
"operatorRole": "client",
"operationModeId": 120203,
"oneLevelClassification": "transfer",
"twoLevelClassification": "transfer_out",
"threeLevelClassification": "transfer_out_security_account",
"account": "A179F",
"accountType": "security_account",
"uuid": "H3573533",
"amount": 153.339333,
"usdAmount": 19.591074,
"currency": "HKD",
"auditRate": null,
"serviceCharge": 0,
"usdServiceCharge": 0,
"sourceCurrency": "HKD",
"sourceAuditAmount": 153.339333,
"counterpartyAmount": 30.539951,
"counterpartyCurrency": "AUD",
"targetAccount": "A179F",
"targetCurrency": "AUD",
"targetAuditAmount": 30.539951,
"createTime": "2024-02-29 06:28:05",
"auditTime": null,
"status": "complete"
}
],
"totalCounts": 10000
},
"msg": "success",
"traceId": "e4ec6f2e8978483caa2365cb7198e484.291.17091882568701579"
}
修改于 2025-03-21 07:18:40