openapi: 3.1.0
info:
title: Defi-ClientAPI
description: 客户端H5/PCUI接入API,此API可以实现业务的自定义交易客户端
version: 1.0.0
tags:
- name: 基础数据
- name: 客户接口
- name: 客户接口/登录授权
- name: 客户接口/客户基础信息
- name: 客户接口/客户扩展信息
- name: 客户接口/客户谷歌验证
- name: 客户接口/客户KYC认证
- name: 客户接口/客户钱包管理
- name: 客户接口/客户银行卡管理
- name: 客户接口/社交账号登录
- name: 客户接口/客户自选产品
- name: 客户接口/客户开放API
- name: 消息接口
- name: 资金接口
- name: 资金接口/汇率查询
- name: 资金接口/提案查询
- name: 资金接口/客户存款接口
- name: 资金接口/客户取款接口
- name: 交易接口
- name: 交易接口/全仓合约交易
- name: 交易接口/逐仓合约交易
- name: 交易接口/杠杆交易
- name: 交易接口/现货交易
- name: 交易接口/股票交易
paths:
/:
head:
summary: 全局统一请求Header
deprecated: false
description: ''
operationId: updateLoginPwd
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: 默认值:en-US
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
- name: group
in: header
description: ''
required: false
example: ''
schema:
type: string
- name: idempotency-key
in: header
description: >-
幂等处理逻辑:
请求header中,若有idempotency-key时,则会缓存接口返回结果信息,有效期:24小时
后续相同idempotency-key
,相同bizType、version、group、companyId,有效期内,则直接获取缓存结果
如果并发请求,只会放行一次请求,其余请求,直接返回请求频率过快,请稍后重试
required: false
example: ''
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: string
headers: {}
security: []
/geoip/country:
get:
summary: 获取IP所在国家信息
deprecated: false
description: |-
IP所在国家查询
游客可访问
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: string
description: 系统通用返回码。0-成功,其他异常
msg:
type: string
description: 返回信息
bizCode:
type: string
description: 模块标识码
tm:
type: string
description: 处理时长(毫秒)
trace:
type: string
description: 全局链路标志信息
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
iso_code:
type: string
description: 国家代码
name:
type: string
description: 名称
request_ip:
type: string
description: 请求IP
required:
- iso_code
- name
- request_ip
description: 国家信息
required:
- code
- msg
- bizCode
- tm
- trace
- msgParams
- data
headers: {}
security: []
x-docstype: TS.Clientapi.Base
x-docstitle: 基础数据
/thirdExt/now:
post:
summary: 获取当前服务时间
deprecated: false
description: 获取当前服务时间
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: string
description: 系统通用返回码。0-成功,其他异常
msg:
type: string
description: 返回信息
bizCode:
type: string
description: 模块标识码
tm:
type: string
description: 处理时长(毫秒)
trace:
type: string
description: 全局链路标志信息
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
description: 时间戳,13位
type: integer
required:
- code
- msg
- bizCode
- tm
- trace
- msgParams
- data
examples:
'1':
summary: 成功示例
value:
bizCode: ''
code: '0'
msg: Success
tm: 0
trace: ''
msgParams: null
data: 1678426706212
ok: true
fail: false
headers: {}
security: []
/global/config.app.AppAssetsDubboService.getAssetsList:
post:
summary: 资产代码数据
deprecated: false
description: |
bizType=config.app.AppAssetsDubboService.getAssetsList
获取平台支持的全部资产列表数据
operationId: getAssetsList
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
type:
type: integer
format: int32
description: 资产类型 0、全部资产1、通用资产 2、基金资产 默认0
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultListAssets'
headers: {}
security: []
/global/config.app.AppDictDubboService.getListByParentId:
post:
summary: 字典基于ID查询
deprecated: false
description: |-
bizType=config.app.AppDictDubboService.getListByParentId
字典基于parentId查询
游客可访问
operationId: getListByParentId
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
parentId:
type: integer
description: 父级ID
required:
- parentId
example:
parentId: '1'
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
type: object
properties:
parentId:
type: integer
format: int64
description: 上级ID
id:
type: integer
format: int64
description: 主键id
name:
type: string
description: 字典名称
displayName:
type: string
description: 显示名称(前端显示这个字段)
code:
type: string
description: 字典代码
parentCode:
type: string
description: 上级代码
sort:
type: integer
format: int32
description: 排序
showType:
type: string
description: 字典显示类型
extend:
type: string
description: 扩展属性
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createTime:
type: integer
format: int64
description: 创建时间
updateTime:
type: integer
format: int64
description: 更新时间
hasLeaf:
type: integer
format: int32
description: 是否有子节点
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-r62nh7-n75987-jljj4-43kv-1677554114
code: '0'
data:
- code: Blockchain_explorer_txid
displayName: 区块链网络地址
updateTime: 1676458887694
sort: 1
nameEn: null
parentId: 0
revision: 1
extend: Blockchain_explorer_txid
nameTw: null
createBy: admin
createTime: 1676450014034
updateBy: admin
parentCode: '0'
name: 区块链网络地址
showType: null
id: 1274
hasLeaf: 1
status: 1
bizCode: ''
tm: 5
msgParams: null
ok: true
headers: {}
security: []
/global/config.app.AppDictDubboService.getListByParentCode:
post:
summary: 字典基于code查询
deprecated: false
description: |-
bizType=config.app.AppDictDubboService.getListByParentCode
字典基于code查询
游客可访问
operationId: getListByParentCode
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
parentCode:
type: string
description: 字典代码
required:
- parentCode
example:
parentCode: USDT
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
type: object
properties:
parentId:
type: integer
format: int64
description: 上级ID
id:
type: integer
format: int64
description: 主键id
name:
type: string
description: 字典名称
displayName:
type: string
description: 显示名称(前端显示)
code:
type: string
description: 字典代码
parentCode:
type: string
description: 上级代码
sort:
type: integer
format: int32
description: 排序
showType:
type: string
description: 字典显示类型
extend:
type: string
description: 扩展属性
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createTime:
type: integer
format: int64
description: 创建时间
updateTime:
type: integer
format: int64
description: 更新时间
hasLeaf:
type: integer
format: int32
description: 是否有子节点
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-484ynk7-j6o8-t3kglk-yiv7i-1677742871
code: '0'
data:
- code: Tron(TRC20)
displayName: Tron
updateTime: 1675995340948
sort: 1
nameEn: null
parentId: 469
revision: 5
extend: ''
nameTw: null
createBy: admin
createTime: 1673440493544
parentCode: USDT
updateBy: admin
name: Tron
showType: null
id: 1300
hasLeaf: 0
status: 1
bizCode: ''
tm: 3
msgParams: null
ok: true
headers: {}
security: []
/global/config.app.AppDictDubboService.getMapByParentCodes:
post:
summary: 字典基于Code批量查询
deprecated: false
description: |-
bizType=config.app.AppDictDubboService.getMapByParentCodes
批量获取字典数据
operationId: getListByParentId
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: 公司ID,通过环境变量获取
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: 随机跟踪码UUID
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: token
in: header
description: 登录token
required: true
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: 语言
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
parentCode:
description: 字典代码,多个逗号分割
type: string
required:
- parentCode
example:
parentId: '1'
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
code:
type: array
items: &ref_4
$ref: '#/components/schemas/DictVO'
description: 字典代码
required:
- code
description: 数据体
ok:
type: boolean
fail:
type: boolean
required:
- data
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-r62nh7-n75987-jljj4-43kv-1677554114
code: '0'
data:
- code: Blockchain_explorer_txid
displayName: 区块链网络地址
updateTime: 1676458887694
sort: 1
nameEn: null
parentId: 0
revision: 1
extend: Blockchain_explorer_txid
nameTw: null
createBy: admin
createTime: 1676450014034
updateBy: admin
parentCode: '0'
name: 区块链网络地址
showType: null
id: 1274
hasLeaf: 1
status: 1
bizCode: ''
tm: 5
msgParams: null
ok: true
headers: {}
security: []
/global/config.app.AppDictDubboService.getCountryListByParentId:
post:
summary: 国家地区根据ID查询
deprecated: false
description: |-
bizType=config.app.AppDictDubboService.getCountryListByParentId
国家地区根据ID查询
游客可访问
operationId: getCountryListByParentId
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
parentId:
type: string
description: 父级ID
required:
- parentId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
type: object
properties:
parentId:
type: integer
format: int64
description: 上级ID
id:
type: integer
format: int64
description: 主键id
name:
type: string
description: 国家地区名称
displayName:
type: string
description: 显示名称(前端显示)
code:
type: string
description: 国家代码
parentCode:
type: string
description: 上级代码
nationalCode:
type: string
description: 国家简称
countryCode:
type: string
description: 国家区号
extend:
type: string
description: 扩展属性
sort:
type: integer
format: int32
description: 排序
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createTime:
type: integer
format: int64
description: 创建时间
updateTime:
type: integer
format: int64
description: 更新时间
hasLeaf:
type: integer
format: int32
description: 是否有子节点
childs:
type: array
description: 子节点数据
items: &ref_0
$ref: '#/components/schemas/CountryDictVo'
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/config.app.AppDictDubboService.getCountryListByParentCode:
post:
summary: 国家地区根据code查询
deprecated: false
description: |-
bizType=config.app.AppDictDubboService.getCountryListByParentCode
国家地区根据code查询
游客可访问
operationId: getCountryListByParentCode
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
parentCode:
type: string
description: 国家代码
name:
type: string
description: 名称,可以搜索
required:
- parentCode
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
type: object
properties:
parentId:
type: integer
format: int64
description: 上级ID
id:
type: integer
format: int64
description: 主键id
name:
type: string
description: 国家地区名称
displayName:
type: string
description: 显示名称(前端显示)
code:
type: string
description: 国家代码
parentCode:
type: string
description: 上级代码
nationalCode:
type: string
description: 国家简称
countryCode:
type: string
description: 国家区号
extend:
type: string
description: 扩展属性
sort:
type: integer
format: int32
description: 排序
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createTime:
type: integer
format: int64
description: 创建时间
updateTime:
type: integer
format: int64
description: 更新时间
hasLeaf:
type: integer
format: int32
description: 是否有子节点
childs:
type: array
description: 子节点数据
items: *ref_0
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/config.app.AppSymbolDubboService.getSymbolList:
post:
summary: 产品基础数据
deprecated: false
description: |-
bizType=config.app.AppSymbolDubboService.getSymbolList
查询基础产品信息,支持客户组以及产品名称/code模糊查询
游客可访问
operationId: getSymbolList
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法ID
customerGroupId:
type: integer
format: int64
description: 客户组ID
name:
type: string
description: 产品名称或者Code
required:
- tradeType
- customerGroupId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
name:
type: string
description: 交易产品名称
code:
type: string
description: 交易产品代码
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈利货币
sourceId:
type: string
description: 行情源
tradeTypes:
type: string
description: 支持玩法数组
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 游客_成功示例
value:
msg: Success
fail: false
trace: x-6320jq-ngjyr-99cmjy51-y7q16p-1677564664
code: '0'
data:
- sourceId: UNISWAP_V3_USDC_WETH
code: USDC_WETH
tradeTypes: null
etf: false
name: USDC_WETH
profitCurrency: ETH
id: 6327
baseCurrency: USDC
status: 1
bizCode: ''
tm: 4
msgParams: null
ok: true
headers: {}
security: []
/global/config.app.AppSymbolDubboService.getSymbolBaseList:
post:
summary: 产品简要数据
deprecated: false
description: |-
bizType=config.app.AppSymbolDubboService.getSymbolBaseList
查询产品信息,包括基础产品以及简要交易参数,例如小数位、成交模式等信息
游客可访问
operationId: getSymbolBaseList
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: 公司ID,通过环境变量获取
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: 随机跟踪码UUID
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: token
in: header
description: 登录token
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: 语言
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SearchSymbolBaseDto'
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法
symbolId:
type: integer
format: int64
description: 产品ID
symbolCode:
type: string
description: 产品代码
symbolName:
type: string
description: 产品名称
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈利货币
customerGroupIds:
type: string
description: 客户组权限
symbolGroupIds:
type: string
description: 产品组关系
symbolDigits:
type: integer
format: int32
description: 小数位
askSpread:
type: string
description: askSpread
bidSpread:
type: string
description: bidSpread
pointRatio:
type: integer
format: int32
description: 大点比率
dealMode:
type: integer
format: int32
description: 成交模式
etf:
type: boolean
description: 是否是ETF
fundId:
type: integer
format: int64
description: 关联基金ID
labels:
type: string
description: 标签
sortNum:
type: integer
format: int32
description: 排序字段
enableShortLoan:
type: integer
format: int32
description: 是否可融券
enableLongLoan:
type: integer
format: int32
description: 是否可融资
dividend:
type: integer
format: int32
description: 是否可交易
inHolidayTime:
type: integer
description: 是否假期中,0:不在假期中,1:在假期中
inTradeTime:
type: integer
description: 是否交易时间中,0:不在交易时间,1:在交易时间
holidayTimeList:
type: array
items: &ref_3
$ref: '#/components/schemas/HolidayTime'
description: 假期时间
tradeTimeList:
type: array
items: &ref_2
$ref: '#/components/schemas/TradeTime'
description: 交易时间
required:
- inHolidayTime
- inTradeTime
- holidayTimeList
- tradeTimeList
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-qfx13-8z5850-mf4l657-gkqbn-1677563999
code: '0'
data:
- symbolId: 1061
pointRatio: 0
customerGroupIds: null
dealMode: 4
baseCurrency: DOGE
bidSpread: '0'
labels: cryptocurrency
symbolGroupIds: null
enableShortLoan: 0
symbolCode: DOGE/USDT-BN-TG
fundId: null
etf: false
enableLongLoan: 0
dividend: 0
profitCurrency: USDT
symbolName: DOGE/USDT-BN-TG
sortNum: 292
symbolDigits: 4
askSpread: '0'
tradeType: 5
bizCode: ''
tm: 955
msgParams: null
ok: true
headers: {}
security: []
/global/config.app.AppSymbolDubboService.getSymbolDetail:
post:
summary: 产品详细数据
deprecated: false
description: |
bizType=config.app.AppSymbolDubboService.getSymbolDetail
获取产品配置详细交易参数
operationId: getSymbolDetail
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: 公司ID,通过环境变量获取
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: 随机跟踪码UUID
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: token
in: header
description: 登录token
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: 语言
required: true
example: zh-CN
schema:
type: string
- name: version
in: header
description: ''
required: true
example: 0.0.2
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法ID
symbolId:
type: integer
format: int64
description: 产品ID
required:
- tradeType
- symbolId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法
symbolId:
type: integer
format: int64
description: 产品Id
symbolName:
type: string
description: 产品名称
symbolCode:
type: string
description: 产品代码
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈亏货币
symbolDigits:
type: integer
format: int32
description: 产品小数位
numberDigits:
type: integer
format: int32
description: 数量小数位
priceBreadth:
type: integer
format: int32
description: 价格广度
earlyWarningProportion:
type: number
description: 预警比例
askSpread:
type: number
description: ASK点差
bidSpread:
type: number
description: BID点差
marginType:
type: integer
format: int32
description: 保证金计算公式
marginInfo:
description: 保证金信息
type: object
properties:
type:
type: string
description: 类型(1:保证金比例,2:杠杆范围)
values:
type: string
description: 数值
marginVoList:
type: array
description: 明细
items:
type: object
properties:
id:
type: string
description: 保证金ID
groupId:
type: integer
format: int64
description: 保证金组ID
type:
type: string
description: 类型类型(1:保证金比例,2:杠杆范围)
values:
type: string
description: 数值
rangeLeft:
type: number
description: 范围开始
rangeRight:
type: number
description: 范围结束
percent:
type: number
description: 万分比
dailyMarginSet:
type: array
items: &ref_1
$ref: '#/components/schemas/MarginSet'
description: 平日保证金层级
holidayMarginSet:
type: array
items: *ref_1
description: 假期保证金层级
weekendMarginSet:
type: array
items: *ref_1
description: 周末保证金层级
beforeHolidayMarginSet:
type: array
items: *ref_1
description: 假期前保证金比例
beforeWeekendMarginSet:
type: array
items: *ref_1
description: 周末前保证金比例
usedMarginSet:
type: array
items: *ref_1
description: 当前使用保证金比例
tradeTimeList:
type: array
items: *ref_2
description: 交易时间
quoteTimeList:
type: array
items: &ref_44
$ref: '#/components/schemas/QuoteTime'
description: 行情时间
holidayTimeList:
type: array
items: *ref_3
description: 假期时间
weekendLeadTime:
type: integer
format: int64
description: 周末提前时间(分)
holidayLeadTime:
type: integer
format: int64
description: 假期提前时间(分)
contractSize:
type: integer
format: int32
description: 合约大小
pointRatio:
type: integer
format: int64
description: 大点比率
volumeStep:
type: number
description: 手数步长
minVolume:
type: number
description: 单边最小手数
maxVolume:
type: number
description: 单边最大手数
stopLossMinPoint:
type: integer
format: int32
description: 止损最小距离
stopLossMaxPoint:
type: integer
format: int32
description: 止损最大距离
buyInterest:
type: number
description: 买入隔夜利息
sellInterest:
type: number
description: 卖出隔夜利息
priceMaxLimit:
type: number
description: 限价最大距离
priceMinLimit:
type: number
description: 限价最小距离
eodTime:
type: string
description: 结息时间
feeMethod:
type: string
description: 手续费收取方式
feeFormula:
type: string
description: 手续费计算公式
feeRate:
type: number
description: 手续费率
fee:
type: number
description: 手续费
startTime:
type: integer
format: int64
description: 产品开始时间
endTime:
type: integer
format: int64
description: 产品到期时间
leverRatio:
type: string
description: 杠杆倍数
borrowingLimitRatio:
type: number
description: 限制借款比例
multipleFreezeRatio:
type: number
description: 多冻比例
transferLimitRatio:
type: number
description: 限制划出资产比例
borrowInterestList:
type: array
items: &ref_45
$ref: '#/components/schemas/BorrowInterest'
description: 借款利息
borrowLimitList:
type: array
items: &ref_46
$ref: '#/components/schemas/BorrowLimit'
description: 借款限额
borrowStatusList:
type: array
items: &ref_47
$ref: '#/components/schemas/BorrowStatus'
description: 借款产品
totalCredit:
type: number
description: 总授信
dealMode:
type: integer
format: int32
description: 成交模式
etf:
type: boolean
description: 是否是ETF
fundId:
type: integer
format: int64
description: 关联基金ID
tradeEnable:
type: integer
format: int32
description: 是否可交易
newShare:
type: string
description: 最新份额
labels:
type: string
description: 标签
labelList:
type: array
items: *ref_4
description: 标签列表
minTradeUnit:
type: integer
format: int64
description: 最小交易单位(股/每手)
tradeDirection:
type: string
description: 交易方向
wholeYearDays:
type: integer
format: int64
description: 全年天数
accountReset:
type: string
description: 账户清零
accountPositionTotalVolumes:
type: integer
format: int64
description: 账户持仓总手数
withdrawalRatio:
type: number
description: 取款比例
enableShortLoan:
type: integer
format: int32
description: 是否可融券
enableLongLoan:
type: integer
format: int32
description: 是否可融资
accountDayLeverageRatio:
type: integer
format: int64
description: 账户日内杠杆倍数
accountOvernightLeverageRatio:
type: integer
format: int64
description: 账户日内杠杆倍数
buyMaxPositionVolumes:
type: number
description: 买入最大持仓手数
sellMaxPositionVolumes:
type: number
description: 卖出最大持仓手数
minFee:
type: number
description: 最低手续费金额
maxFee:
type: number
description: 最高手续费金额
daytimeBuyInitMarginRatio: *ref_1
daytimeBuyRemainingMarginRatio: *ref_1
daytimeBuyAlarmMarginRatio: *ref_1
daytimeSellInitMarginRatio: *ref_1
daytimeSellRemainingMarginRatio: *ref_1
daytimeSellAlarmMarginRatio: *ref_1
overnightBuyInitMarginRatio: *ref_1
overnightBuyRemainingMarginRatio: *ref_1
overnightBuyAlarmMarginRatio: *ref_1
overnightSellInitMarginRatio: *ref_1
overnightSellRemainingMarginRatio: *ref_1
overnightSellAlarmMarginRatio: *ref_1
overnightInAdvance:
type: integer
format: int64
description: 隔夜提前时间(分)
longLoanYearRatio:
type: array
items: &ref_48
$ref: '#/components/schemas/BorrowAssetsInterest'
description: 融资年利息率
shortLoanYearRatio:
type: number
description: 融券年利息率
liquidationFormula:
type: string
description: 强平计算公式
netAssetCurrency:
type: string
description: 净资产币种
limitOrderMaxVolume:
type: integer
format: int64
description: 限价订单最大数量
enableReverseTrade:
type: string
description: 是否支持反方向同时交易
dividendFee:
type: number
description: 派息费用(按比例)
minDividendFee:
type: number
description: 最低派息费用
corporateActionCode:
type: string
description: 公司行动临时代码
dividendFutureInfos:
type: array
items: &ref_5
$ref: '#/components/schemas/DividendInfo'
description: 公司未来行动
dividendPastInfos:
type: array
items: *ref_5
description: 公司过去行动
stockStatus:
type: string
description: 股票状态(TRADING/CLOSED)
maintainMargin:
type: string
description: 维持保证金比例(逐仓合约特有)
enableDepthTrade:
type: string
description: MM完仓玩法是否深度成交
required:
- enableDepthTrade
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-1751c-o767es-mxt8e-23ui-1677565011
code: '0'
data:
weekendLeadTime: null
marginInfo: null
longLoanYearRatio: null
withdrawalRatio: null
maxFee: null
accountDayLeverageRatio: 0
eodTime: null
tradeEnable: 1
holidayLeadTime: null
priceMinLimit: null
accountOvernightLeverageRatio: 0
feeMethod: null
accountPositionTotalVolumes: 0
askSpread: null
sellInterest: null
daytimeBuyAlarmMarginRatio: null
netAssetCurrency: null
daytimeSellInitMarginRatio: null
enableReverseTrade: null
minFee: null
labels: null
borrowInterestList: null
overnightSellRemainingMarginRatio: null
dailyMarginSet: null
numberDigits: 2
symbolId: null
dealMode: 3
stopLossMinPoint: null
wholeYearDays: 0
beforeWeekendMarginSet: null
feeRate: 0.01
usedMarginSet: null
earlyWarningProportion: 0.002
tradeTimeList:
- dayOfWeek: 7
startTime: 0
endTime: 1439
- dayOfWeek: 4
startTime: 0
endTime: 1439
- dayOfWeek: 6
startTime: 0
endTime: 1380
- dayOfWeek: 1
startTime: 0
endTime: 1439
- dayOfWeek: 3
startTime: 0
endTime: 1439
- dayOfWeek: 5
startTime: 0
endTime: 1439
- dayOfWeek: 2
startTime: 0
endTime: 1440
startTime: null
contractSize: null
tradeType: 5
daytimeSellAlarmMarginRatio: null
buyMaxPositionVolumes: null
accountReset: null
symbolCode: null
labelList: null
fundId: null
volumeStep: 1
holidayTimeList:
- startTime: 1629279900334
endTime: 1629280200334
leverRatio: '1'
marginType: 0
newShare: null
minVolume: 1
endTime: null
priceBreadth: 5
corporateActionCode: null
minTradeUnit: 0
overnightSellAlarmMarginRatio: null
borrowStatusList: null
fee: null
daytimeBuyRemainingMarginRatio: null
borrowingLimitRatio: 0.009
etf: false
stockStatus: null
dividendFutureInfos: null
symbolName: null
shortLoanYearRatio: null
stopLossMaxPoint: null
daytimeBuyInitMarginRatio: null
overnightSellInitMarginRatio: null
buyInterest: null
priceMaxLimit: null
sellMaxPositionVolumes: null
minDividendFee: null
dividendPastInfos: null
bidSpread: null
liquidationFormula: null
multipleFreezeRatio: 0.01
beforeHolidayMarginSet: null
overnightBuyRemainingMarginRatio: null
overnightInAdvance: 0
profitCurrency: null
transferLimitRatio: 0
daytimeSellRemainingMarginRatio: null
overnightBuyAlarmMarginRatio: null
symbolDigits: 1
limitOrderMaxVolume: 0
overnightBuyInitMarginRatio: null
baseCurrency: null
enableShortLoan: 0
borrowLimitList: null
quoteTimeList:
- dayOfWeek: 4
startTime: 0
endTime: 1440
- dayOfWeek: 2
startTime: 0
endTime: 1440
- dayOfWeek: 5
startTime: 0
endTime: 1440
- dayOfWeek: 7
startTime: 0
endTime: 1440
- dayOfWeek: 1
startTime: 0
endTime: 1440
- dayOfWeek: 3
startTime: 0
endTime: 1440
- dayOfWeek: 6
startTime: 0
endTime: 1440
pointRatio: 0
totalCredit: null
maxVolume: 1
feeFormula: '1'
tradeDirection: null
dividendFee: null
weekendMarginSet: null
enableLongLoan: 0
holidayMarginSet: null
bizCode: ''
tm: 27
msgParams: null
ok: true
headers: {}
security: []
/global/config.app.AppSymbolDubboService.getFundInfo:
post:
summary: 基金详细信息
deprecated: false
description: 获取基金详细信息
operationId: getFundInfo
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
fundId:
type: integer
format: int64
description: 基金ID
responses:
'200':
description: ''
content:
application/json:
schema: &ref_7
$ref: '#/components/schemas/BaseResultOpenFundsVo'
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-064821ac-4bcc-48a2-9c56-a5804f7ab766-1677566865076
code: '0'
data:
canPurchase: 1
yearDays: 365
shareTokenDigits: 6
redemptionCurrencySetting:
- minRedemptionAmount: null
minRedemptionNum: 3
currencyName: USDT
redemptionFeeProportion: 0
currencyCode: USDT
- minRedemptionAmount: null
minRedemptionNum: 3
currencyName: null
redemptionFeeProportion: 0
currencyCode: self
settlementCustomerNo: '86000040'
shareToken: 64
managerName: null
purchaseType: 2
fundType: null
operationMode: 2
minRedemptionNum: 500
upDate: '2022-05-10'
customerId: 40
preShare: '2000'
purchaseCurrencySetting:
- currencyName: USDT
purchaseFeeProportion: 0
minPurchaseAmount: 5000
minPurchaseNum: 5
currencyCode: USDT
- currencyName: null
purchaseFeeProportion: 0
minPurchaseAmount: null
minPurchaseNum: 5
currencyCode: self
introduction: >-
V10 index fund contains the top 10 cryptocurrencies, the
underlying assets are adjusted by monthly according to
their average daily volume within the past 120 days. It
reflects the overall trend in cryptocurrency with asset
transparency. With V10, you won't miss out on the
fast-growing market.
fundCurrencyList:
- currencyName: MATIC
weight: 1.238902%
currencyCode: MATIC
- currencyName: USDT
weight: 0.183337%
currencyCode: USDT
- currencyName: DOGE
weight: 2.001659%
currencyCode: DOGE
- currencyName: XRP
weight: 2.130794%
currencyCode: XRP
- currencyName: BTC
weight: 65.762574%
currencyCode: BTC
- currencyName: LTC
weight: 1.376322%
currencyCode: LTC
- currencyName: LINK
weight: 0.746966%
currencyCode: LINK
- currencyName: SOL
weight: 2.268261%
currencyCode: SOL
- currencyName: BNB
weight: 1.903673%
currencyCode: BNB
- currencyName: ETH
weight: 21.557723%
currencyCode: ETH
- currencyName: ADA
weight: 0.829790%
currencyCode: ADA
settlementCustomerId: 41
dailySettlementTime: 0
purchaseFeeProportion: 0
canRedemption: 1
trackIndex: 365
settlementCompanyId: 14
shareTokenCode: V10
companyId: 14
fundId: 88
redemptionFeeProportion: 0
managementFee: 0
trackIndexOut: null
newShare: '2001.000006'
fundName: V10
customerNo: '86000039'
bizCode: ''
tm: 65
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-5f15b0-6thqc8q-xh3c2-s79bcxk-1677566752
code: '300'
data: config.app.AppSymbolDubboService.getFundInfo
bizCode: ''
tm: 4
msgParams: null
ok: false
headers: {}
security: []
/global/config.app.AppSymbolDubboService.findFundPage:
post:
summary: 基金简要信息查询
deprecated: false
description: 分页查询基金列表数据
operationId: findFundPage
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
current:
description: 当前页。默认1
type: integer
size:
description: 每页条数。默认20
type: integer
name:
type: string
description: 搜索名称
responses:
'200':
description: ''
content:
application/json:
schema: &ref_6
$ref: '#/components/schemas/BaseResultBasePageVoOpenFundsVo'
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-96nr82-sv8ir-qc3q-95iw-1677567338
code: '0'
data:
total: 4
current: 1
size: 20
records:
- canPurchase: 1
yearDays: 365
shareTokenDigits: null
redemptionCurrencySetting:
- minRedemptionAmount: null
minRedemptionNum: 0.01
currencyName: USDT
redemptionFeeProportion: 0.001
currencyCode: USDT
- minRedemptionAmount: null
minRedemptionNum: 0.01
currencyName: null
redemptionFeeProportion: 0.002
currencyCode: self
settlementCustomerNo: '86000336'
shareToken: 116
managerName: CATHY
purchaseType: 2
fundType: INDEX
operationMode: 2
minRedemptionNum: null
upDate: '2022-05-10'
customerId: 336
preShare: '1000'
purchaseCurrencySetting:
- currencyName: USDT
purchaseFeeProportion: 0.001
minPurchaseAmount: null
minPurchaseNum: 0.01
currencyCode: USDT
- currencyName: null
purchaseFeeProportion: 0.002
minPurchaseAmount: null
minPurchaseNum: 0.01
currencyCode: self
introduction: >-
HAHAHAHHAHAHAHAHAHAHHAHAHAHAHAHAHHAHAHAHAHAHAHHAHAHAHAHAHAHHAHAHA
fundCurrencyList: null
settlementCustomerId: 337
dailySettlementTime: 335
purchaseFeeProportion: 0
canRedemption: 1
trackIndex: 2672
settlementCompanyId: 360
shareTokenCode: qa001
fundId: 270
companyId: 360
redemptionFeeProportion: 0
trackIndexOut: null
managementFee: 0.01
newShare: '380227.580'
fundName: QA001
customerNo: '86000335'
- canPurchase: 1
yearDays: 365
shareTokenDigits: null
redemptionCurrencySetting:
- minRedemptionAmount: null
minRedemptionNum: 0.1
currencyName: USDT
redemptionFeeProportion: 0.01
currencyCode: USDT
- minRedemptionAmount: null
minRedemptionNum: 0.1
currencyName: null
redemptionFeeProportion: 0.02
currencyCode: self
settlementCustomerNo: '86000161'
shareToken: 111
managerName: CATHY
purchaseType: 2
fundType: Index Fund
operationMode: 2
minRedemptionNum: 0.1
upDate: '2022-01-01'
customerId: 273
preShare: '350000'
purchaseCurrencySetting:
- currencyName: USDT
purchaseFeeProportion: 0.01
minPurchaseAmount: 10
minPurchaseNum: 0.1
currencyCode: USDT
- currencyName: null
purchaseFeeProportion: 0.02
minPurchaseAmount: null
minPurchaseNum: 0.01
currencyCode: self
introduction: >-
In 2017, our team successfully pioneered the first
tokenized crypto-only index fund, which used the
seed funding to buy the underlying crypto assets.
There are no broker fees, no exit fees, no minimum
investment and full control over your assets. Full
blockchain transparency.
fundCurrencyList: null
settlementCustomerId: 162
dailySettlementTime: 232
purchaseFeeProportion: 0
canRedemption: 1
trackIndex: 1563
settlementCompanyId: 360
shareTokenCode: V10
fundId: 80
companyId: 360
redemptionFeeProportion: 0
trackIndexOut: null
managementFee: 0.02
newShare: '391365.08'
fundName: V10 Index Fund111
customerNo: '86000272'
- canPurchase: 1
yearDays: null
shareTokenDigits: null
redemptionCurrencySetting:
- minRedemptionAmount: null
minRedemptionNum: null
currencyName: USDT
redemptionFeeProportion: null
currencyCode: USDT
settlementCustomerNo: '86001102'
shareToken: 127
managerName: CATHY
purchaseType: 2
fundType: INDEX
operationMode: 2
minRedemptionNum: 1
upDate: '2022-03-01'
customerId: 1102
preShare: '300000'
purchaseCurrencySetting:
- currencyName: USDT
purchaseFeeProportion: null
minPurchaseAmount: 1
minPurchaseNum: null
currencyCode: USDT
introduction: '22233311133'
fundCurrencyList: null
settlementCustomerId: 1103
dailySettlementTime: null
purchaseFeeProportion: 0.01
canRedemption: 1
trackIndex: 1563
settlementCompanyId: 360
shareTokenCode: QA004
fundId: 170
companyId: 360
redemptionFeeProportion: 0.01
trackIndexOut: null
managementFee: null
newShare: '10010176.14'
fundName: QA004 FUND
customerNo: '86001101'
- canPurchase: 1
yearDays: null
shareTokenDigits: null
redemptionCurrencySetting:
- minRedemptionAmount: null
minRedemptionNum: null
currencyName: USDT
redemptionFeeProportion: null
currencyCode: USDT
settlementCustomerNo: '86001048'
shareToken: 126
managerName: CATHY
purchaseType: 2
fundType: INDEX
operationMode: 2
minRedemptionNum: 5
upDate: '2022-03-01'
customerId: 1050
preShare: '350000'
purchaseCurrencySetting:
- currencyName: USDT
purchaseFeeProportion: null
minPurchaseAmount: 5
minPurchaseNum: null
currencyCode: USDT
introduction: >-
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
fundCurrencyList: null
settlementCustomerId: 1049
dailySettlementTime: null
purchaseFeeProportion: 0.01
canRedemption: 1
trackIndex: 1563
settlementCompanyId: 360
shareTokenCode: QA003
fundId: 168
companyId: 360
redemptionFeeProportion: 0.02
trackIndexOut: null
managementFee: null
newShare: '350018.47'
fundName: QA003-FUND
customerNo: '86001049'
bizCode: ''
tm: 168
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-n0r2n-8o88keo-72er-deu1-1677567377
code: '300'
data: config.app.AppSymbolDubboService.findFundPage
bizCode: ''
tm: 1
msgParams: null
ok: false
headers: {}
security: []
/global/config.app.AppSymbolDubboService.findFundPageWithRealTimeInfo:
post:
summary: 基金详细信息查询
deprecated: false
description: 基金详细信息分页查询(带实时信息)
operationId: findFundPageWithRealTimeInfo
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
current:
type: integer
format: int64
description: 当前页。默认1
size:
type: integer
format: int64
description: 每页条数。默认20
name:
description: 产品名称。支持模糊匹配
type: string
responses:
'200':
description: ''
content:
application/json:
schema: *ref_6
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-q72xki8-js43-s6c8dp-j1y3b-1677567565
code: '0'
data:
total: 4
current: 1
size: 20
records:
- canPurchase: 1
marketPrice: '446.3875'
yearDays: 365
redemptionCurrencySetting:
- minRedemptionAmount: null
minRedemptionNum: 0.01
currencyName: USDT
redemptionFeeProportion: 0.001
currencyCode: USDT
- minRedemptionAmount: null
minRedemptionNum: 0.01
currencyName: null
redemptionFeeProportion: 0.002
currencyCode: self
netValueChangeQuote: 0.00%
settlementCustomerNo: '86000336'
shareToken: 116
managerName: CATHY
purchaseType: 2
fundType: INDEX
operationMode: 2
minRedemptionNum: null
upDate: '2022-05-10'
customerId: 336
preShare: '1000'
purchaseCurrencySetting:
- currencyName: USDT
purchaseFeeProportion: 0.001
minPurchaseAmount: null
minPurchaseNum: 0.01
currencyCode: USDT
- currencyName: null
purchaseFeeProportion: 0.002
minPurchaseAmount: null
minPurchaseNum: 0.01
currencyCode: self
introduction: >-
HAHAHAHHAHAHAHAHAHAHHAHAHAHAHAHAHHAHAHAHAHAHAHHAHAHAHAHAHAHHAHAHA
settlementCustomerId: 337
dailySettlementTime: 335
totalBalance: '1664144877.0021'
purchaseFeeProportion: 0
netValue: '4376.7074'
canRedemption: 1
trackIndex: 2672
settlementCompanyId: 360
shareTokenCode: qa001
fundId: 270
companyId: 360
redemptionFeeProportion: 0
trackIndexOut: null
managementFee: 0.01
newShare: '380227.580'
fundName: QA001
currencyCode: USDT
customerNo: '86000335'
marketPriceChangeQuote: 0.00%
- canPurchase: 1
marketPrice: '8.6838'
yearDays: 365
redemptionCurrencySetting:
- minRedemptionAmount: null
minRedemptionNum: 0.1
currencyName: USDT
redemptionFeeProportion: 0.01
currencyCode: USDT
- minRedemptionAmount: null
minRedemptionNum: 0.1
currencyName: null
redemptionFeeProportion: 0.02
currencyCode: self
netValueChangeQuote: '-0.06%'
settlementCustomerNo: '86000161'
shareToken: 111
managerName: CATHY
purchaseType: 2
fundType: Index Fund
operationMode: 2
minRedemptionNum: 0.1
upDate: '2022-01-01'
customerId: 273
preShare: '350000'
purchaseCurrencySetting:
- currencyName: USDT
purchaseFeeProportion: 0.01
minPurchaseAmount: 10
minPurchaseNum: 0.1
currencyCode: USDT
- currencyName: null
purchaseFeeProportion: 0.02
minPurchaseAmount: null
minPurchaseNum: 0.01
currencyCode: self
introduction: >-
In 2017, our team successfully pioneered the first
tokenized crypto-only index fund, which used the
seed funding to buy the underlying crypto assets.
There are no broker fees, no exit fees, no minimum
investment and full control over your assets. Full
blockchain transparency.
settlementCustomerId: 162
dailySettlementTime: 232
totalBalance: '6777080.4243'
purchaseFeeProportion: 0
netValue: '17.3165'
canRedemption: 1
trackIndex: 1563
settlementCompanyId: 360
shareTokenCode: V10
fundId: 80
companyId: 360
redemptionFeeProportion: 0
trackIndexOut: null
managementFee: 0.02
newShare: '391365.08'
fundName: V10 Index Fund111
currencyCode: USDT
customerNo: '86000272'
marketPriceChangeQuote: 0.00%
- canPurchase: 1
marketPrice: '0'
yearDays: null
redemptionCurrencySetting:
- minRedemptionAmount: null
minRedemptionNum: null
currencyName: USDT
redemptionFeeProportion: null
currencyCode: USDT
netValueChangeQuote: 0.00%
settlementCustomerNo: '86001102'
shareToken: 127
managerName: CATHY
purchaseType: 2
fundType: INDEX
operationMode: 2
minRedemptionNum: 1
upDate: '2022-03-01'
customerId: 1102
preShare: '300000'
purchaseCurrencySetting:
- currencyName: USDT
purchaseFeeProportion: null
minPurchaseAmount: 1
minPurchaseNum: null
currencyCode: USDT
introduction: '22233311133'
settlementCustomerId: 1103
dailySettlementTime: null
totalBalance: '10311481.9211'
purchaseFeeProportion: 0.01
netValue: '1.0301'
canRedemption: 1
trackIndex: 1563
settlementCompanyId: 360
shareTokenCode: QA004
fundId: 170
companyId: 360
redemptionFeeProportion: 0.01
trackIndexOut: null
managementFee: null
newShare: '10010176.14'
fundName: QA004 FUND
currencyCode: USDT
customerNo: '86001101'
marketPriceChangeQuote: '-'
- canPurchase: 1
marketPrice: '0'
yearDays: null
redemptionCurrencySetting:
- minRedemptionAmount: null
minRedemptionNum: null
currencyName: USDT
redemptionFeeProportion: null
currencyCode: USDT
netValueChangeQuote: 0.00%
settlementCustomerNo: '86001048'
shareToken: 126
managerName: CATHY
purchaseType: 2
fundType: INDEX
operationMode: 2
minRedemptionNum: 5
upDate: '2022-03-01'
customerId: 1050
preShare: '350000'
purchaseCurrencySetting:
- currencyName: USDT
purchaseFeeProportion: null
minPurchaseAmount: 5
minPurchaseNum: null
currencyCode: USDT
introduction: >-
1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
settlementCustomerId: 1049
dailySettlementTime: null
totalBalance: '370019.5346'
purchaseFeeProportion: 0.01
netValue: '1.0571'
canRedemption: 1
trackIndex: 1563
settlementCompanyId: 360
shareTokenCode: QA003
fundId: 168
companyId: 360
redemptionFeeProportion: 0.02
trackIndexOut: null
managementFee: null
newShare: '350018.47'
fundName: QA003-FUND
currencyCode: USDT
customerNo: '86001049'
marketPriceChangeQuote: '-'
bizCode: ''
tm: 540
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-533gym-54fb-7k4hax8-57598-1677567631
code: '300'
data: >-
config.app.AppSymbolDubboService.findFundPageWithRealTimeInfo
bizCode: ''
tm: 1
msgParams: null
ok: false
headers: {}
security: []
/global/config.app.AppSymbolDubboService.getEquityPremiumRate:
post:
summary: 基金净值和溢价率查询
deprecated: false
description: 查询净值和溢价率
operationId: getEquityPremiumRate
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
symbolId:
type: integer
format: int64
description: 产品ID。与currencyCode必须存在一个,均存在以该字段值为准
currencyCode:
type: string
description: 基金代币编码(与symbolId必须存在一个,均存在以symbolId值为准)
profitCurrency:
type: string
description: 目标资产编码
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultQueryEquityPremiumRateVo'
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-6cec0524-405f-4c9b-913a-e0f9a930c74f-1677568429063
code: '0'
data:
companyId: 14
totalBalance: '1165921.8083'
newShare: '2001.000006'
premiumRate: '-0.01%'
currency: USDT
digits: 4
currentNav: '582.6696'
markerCustomer: false
tradeType: 5
customerNo: '86000039'
accountInfoMap:
MATIC:
accountId: 1001516
companyId: 14
weight: 1.235584%
currency: MATIC
digits: 6
wholeWarehouseRate: '1.281100'
tradeType: 5
customerNo: '86000039'
assetsId: 17
wholeWarehouseBalance: '14405.9394'
VET:
accountId: 1001526
companyId: 14
weight: 0.00%
currency: VET
digits: 6
wholeWarehouseRate: '0.028540'
tradeType: 5
customerNo: '86000039'
assetsId: 46
wholeWarehouseBalance: '0.0000'
SHIB:
accountId: 1001529
companyId: 14
weight: 0.00%
currency: SHIB
digits: 6
wholeWarehouseRate: '0.00001276'
tradeType: 5
customerNo: '86000039'
assetsId: 53
wholeWarehouseBalance: '0.0000'
USDT:
accountId: 1001503
companyId: 14
weight: 0.183531%
currency: USDT
digits: 4
wholeWarehouseRate: '1'
tradeType: 5
customerNo: '86000039'
assetsId: 1
wholeWarehouseBalance: '2139.8232'
DOGE:
accountId: 1001509
companyId: 14
weight: 1.997918%
currency: DOGE
digits: 6
wholeWarehouseRate: '0.081720'
tradeType: 5
customerNo: '86000039'
assetsId: 8
wholeWarehouseBalance: '23294.1564'
HBAR:
accountId: 1001534
companyId: 14
weight: 0.00%
currency: HBAR
digits: 6
wholeWarehouseRate: '0.0741'
tradeType: 5
customerNo: '86000039'
assetsId: 60
wholeWarehouseBalance: '0.0000'
NEAR:
accountId: 1001530
companyId: 14
weight: 0.00%
currency: NEAR
digits: 6
wholeWarehouseRate: '2.3540'
tradeType: 5
customerNo: '86000039'
assetsId: 56
wholeWarehouseBalance: '0.0000'
DASH:
accountId: 1128443
companyId: 14
weight: 0.00%
currency: DASH
digits: 5
wholeWarehouseRate: '73.80'
tradeType: 5
customerNo: '86000039'
assetsId: 31
wholeWarehouseBalance: '0.0000'
COMP:
accountId: 1128447
companyId: 14
weight: 0.00%
currency: COMP
digits: 4
wholeWarehouseRate: '51.520'
tradeType: 5
customerNo: '86000039'
assetsId: 86
wholeWarehouseBalance: '0.0000'
CHZ:
accountId: 1128451
companyId: 14
weight: 0.00%
currency: CHZ
digits: 6
wholeWarehouseRate: '0.13530'
tradeType: 5
customerNo: '86000039'
assetsId: 81
wholeWarehouseBalance: '0.0000'
SLP:
accountId: 1129891
companyId: 14
weight: 0.00%
currency: SLP
digits: 6
wholeWarehouseRate: '0.003338'
tradeType: 5
customerNo: '86000039'
assetsId: 80
wholeWarehouseBalance: '0.0000'
XRP:
accountId: 1001518
companyId: 14
weight: 2.118927%
currency: XRP
digits: 6
wholeWarehouseRate: '0.376100'
tradeType: 5
customerNo: '86000039'
assetsId: 20
wholeWarehouseBalance: '24705.0327'
TRX:
accountId: 1001524
companyId: 14
weight: 0.00%
currency: TRX
digits: 6
wholeWarehouseRate: '0.069240'
tradeType: 5
customerNo: '86000039'
assetsId: 44
wholeWarehouseBalance: '0.0000'
SAND:
accountId: 1001519
companyId: 14
weight: 0.00%
currency: SAND
digits: 6
wholeWarehouseRate: '0.712400'
tradeType: 5
customerNo: '86000039'
assetsId: 22
wholeWarehouseBalance: '0.0000'
BCH:
accountId: 1001508
companyId: 14
weight: 0.00%
currency: BCH
digits: 6
wholeWarehouseRate: '135.800000'
tradeType: 5
customerNo: '86000039'
assetsId: 7
wholeWarehouseBalance: '0.0000'
CAKE:
accountId: 1129892
companyId: 14
weight: 0.00%
currency: CAKE
digits: 4
wholeWarehouseRate: '4.0360'
tradeType: 5
customerNo: '86000039'
assetsId: 74
wholeWarehouseBalance: '0.0000'
DOT:
accountId: 1001510
companyId: 14
weight: 0.00%
currency: DOT
digits: 6
wholeWarehouseRate: '6.658000'
tradeType: 5
customerNo: '86000039'
assetsId: 9
wholeWarehouseBalance: '0.0000'
BTC:
accountId: 1001504
companyId: 14
weight: 65.782504%
currency: BTC
digits: 8
wholeWarehouseRate: '23515.580000'
tradeType: 5
customerNo: '86000039'
assetsId: 2
wholeWarehouseBalance: '766972.5651'
AVAX:
accountId: 1001506
companyId: 14
weight: 0.00%
currency: AVAX
digits: 6
wholeWarehouseRate: '18.280000'
tradeType: 5
customerNo: '86000039'
assetsId: 5
wholeWarehouseBalance: '0.0000'
TT10:
accountId: 1001537
companyId: 14
weight: 0.00%
currency: TT10
digits: 6
wholeWarehouseRate: '1.00'
tradeType: 5
customerNo: '86000039'
assetsId: 63
wholeWarehouseBalance: '0.0000'
LTC:
accountId: 1001514
companyId: 14
weight: 1.376892%
currency: LTC
digits: 6
wholeWarehouseRate: '95.140000'
tradeType: 5
customerNo: '86000039'
assetsId: 15
wholeWarehouseBalance: '16053.4800'
USDC:
accountId: 1005704
companyId: 14
weight: 0.00%
currency: USDC
digits: 4
wholeWarehouseRate: '1.0000'
tradeType: 5
customerNo: '86000039'
assetsId: 66
wholeWarehouseBalance: '0.0000'
FTM:
accountId: 1001533
companyId: 14
weight: 0.00%
currency: FTM
digits: 6
wholeWarehouseRate: '0.4705'
tradeType: 5
customerNo: '86000039'
assetsId: 59
wholeWarehouseBalance: '0.0000'
ENJ:
accountId: 1128450
companyId: 14
weight: 0.00%
currency: ENJ
digits: 4
wholeWarehouseRate: '0.4852'
tradeType: 5
customerNo: '86000039'
assetsId: 83
wholeWarehouseBalance: '0.0000'
KNC:
accountId: 1128453
companyId: 14
weight: 0.00%
currency: KNC
digits: 4
wholeWarehouseRate: '0.901'
tradeType: 5
customerNo: '86000039'
assetsId: 78
wholeWarehouseBalance: '0.0000'
FTT:
accountId: 1001523
companyId: 14
weight: 0.00%
currency: FTT
digits: 6
wholeWarehouseRate: '1.548100'
tradeType: 5
customerNo: '86000039'
assetsId: 40
wholeWarehouseBalance: '0.0000'
ONE:
accountId: 1128454
companyId: 14
weight: 0.00%
currency: ONE
digits: 6
wholeWarehouseRate: '0.02188'
tradeType: 5
customerNo: '86000039'
assetsId: 77
wholeWarehouseBalance: '0.0000'
GRT:
accountId: 1128445
companyId: 14
weight: 0.00%
currency: GRT
digits: 6
wholeWarehouseRate: '0.16000'
tradeType: 5
customerNo: '86000039'
assetsId: 87
wholeWarehouseBalance: '0.0000'
SUSHI:
accountId: 1128446
companyId: 14
weight: 0.00%
currency: SUSHI
digits: 4
wholeWarehouseRate: '1.3400'
tradeType: 5
customerNo: '86000039'
assetsId: 88
wholeWarehouseBalance: '0.0000'
ENS:
accountId: 1128455
companyId: 14
weight: 0.00%
currency: ENS
digits: 5
wholeWarehouseRate: '16.340'
tradeType: 5
customerNo: '86000039'
assetsId: 76
wholeWarehouseBalance: '0.0000'
ALGO:
accountId: 1001531
companyId: 14
weight: 0.00%
currency: ALGO
digits: 6
wholeWarehouseRate: '0.2536'
tradeType: 5
customerNo: '86000039'
assetsId: 57
wholeWarehouseBalance: '0.0000'
ATOM:
accountId: 1001520
companyId: 14
weight: 0.00%
currency: ATOM
digits: 5
wholeWarehouseRate: '12.843000'
tradeType: 5
customerNo: '86000039'
assetsId: 25
wholeWarehouseBalance: '0.0000'
SRM:
accountId: 1128456
companyId: 14
weight: 0.00%
currency: SRM
digits: 4
wholeWarehouseRate: '0.32824'
tradeType: 5
customerNo: '86000039'
assetsId: 75
wholeWarehouseBalance: '0.0000'
UNI:
accountId: 1001525
companyId: 14
weight: 0.00%
currency: UNI
digits: 6
wholeWarehouseRate: '6.597000'
tradeType: 5
customerNo: '86000039'
assetsId: 45
wholeWarehouseBalance: '0.0000'
AAVE:
accountId: 1128442
companyId: 14
weight: 0.00%
currency: AAVE
digits: 5
wholeWarehouseRate: '82.200000'
tradeType: 5
customerNo: '86000039'
assetsId: 24
wholeWarehouseBalance: '0.0000'
XLM:
accountId: 1001527
companyId: 14
weight: 0.00%
currency: XLM
digits: 6
wholeWarehouseRate: '0.089100'
tradeType: 5
customerNo: '86000039'
assetsId: 48
wholeWarehouseBalance: '0.0000'
LINK:
accountId: 1001513
companyId: 14
weight: 0.748468%
currency: LINK
digits: 4
wholeWarehouseRate: '7.489000'
tradeType: 5
customerNo: '86000039'
assetsId: 14
wholeWarehouseBalance: '8726.5523'
LUNA:
accountId: 1001515
companyId: 14
weight: 0.00%
currency: LUNA
digits: 6
wholeWarehouseRate: '1.731900'
tradeType: 5
customerNo: '86000039'
assetsId: 16
wholeWarehouseBalance: '0.0000'
XTZ:
accountId: 1128441
companyId: 14
weight: 0.00%
currency: XTZ
digits: 4
wholeWarehouseRate: '1.2080'
tradeType: 5
customerNo: '86000039'
assetsId: 21
wholeWarehouseBalance: '0.0000'
MANA:
accountId: 1001528
companyId: 14
weight: 0.00%
currency: MANA
digits: 6
wholeWarehouseRate: '0.656100'
tradeType: 5
customerNo: '86000039'
assetsId: 51
wholeWarehouseBalance: '0.0000'
EOS:
accountId: 1001511
companyId: 14
weight: 0.00%
currency: EOS
digits: 6
wholeWarehouseRate: '1.124000'
tradeType: 5
customerNo: '86000039'
assetsId: 11
wholeWarehouseBalance: '0.0000'
FIL:
accountId: 1001522
companyId: 14
weight: 0.00%
currency: FIL
digits: 6
wholeWarehouseRate: '6.833000'
tradeType: 5
customerNo: '86000039'
assetsId: 39
wholeWarehouseBalance: '0.0000'
GALA:
accountId: 1128444
companyId: 14
weight: 0.00%
currency: GALA
digits: 6
wholeWarehouseRate: '0.040790'
tradeType: 5
customerNo: '86000039'
assetsId: 52
wholeWarehouseBalance: '0.0000'
SOL:
accountId: 1001517
companyId: 14
weight: 2.265571%
currency: SOL
digits: 6
wholeWarehouseRate: '23.030000'
tradeType: 5
customerNo: '86000039'
assetsId: 19
wholeWarehouseBalance: '26414.7871'
testv10:
accountId: 1001536
companyId: 14
weight: 0.00%
currency: testv10
digits: 6
wholeWarehouseRate: '1.00'
tradeType: 5
customerNo: '86000039'
assetsId: 62
wholeWarehouseBalance: '0.0000'
V10:
accountId: 1003182
companyId: 14
weight: 0.00%
currency: V10
digits: 6
wholeWarehouseRate: '587.1769'
tradeType: 5
customerNo: '86000039'
assetsId: 64
wholeWarehouseBalance: '0.0000'
BAT:
accountId: 1128448
companyId: 14
weight: 0.00%
currency: BAT
digits: 6
wholeWarehouseRate: '0.30840'
tradeType: 5
customerNo: '86000039'
assetsId: 85
wholeWarehouseBalance: '0.0000'
MKR:
accountId: 1128452
companyId: 14
weight: 0.00%
currency: MKR
digits: 5
wholeWarehouseRate: '773'
tradeType: 5
customerNo: '86000039'
assetsId: 79
wholeWarehouseBalance: '0.0000'
APE:
accountId: 1128449
companyId: 14
weight: 0.00%
currency: APE
digits: 6
wholeWarehouseRate: '5.21900'
tradeType: 5
customerNo: '86000039'
assetsId: 84
wholeWarehouseBalance: '0.0000'
BNB:
accountId: 1001521
companyId: 14
weight: 1.902539%
currency: BNB
digits: 6
wholeWarehouseRate: '308.400000'
tradeType: 5
customerNo: '86000039'
assetsId: 28
wholeWarehouseBalance: '22182.1149'
ICP:
accountId: 1001532
companyId: 14
weight: 0.00%
currency: ICP
digits: 6
wholeWarehouseRate: '6.2100'
tradeType: 5
customerNo: '86000039'
assetsId: 58
wholeWarehouseBalance: '0.0000'
ETH:
accountId: 1001512
companyId: 14
weight: 21.558314%
currency: ETH
digits: 6
wholeWarehouseRate: '1640.520000'
tradeType: 5
customerNo: '86000039'
assetsId: 12
wholeWarehouseBalance: '251353.0900'
YGG:
accountId: 1129890
companyId: 14
weight: 0.00%
currency: YGG
digits: 6
wholeWarehouseRate: '0.3213'
tradeType: 5
customerNo: '86000039'
assetsId: 89
wholeWarehouseBalance: '0.0000'
TEST10:
accountId: 1001535
companyId: 14
weight: 0.00%
currency: TEST10
digits: 6
wholeWarehouseRate: '1.00'
tradeType: 5
customerNo: '86000039'
assetsId: 61
wholeWarehouseBalance: '0.0000'
AXS:
accountId: 1001507
companyId: 14
weight: 0.00%
currency: AXS
digits: 5
wholeWarehouseRate: '9.930'
tradeType: 5
customerNo: '86000039'
assetsId: 6
wholeWarehouseBalance: '0.0000'
ADA:
accountId: 1001505
companyId: 14
weight: 0.829753%
currency: ADA
digits: 6
wholeWarehouseRate: '0.366800'
tradeType: 5
customerNo: '86000039'
assetsId: 4
wholeWarehouseBalance: '9674.2672'
bizCode: C
tm: 59
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: 入参获取异常
fail: true
trace: x-35n54-1g7tsptm-q80rq7m7-09a856-1677568294
code: '10000'
data: config.app.AppSymbolDubboService.getEquityPremiumRate
bizCode: C
tm: 2
msgParams: null
ok: false
headers: {}
security: []
/global/config.app.AppSymbolDubboService.getFundInfoByCustomerNo:
post:
summary: 基金详细信息查询-基金经理
deprecated: false
description: |
根据基金经理获取基金详情
operationId: getFundInfoByCustomerNo
tags:
- 基础数据
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
customerNo:
type: string
description: 客户编号
required:
- customerNo
responses:
'200':
description: ''
content:
application/json:
schema: *ref_7
examples:
'1':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-o15020-u0jbkce-nb9ubv6-so3hd8v-1677634799
code: '300'
data: config.app.AppSymbolDubboService.getFundInfoByCustomerNo
bizCode: ''
tm: 6
msgParams: null
ok: false
headers: {}
security: []
/login/customer.app.CustomerWebApiService.login:
post:
summary: 登录
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.login
游客可访问
tags:
- 客户接口/登录授权
parameters:
- name: version
in: header
description: 版本号
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: 公司ID,通过环境变量获取
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: 随机跟踪码UUID
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: 语言
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
type:
type: integer
description: 注册登录方式:1邮箱,2手机号码,3客户账号
phoneArea:
type: string
description: 手机区号;类型为2:手机号码时该字段必填
loginName:
type: string
description: 账号:邮箱/手机号码
device:
type: integer
description: >-
登录设备:1=移动端web:H5,2=pcweb:PC_Web,3=系统&后台注册:System,4=安卓原生app:Android,5=苹果原生app:iOS,6=鸿蒙OS:HOS,7=pc
windows客户端:PC_Win,8=pc mac客户端:PC_Mac,9=不属于以上的:其他
isThird:
type: boolean
description: 是否第三方
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
loginPwd:
type: string
description: 登录密码
bindThirdUserId:
type: string
description: 绑定第三方userId
thirdSource:
type: string
description: 第三方源 google,facebook,twitter…
googleCode:
type: string
description: 谷歌验证码
required:
- type
- device
- loginName
- isThird
example:
type: 2
device: 1
loginName: '13429837442'
isThird: false
thirdSource: ''
bindThirdUserId: ''
loginPwd: dc483e80a7a0bd9ef71d8cf973673924
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
id:
type: integer
format: int64
description: 客户id
companyId:
type: integer
format: int64
description: 公司
customerGroupId:
type: integer
format: int64
description: 客户组
customerNo:
type: string
description: 客户账号
kycAuditStatus:
type: integer
format: int32
description: 注册KYC审核状态:0未认证跳转到认证页面,1待审核,2审核通过,3审核不通过
kycAuditRemark:
type: string
description: 注册KYC审核备注,审核拒绝不为空
kycStatus:
type: integer
format: int32
description: KYC状态,与kycRemark,保持一致: 1=未验证,2=审核中,3=认证失败,4=已认证,-1=’’
kycRemark:
type: string
description: >-
KYC状态名称 (1, "未验证", "配置了KYC,但KYC都未提交过"),(2, "审核中",
"配置了KYC,且KYC正在审核中,至少一个等级在审核中"),(3, "认证失败",
"配置了KYC,且提交的KYC被拒绝,至少一个等级被拒绝"),(4, "已认证",
"配置了KYC,且全部都已认证通过"),(-1, "", "配置了KYC,有多等级,已认证部分")
accountList:
type: object
description: 交易账户列表
properties: {}
accountRemark:
type: string
description: 客户是否有交易账户备注
loginPassStatus:
type: string
description: 设置密码提醒标志,1需要设置密码,2不需要
payPassStatus:
type: string
description: 支付密码是否存在状态,1不存在,2存在
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
country:
type: string
description: 国家
type:
type: integer
format: int32
description: 组类型 <0真实,1模拟,2游客>
deposit:
type: integer
format: int32
description: 可存款,1可存款
withdraw:
type: integer
format: int32
description: 可取款,1可取款
optional:
type: integer
format: int32
description: 自选标志0未添加1已添加
activateStatus:
type: integer
format: int32
description: 激活状态,0未激活,1已激活
activateTime:
type: integer
format: int64
description: 激活时间
companyKycStatus:
type: integer
format: int32
description: 公司KYC开户状态,1开启2未开启
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
thirdServerCode:
type: string
description: 第三方系统唯一编号
source:
type: string
description: 来源
thirdLoginSource:
type: string
description: 第三方登录源 google,facebook,twitter
thirdUserId:
type: string
description: 第三方userId
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
thirdIntactMsg:
type: string
description: 第三方登录完整数据
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
isFund:
type: integer
format: int32
description: 是否为基金经理,1是,默认0否
assertPassStatus:
type: string
description: 设置资金密码提醒标志,1需要设置密码,2不需要
googleId:
type: integer
format: int64
description: 是否开启MFA,大于0,开启,其余未开启
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
loginTime:
type: integer
format: int64
description: 登陆时间
createTime:
type: integer
format: int64
description: 创建时间
relationCustomerId:
type: integer
format: int64
description: 关联账户id
companyType:
type: string
description: 公司类型
registerSource:
type: integer
format: int32
description: 注册来源
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
registerTime:
type: integer
format: int64
description: 注册时间
token:
type: string
description: 鉴权token
customerAgentMark:
type: string
description: 客户代理标示
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-31z6g86n-kr01ct-4g1u-ci45-1678377046
code: '0'
data:
customerGroupId: 1
thirdUserId: null
googleId: -1
lastName: null
country: CN
kycStatus: 1
companyKycStatus: 2
assertPassStatus: '2'
idCard: null
thirdLoginSource: null
payPassStatus: '2'
kycAuditRemark: 公司未开启KYC认证,直接通过
source: H5
type: 0
registerSource: 1
loginPassStatus: '2'
idCardType: null
loginTime: 1678360534200
kycRemark: 未验证
associationCompanyId: null
id: 1176
activateStatus: null
email: 22**@qq.com
openAccountType: 0
accountRemark: null
companyType: real
registerTime: 1648777706117
activateTime: null
kycAuditStatus: 2
optional: 1
isFund: 0
token: a541f9d5-2507-42b3-b790-59e1f755c380app
firstName: null
companyId: 360
thirdIntactMsg: null
createTime: 1648777706117
phone: 135******9561
relationCustomerId: 0
accountList:
- netAssets: '2904318.4696'
available: '2904318.4696'
remark: null
type: 1
equity: '2904318.4696'
firstDepositTime: 1648785031654
lockMargin: '0.0000'
balance: '2904321.4696'
interest: '0.0000'
customerId: 1176
liabilities: '0.0000'
currency: USDT
activateStatus: 2
withdrawAmount: '2904318.4696'
profit: '0'
tradeType: 5
wholeWarehouseBalance: null
collateralFrozen: '0.0000'
freeMargin: '0'
margin: '0'
firstWithdrawTime: 1648792333492
activateTime: 1648792208194
frozen: '3.0000'
wholeWarehouseRate: null
accountId: 1031717
openAccountStatus: true
companyId: 360
liabilitiesPrincipal: '0.0000'
interestProportion: null
createTime: 1648777706190
lockAmount: '3.0000'
marginRadio: null
notWithdrawAmount: '0.0000'
availableLoan: null
digits: 4
customerNo: '86001175'
status: 2
assetsId: 13
- netAssets: '0.05384909'
available: '0.05384909'
remark: null
type: 1
equity: '0.05384909'
firstDepositTime: null
lockMargin: '0.00000000'
balance: '0.05384909'
interest: '0.00000000'
customerId: 1176
liabilities: '0.00000000'
currency: BTC
activateStatus: 2
withdrawAmount: '0.05384909'
profit: '0'
tradeType: 5
wholeWarehouseBalance: null
collateralFrozen: '0.00000000'
freeMargin: '0'
margin: '0'
firstWithdrawTime: null
activateTime: 1648792208194
frozen: '0.00000000'
wholeWarehouseRate: null
accountId: 1031718
openAccountStatus: true
companyId: 360
liabilitiesPrincipal: '0.00000000'
interestProportion: null
createTime: 1648777706190
lockAmount: '0.00000000'
marginRadio: null
notWithdrawAmount: '0.00000000'
availableLoan: null
digits: 8
customerNo: '86001175'
status: 2
assetsId: 16
name: null
phoneArea: '+86'
deposit: 1
rToken: >-
291e08e4e0af86b3d8af85f2947a02125a1c1746db58b303b06cc1aba389f4cd
thirdServerCode: ''
customerNo: '86001175'
status: 6
withdraw: 1
bizCode: ''
tm: 82650853
msgParams: null
ok: true
headers: {}
security: []
/thirdExt/switchAccount:
post:
summary: 真实模拟账户切换
deprecated: false
description: ''
tags:
- 客户接口/登录授权
parameters:
- name: companyId
in: header
description: 公司ID,通过环境变量获取
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: 随机跟踪码UUID
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: token
in: header
description: 登录token
required: true
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: 语言
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
example: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
headers: {}
security: []
/global/customer.app.CustomerDubboApiService.resetAccount:
post:
summary: 重置模拟账户
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerDubboApiService.resetAccount
tags:
- 客户接口/登录授权
parameters:
- name: companyId
in: header
description: 公司ID,通过环境变量获取
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: 随机跟踪码UUID
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: token
in: header
description: 登录token
required: true
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: 语言
required: true
example: zh-CN
schema:
type: string
- name: version
in: header
description: 版本号
required: true
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
example: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
headers: {}
security: []
/register/customer.app.CustomerWebApiService.register:
post:
summary: 客户注册
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.register
游客可访问
operationId: register
tags:
- 客户接口/登录授权
parameters:
- name: version
in: header
description: 版本号
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: 公司ID,通过环境变量获取
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: 随机跟踪码UUID
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: 语言
required: true
example: zh-CN
schema:
type: string
- name: X-Forwarded-For
in: header
description: ''
required: true
example: ''
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
country:
type: string
description: 国家
lang:
type: string
description: 语言信息,默认en-US
loginName:
type: string
description: 账号:邮箱/手机号码,与type配合使用
phoneArea:
type: string
description: 手机区号,与注册方式配合使用,默认+86
type:
type: integer
format: int32
description: 注册方式:1邮箱,2手机号码
minimum: 1
maximum: 3
registerDevice:
type: string
description: 注册的设备型号
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
registerSource:
type: integer
format: int32
minimum: 1
description: >-
注册来源:1=移动端web:H5,2=pcweb:PC_Web,3=系统&后台注册:System,4=安卓原生app:Android,5=苹果原生app:iOS,6=鸿蒙OS:HOS,7=pc
windows客户端:PC_Win,8=pc mac客户端:PC_Mac,9=不属于以上的:其他
utmSource:
type: string
description: 广告来源(开户链接参数source)
utmMedium:
type: string
description: 广告媒介(开户链接参数medium)
utmCampaign:
type: string
description: 广告系列(开户链接参数campaign)
utmContent:
type: string
description: 广告组(开户链接参数content)
utmTerm:
type: string
description: 关键词(开户链接参数term)
customerGroupId:
type: integer
format: int64
description: 客户组ID
tradeTypeCurrencyList:
type: array
description: 玩法币种信息
items:
type: object
properties:
allCurrency:
type: string
description: 资产币种信息
tradeType:
type: string
description: 玩法Id
maxItems: 2147483647
minItems: 1
openAccountType:
type: integer
format: int32
description: 开户类型:0.个人 1.企业 ,默认个人
pwd:
type: string
description: 密码,MD5加密
thirdServerCode:
type: string
description: 第三方系统唯一编号
thirdServerSource:
type: string
description: 第三方系统来源,如:代理=agent
required:
- registerSource
- type
- country
- loginName
- sendToken
- verifyCode
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
customerNo:
type: string
description: 客户账号
list:
type: array
description: KYC认证列表信息
items: &ref_11
$ref: '#/components/schemas/KycAuthVO'
companyId:
type: integer
format: int64
description: 公司ID
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
loginPassStatus:
type: string
description: 设置密码提醒标志,1需要设置密码,2不需要
payPassStatus:
type: string
description: 支付密码是否存在状态,1不存在,2存在
customerGroupId:
type: integer
format: int64
description: 客户组Id
country:
type: string
description: 国家
id:
type: integer
format: int64
description: 客户id
optional:
type: integer
format: int32
description: 自选标志0未添加1已添加
companyKycStatus:
type: integer
format: int32
description: 公司KYC开户状态,1开启2未开启
thirdServerCode:
type: string
description: 第三方系统唯一编号
source:
type: string
description: 来源
capitalInStatus:
type: integer
format: int32
description: 入金状态:1已入金、2未入金
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
companyType:
type: string
description: 公司类型
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
registerTime:
type: integer
format: int64
description: 注册时间
apiCheckSwitch:
type: boolean
description: API 校验开关。true-已打开校验
apiCheckRule:
type: string
description: API 校验规则。1-邮件;2-短信;3-谷歌NFA;同时启用多个校验,以,分割。
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/thirdExt/randomKey:
post:
summary: 获取访问令牌
deprecated: false
description: |-
/global/thirdExt/randomKey
通过一次临时Token换取最终访问Token
operationId: getSymbolBaseList
tags:
- 客户接口/登录授权
parameters:
- name: companyId
in: header
description: 公司ID,通过环境变量获取
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: 随机跟踪码UUID
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: token
in: header
description: 登录token
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: 语言
required: true
example: zh-CN
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
example: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
data:
type: string
description: 最终访问Token
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
description: 是否成功
fail:
type: boolean
description: 是否异常
required:
- data
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-qfx13-8z5850-mf4l657-gkqbn-1677563999
code: '0'
data: qfx13-8z5850-mf4l657-gkqbn-167756399
bizCode: ''
tm: 955
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.bindLoginPwd:
post:
summary: 首次设置登录密码
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.bindLoginPwd
登录之后可以访问
operationId: bindLoginPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
pwd:
type: string
description: 密码,MD5加密
googleCode:
type: string
description: 谷歌验证码
required:
- pwd
responses:
'200':
description: ''
content:
application/json:
schema: &ref_8
$ref: '#/components/schemas/BaseResult1'
headers: {}
security: []
x-docstype: TS.Clientapi.Customer
x-docstitle: 客户接口
/global/customer.app.CustomerWebApiService.changeEmail:
post:
summary: 更换邮箱
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.changeEmail
登录之后可以访问
operationId: changeEmail
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
verifyCode:
type: string
description: 新验证码
email:
type: string
description: 新邮箱
maxLength: 50
sendToken:
type: string
description: 新验证码发送票据
emailArea:
type: string
description: 新邮箱区号
maxLength: 15
required:
- verifyCode
- email
- sendToken
- emailArea
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.changeEmailV1v1v2:
post:
summary: 更换邮箱(MFA)
deprecated: true
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.changeEmailV1v1v2
登录之后可以访问
如果客户开启谷歌验证码(MFA),则入参中的谷歌验证码(googleCode)必填,
同时,用户不用输入旧邮箱
operationId: changeEmailV1v1v2
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
verifyCode:
type: string
description: 新验证码
email:
type: string
description: 新邮箱
sendToken:
type: string
description: 新验证码发送票据
emailArea:
type: string
description: 新邮箱区号
verifyCodeOld:
type: string
description: 原邮箱验证码
sendTokenOld:
type: string
description: 原邮箱验证码发送票据
googleCode:
type: string
description: 谷歌验证码
required:
- verifyCode
- email
- sendToken
- emailArea
- verifyCodeOld
- sendTokenOld
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.changePhone:
post:
summary: 更换手机号码
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.changePhone
登录之后可以访问
operationId: changePhone
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
phoneArea:
type: string
description: 新手机区号
maxLength: 15
phone:
type: string
description: 新手机号码
maxLength: 50
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
required:
- phoneArea
- phone
- verifyCode
- sendToken
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 异常示例-验证码不存在
value:
msg: Verification code is not correct
fail: true
trace: x-42hi-b8f2ag18-x89u-k23y1r1b-1677738250
code: CUSTOMER_API_0000511
data: customer.app.CustomerWebApiService.changePhone
bizCode: US
tm: 15861690
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerWebApiService.changePhoneV1v1v2:
post:
summary: 更换手机号码(MFA)
deprecated: true
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.changePhoneV1v1v2
登录之后可以访问
如果客户开启谷歌验证码(MFA),则入参中的谷歌验证码(googleCode)必填,
同时,用户不用输入旧手机号码
operationId: changePhoneV1v1v2
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
phoneArea:
type: string
description: 新手机号码
phone:
type: string
description: 新手机号码
verifyCode:
type: string
description: 新验证码
sendToken:
type: string
description: 新验证码发送票据
verifyCodeOld:
type: string
description: 旧手机验证码
sendTokenOld:
type: string
description: 旧验证码发送票据
googleCode:
type: string
description: 谷歌验证码
required:
- phoneArea
- phone
- verifyCode
- sendToken
- verifyCodeOld
- sendTokenOld
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.checkCustomerExist:
post:
summary: 检测客户信息是否存在
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.checkCustomerExist
游客可访问
operationId: checkCustomerExist
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
loginName:
type: string
description: 账号:邮箱/手机号码
type:
type: integer
format: int32
description: 类型:1邮箱,2手机号码
minimum: 1
maximum: 3
emailArea:
type: string
description: 邮箱区号,区号默认为+86
phoneArea:
type: string
description: 手机区号,区号默认为+86
required:
- type
- loginName
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: integer
format: int32
description: 数据体,1已存在,2不存在
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/customer.app.CustomerWebApiService.destroy:
post:
summary: 客户销户
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.destroy
登录之后可以访问
operationId: destroy
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
remark:
type: string
description: 销户备注
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.enableOrForbidMFA:
post:
summary: 谷歌验证码绑定与解除
deprecated: false
description: >-
version=0.0.1
bizType=customer.app.CustomerWebApiService.enableOrForbidMFA
登录之后可以访问
用户如果绑定了手机号就验证手机号、如果绑定了邮箱就验证邮箱、如果手机号邮箱都绑定了那就得手机号邮箱都验证
operationId: enableOrForbidMFA
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EnableOrForbidMFADTO'
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.findCustomerInfo:
post:
summary: 查询客户信息
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.findCustomerInfo
登录之后可以访问
operationId: findCustomerInfo
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
id:
type: integer
format: int64
description: 客户id
companyId:
type: integer
format: int64
description: 公司
customerGroupId:
type: integer
format: int64
description: 客户组
customerNo:
type: string
description: 客户账号
kycAuditStatus:
type: integer
format: int32
description: 注册KYC审核状态:0未认证跳转到认证页面,1待审核,2审核通过,3审核不通过
kycAuditRemark:
type: string
description: 注册KYC审核备注,审核拒绝不为空
kycStatus:
type: integer
format: int32
description: KYC状态,与kycRemark,保持一致: 1=未验证,2=审核中,3=认证失败,4=已认证,-1=’’
kycRemark:
type: string
description: >-
KYC状态名称 (1, "未验证", "配置了KYC,但KYC都未提交过"),(2, "审核中",
"配置了KYC,且KYC正在审核中,至少一个等级在审核中"),(3, "认证失败",
"配置了KYC,且提交的KYC被拒绝,至少一个等级被拒绝"),(4, "已认证",
"配置了KYC,且全部都已认证通过"),(-1, "", "配置了KYC,有多等级,已认证部分")
accountList:
type: object
description: 交易账户列表
properties: {}
accountRemark:
type: string
description: 客户是否有交易账户备注
loginPassStatus:
type: string
description: 设置密码提醒标志,1需要设置密码,2不需要
payPassStatus:
type: string
description: 支付密码是否存在状态,1不存在,2存在
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
country:
type: string
description: 国家
type:
type: integer
format: int32
description: 组类型 <0真实,1模拟,2游客>
deposit:
type: integer
format: int32
description: 可存款,1可存款
withdraw:
type: integer
format: int32
description: 可取款,1可取款
optional:
type: integer
format: int32
description: 自选标志0未添加1已添加
activateStatus:
type: integer
format: int32
description: 激活状态,0未激活,1已激活
activateTime:
type: integer
format: int64
description: 激活时间
companyKycStatus:
type: integer
format: int32
description: 公司KYC开户状态,1开启2未开启
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
thirdServerCode:
type: string
description: 第三方系统唯一编号
source:
type: string
description: 来源
thirdLoginSource:
type: string
description: 第三方登录源 google,facebook,twitter
thirdUserId:
type: string
description: 第三方userId
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
thirdIntactMsg:
type: string
description: 第三方登录完整数据
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
isFund:
type: integer
format: int32
description: 是否为基金经理,1是,默认0否
assertPassStatus:
type: string
description: 设置资金密码提醒标志,1需要设置密码,2不需要
googleId:
type: integer
format: int64
description: 是否开启MFA,大于0,开启,其余未开启
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
loginTime:
type: integer
format: int64
description: 登陆时间
createTime:
type: integer
format: int64
description: 创建时间
relationCustomerId:
type: integer
format: int64
description: 关联账户id
companyType:
type: string
description: 公司类型
registerSource:
type: integer
format: int32
description: 注册来源
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
registerTime:
type: integer
format: int64
description: 注册时间
utmSource:
type: string
description: 广告来源
forceLevel:
type: object
description: 强平水平
properties: {}
earlyWarningLevel:
type: object
description: 预警水平
properties: {}
withdrawLevel:
type: object
description: 取款水平
properties: {}
postalCode:
type: string
description: 邮政编码
customerAgentMark:
type: string
description: 客户代理标示
apiCheckSwitch:
type: boolean
description: API 校验开关
title: API 校验开关
apiCheckRule:
type: string
description: API 校验规则。1-邮件;2-短信;3-谷歌NFA;同时启用多个校验,以,分割。
title: API 校验规则。1-邮件;2-短信;3-谷歌NFA;同时启用多个校验,以,分割。
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/customer.app.CustomerWebApiService.forgetAssertsPwd:
post:
summary: 忘记资金密码
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.forgetAssertsPwd
登录之后可以访问
operationId: forgetAssertsPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
phoneArea:
type: string
description: 手机区号;“type类型为2:手机号码”时该字段必填;不传默认取+86
loginName:
type: string
description: 账号:邮箱/手机号码
type:
type: integer
format: int32
description: 类型:1邮箱,2手机号码
minimum: 1
maximum: 3
newPwd:
type: string
description: 新密码,MD5加密
minLength: 6
maxLength: 50
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 发送票据
verifyCodeToken:
type: string
description: >-
验证票据;验证验证码接口返回token,优先校验该字段如果校验通过则发送验证码接口返回sendToken跳过验证,该字段如果校验不通则校验发送验证码接口返回sendToken
required:
- newPwd
- type
- loginName
- verifyCode
- sendToken
- verifyCodeToken
example:
newPwd: Aa123456@
type: 1
loginName: 56234161@qq.com
verifyCode: '232123'
sendToken: asdsadasdasdsadsadsadsadad
verifyCodeToken: adczczxczczczxczczxczxczxc
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.forgetAssertsPwdV1v1v2:
post:
summary: 忘记资金密码(MFA)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.forgetAssertsPwdV1v1v2
登录之后可以访问
如果客户开启谷歌验证码(MFA),则入参中的谷歌验证码(googleCode)必填,
同时,用户不用输入旧手机号码或旧邮箱
operationId: forgetAssertsPwdV1v1v2
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
newPwd:
type: string
description: 新密码,MD5加密
minLength: 5
maxLength: 50
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 发送票据
type:
type: integer
format: int32
description: 类型:1邮箱,2手机号码
minimum: 1
maximum: 3
googleCode:
type: string
description: 谷歌验证码
required:
- newPwd
- type
- verifyCode
- sendToken
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.forgetLoginPwd:
post:
summary: 忘记登录密码
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.forgetLoginPwd
游客可访问
operationId: forgetLoginPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
loginName:
type: string
description: 账号:邮箱/手机号码
phoneArea:
type: string
description: 手机区号,区号默认为+86
type:
type: integer
format: int32
description: 类型:1邮箱,2手机号码
minimum: 1
maximum: 3
newPwd:
type: string
description: 新密码,MD5加密
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 发送票据
verifyCodeToken:
type: string
description: 验证票据
googleCode:
type: string
description: 谷歌验证码
required:
- newPwd
- type
- loginName
- verifyCodeToken
- sendToken
- verifyCode
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.bindAssertsPwd:
post:
summary: 首次设置资金密码
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.bindAssertsPwd
登录之后可以访问
operationId: bindAssertsPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
pwd:
type: string
description: 密码,MD5加密
googleCode:
type: string
description: 谷歌验证码
required:
- pwd
example:
pwd: sunt
googleCode: '44'
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 异常示例-资金密码已设置
value:
msg: Fund password has been set
fail: true
trace: x-kwm21-v8951-5vor62ft-006o-1677737070
code: CUSTOMER_API_0000133
data: customer.app.CustomerWebApiService.bindAssertsPwd
bizCode: US
tm: 3851542
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerWebApiService.bindEmail:
post:
summary: 绑定邮箱
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.bindEmail
登录之后可以访问
operationId: bindEmail
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
verifyCode:
type: string
description: 验证码
email:
type: string
description: 邮箱
maxLength: 50
sendToken:
type: string
description: 验证码发送票据
emailArea:
type: string
description: 邮箱区号
maxLength: 15
googleCode:
type: string
description: 谷歌验证码
required:
- verifyCode
- email
- sendToken
- emailArea
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 异常示例-验证码不存在
value:
msg: Verification code is not correct
fail: true
trace: x-i2ps6-ol1gv4l4-17tc48-f72xfee-1677737300
code: CUSTOMER_API_0000511
data: customer.app.CustomerWebApiService.bindEmail
bizCode: US
tm: 19770126
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerWebApiService.bindPhone:
post:
summary: 绑定手机号码
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.bindPhone
登录之后可以访问
operationId: bindEmail
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
googleCode:
type: string
description: 谷歌验证码
phone:
type: string
description: 手机号码
maxLength: 50
phoneArea:
type: string
description: 手机区号
maxLength: 15
required:
- verifyCode
- phone
- sendToken
- phoneArea
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 异常示例-验证码不存在
value:
msg: Verification code is not correct
fail: true
trace: x-g82wr3b-3o3236-576oa-1er5di6-1677737445
code: CUSTOMER_API_0000511
data: customer.app.CustomerWebApiService.bindPhone
bizCode: US
tm: 15425229
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerWebApiService.changeLang:
post:
summary: 切换语言
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.changeLang
登录之后可以访问
operationId: changeLang
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
newLang:
type: string
description: 语言信息
required:
- newLang
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101
code: '0'
data: null
bizCode: ''
tm: 3818289
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.findCustomerLang:
post:
summary: 查询客户语言
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.findCustomerLang
登录之后可以访问
operationId: changeLang
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties: {}
description: 语言信息
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101
code: '0'
data: null
bizCode: ''
tm: 3818289
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.changeCustomerAddressAndPostalCode:
post:
summary: 修改客户通讯地址及邮编
deprecated: false
description: >-
version=0.0.1
bizType=customer.app.CustomerWebApiService.changeCustomerAddressAndPostalCode
登录之后可以访问
operationId: changeLang
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
address:
type: string
description: 通讯地址
postalCode:
type: string
description: 邮政编码
required:
- postalCode
- address
example:
postalCode: '90210'
address: 中國湖北省武汉市大东门
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties: {}
description: 语言信息
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101
code: '0'
data: null
bizCode: ''
tm: 3818289
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.firstSetPhone:
post:
summary: 首次设置手机号码(TG)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.firstSetPhone
登录之后可以访问
operationId: changeLang
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
phoneArea:
type: string
description: 手机区号
maxLength: 15
phone:
type: string
description: 手机
maxLength: 50
verifyCode:
type: string
description: 手机验证码,发送验证码bizType=SMS_COMMON_VERIFICATION_CODE
sendToken:
type: string
description: 手机验证码发送票据
thirdSource:
type: string
description: 三方来源:telegram
verifyCodeThirdType:
type: string
description: >-
三方验证码,与thirdSource配合使用,当thirdSource=telegram,发送验证码bizType只能为SMS_TELEGRAM_VERIFICATION_CODE
title: ''
sendTokenThirdType:
type: string
description: >-
三方验证码发送票据,与thirdSource配合使用,当thirdSource=telegram,发送验证码bizType只能为SMS_TELEGRAM_VERIFICATION_CODE
required:
- verifyCode
- phoneArea
- sendToken
- verifyCodeThirdType
- sendTokenThirdType
- thirdSource
- phone
example:
verifyCode: '57'
phoneArea: '18127152839'
sendToken: occaecat exercitation
verifyCodeThirdType: '21'
sendTokenThirdType: ad pariatur ut
thirdSource: occaecat voluptate sit tempor
phone: '18190281711'
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties: {}
description: 语言信息
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101
code: '0'
data: null
bizCode: ''
tm: 3818289
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.firstSetEmail:
post:
summary: 首次设置邮箱(TG)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.firstSetEmail
登录之后可以访问
operationId: changeLang
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
email:
type: string
description: 邮箱
maxLength: 50
verifyCode:
type: string
description: 邮箱验证码,发送验证码bizType=SMS_COMMON_VERIFICATION_CODE
sendToken:
type: string
description: 邮箱验证码发送票据
thirdSource:
type: string
description: 三方来源:telegram
verifyCodeThirdType:
type: string
description: >-
三方验证码,与thirdSource配合使用,当thirdSource=telegram,发送验证码bizType只能为SMS_TELEGRAM_VERIFICATION_CODE
title: ''
sendTokenThirdType:
type: string
description: >-
三方验证码发送票据,与thirdSource配合使用,当thirdSource=telegram,发送验证码bizType只能为SMS_TELEGRAM_VERIFICATION_CODE
required:
- verifyCode
- sendToken
- verifyCodeThirdType
- sendTokenThirdType
- thirdSource
- email
example:
verifyCode: '57'
sendToken: occaecat exercitation
verifyCodeThirdType: '21'
sendTokenThirdType: ad pariatur ut
thirdSource: occaecat voluptate sit tempor
email: 18190281711@qq.com
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties: {}
description: 语言信息
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101
code: '0'
data: null
bizCode: ''
tm: 3818289
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.firstTimeSettingLoginPassword:
post:
summary: 首次设置登录密码(TG)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.firstTimeSettingLoginPassword
登录之后可以访问
operationId: changeLang
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
newPwd:
type: string
description: 密码,MD5加密
minLength: 32
maxLength: 32
googleCode:
type: string
description: 谷歌验证码
required:
- newPwd
example:
newPwd: Aa123456@
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties: {}
description: 语言信息
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101
code: '0'
data: null
bizCode: ''
tm: 3818289
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.findThirdAccountInfo:
post:
summary: 查询客户3方绑定信息
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.findThirdAccountInfo
登录之后可以访问
operationId: changeLang
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
example: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
customerNo:
type: string
description: 客户账号
thirdLoginSource:
type: string
description: '第三方来源,多个逗号链接,google,facebook,twitter '
thirdUserId:
type: string
description: 第三方userId,多个逗号链接,顺序与thirdLoginSource保持一致
thirdIntactMsg:
type: string
description: 从第三方获取的完整用户信息
tgStatus:
type: string
description: tg关注机器人状态,SUBSCRIBE=订阅, UNSUBSCRIBE=未订阅
description: 数据体
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-k5l8-b16p6c93-d2glxw5-6z178usp-1677738101
code: '0'
data: null
bizCode: ''
tm: 3818289
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.checkGoogleMFAStatus:
post:
summary: 检测客户是否开启GoogleMFA
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.checkGoogleMFAStatus
游客可访问
operationId: checkGoogleMFAStatus
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
loginName:
type: string
description: 账号:邮箱/手机号码
phoneArea:
type: string
description: 机区号,区号默认为+86
type:
type: integer
format: int32
description: 类型:1邮箱,2手机号码
minimum: 1
maximum: 3
required:
- type
- phoneArea
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
description: 返回体,大于0,开启,其余未开启
properties: {}
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-b4ypj54-y9t32s7-5757xb-v60725g8-1677740298
code: '0'
data: -1
bizCode: ''
tm: 19151998
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.checkStatus:
post:
summary: 检查客户状态
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.checkStatus
判断客户状态:1已存在,2不存在,-1客户被禁用
此接口需登录
operationId: checkStatus
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
loginName:
type: string
description: 账号:邮箱/手机号码
type:
type: integer
format: int32
description: 类型:1邮箱,2手机号码
minimum: 1
maximum: 3
required:
- type
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultCustomerStatusVO'
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-774phjw-g77e96y-7ogx9r8a-z7831eh-1677740174
code: '0'
data:
country: CN
phoneArea: '+86'
status: 1
bizCode: ''
tm: 17093534
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.queryAccountAssetsInfo:
post:
summary: 查询账户资产信息(杠杆)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.queryAccountAssetsInfo
登录之后可以访问
operationId: queryAccountAssetsInfo
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法Id,3-CROSS;5-MATCH;
minimum: 1
accountId:
type: integer
format: int64
description: 账户Id,与accountCurrency必须至少有一个存在
accountCurrency:
type: string
description: 账户币种与accountCurrency必须至少有一个存在
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.queryAccountById:
post:
summary: 实时账户资金信息
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.queryAccountById
登录之后可以访问
operationId: queryAccountById
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法Id,1-CFD_MM;2-CFD_WBW;3-CROSS;5-MATCH;
minimum: 1
accountId:
type: integer
format: int64
description: 账户Id,与currency必须至少有一个存在
currency:
type: string
description: 开户币种,与accountId必须至少有一个存在
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
companyId:
type: integer
description: 公司ID
tradeType:
type: integer
description: 玩法Id
customerId:
type: integer
description: 买方系统唯一客户标识
customerNo:
type: string
description: 买方公司唯一客户编码
accountId:
type: integer
description: 系统唯一账户标识
type:
type: integer
description: 账户分类(1-用户,2-商户,3-平台)
status:
type: integer
description: 账户状态(1-不可用,2-可用)
activateStatus:
type: integer
description: 激活状态(1-不可用,2-可用)
activateTime:
type: integer
description: 激活时间
remark:
type: string
description: 备注
currency:
type: string
description: 开户币种
digits:
type: integer
description: 资金小数位数
withdrawAmount:
type: string
description: 可取金额
createTime:
type: integer
description: 开户时间
firstDepositTime:
type: integer
description: 首次入金时间
firstWithdrawTime:
type: integer
description: 首次出金时间
assetsId:
type: integer
description: 开户币种id
balance:
type: string
description: 余额
available:
type: string
description: 可用
equity:
type: string
description: 净值
lockAmount:
type: string
description: 余额锁定
profit:
type: string
description: 实时盈亏
margin:
type: string
description: 实时占用保证金
notWithdrawAmount:
type: string
description: 可取冻结金额
freeMargin:
type: string
description: 实时可用保证金
lockMargin:
type: string
description: 占用保证金
liabilities:
type: string
description: 总负债
liabilitiesPrincipal:
type: string
description: 负债-本金
interest:
type: string
description: 利息
netAssets:
type: string
description: 净资产
frozen:
type: string
description: 冻结
collateralFrozen:
type: string
description: 担保品冻结
availableLoan:
type: string
description: 可借
interestProportion:
type: string
description: 日利息率
marginRadio:
type: string
description: 保证金比例
wholeWarehouseBalance:
type: string
description: 兑账号资产预估价
wholeWarehouseRate:
type: string
description: 兑账号资产汇率
openAccountStatus:
type: boolean
description: 开户状态
required:
- companyId
- tradeType
- accountId
- customerNo
- type
- status
- activateStatus
- activateTime
- remark
- createTime
- firstDepositTime
- firstWithdrawTime
- assetsId
- currency
- digits
- balance
- available
- equity
- withdrawAmount
- lockAmount
- profit
- margin
- notWithdrawAmount
- freeMargin
- lockMargin
- liabilities
- liabilitiesPrincipal
- interest
- netAssets
- frozen
- collateralFrozen
- availableLoan
- interestProportion
- marginRadio
- customerId
- wholeWarehouseBalance
- wholeWarehouseRate
- openAccountStatus
description: 数据体
ok:
type: boolean
fail:
type: boolean
required:
- data
headers: {}
security: []
/global/customer.app.CustomerWebApiService.queryCustomerAssets:
post:
summary: 查询客户资产
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.queryCustomerAssets
登录之后可以访问
operationId: queryCustomerAssets
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法Id
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
assetsId:
type: integer
description: 资产Id
currency:
type: string
description: 资产code
digits:
type: integer
description: 资金小数位数
balance:
type: string
description: 余额
required:
- assetsId
- currency
- digits
- balance
description: 数据体
ok:
type: boolean
fail:
type: boolean
required:
- data
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-9q2v3u1-9c89e2-4epa-1w3zd-1677741772
code: '0'
data:
balance: '109849160.9462'
currency: USDT
digits: 4
assetsId: 13
bizCode: C
tm: 209517656
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.queryCustomerAssetsInfo:
post:
summary: 客户总资产信息(不支持合约玩法)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.queryCustomerAssetsInfo
登录之后可以访问
operationId: queryCustomerAssetsInfo
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法Id,3-CROSS;5-MATCH;8-WALLET;(不支持合约玩法)
minimum: 1
accountCurrency:
type: string
description: 账户币种,多个资产间以“,”分割。如:USD,CNY。不传默认返回全部
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
data:
type: object
properties:
currency:
type: string
description: 总账户计算币种
digits:
type: integer
description: 资金小数位数
totalAvailable:
type: string
description: 总可用(总资产-总冻结)
closeProportion:
type: string
description: 风险率(百分比)
riskLevel:
type: integer
description: 风险等级
totalBalance:
type: string
description: 总资产
totalLiabilities:
type: string
description: 总负债(总负债-本金+总利息)
companyId:
type: integer
description: 公司ID
totalNetAssets:
type: string
description: 总净资产(总资产-总负债)
totalInterest:
type: string
description: 总利息
tradeType:
type: integer
description: 玩法Id
customerNo:
type: string
description: 客户编号
totalLiabilitiesPrincipal:
type: string
description: 总负债-本金
accountInfoMap:
type: object
properties:
companyId:
type: integer
description: 公司ID
tradeType:
type: integer
description: 玩法Id
accountId:
type: integer
description: 系统唯一账户标识
customerNo:
type: string
description: 买方公司唯一客户编码
type:
type: integer
description: 账户分类(1-用户,2-商户,3-平台)
status:
type: integer
description: 账户状态(1-不可用,2-可用)
activateStatus:
type: integer
description: 激活状态(1-不可用,2-可用)
activateTime:
type: integer
description: 激活时间
remark:
type: string
description: 备注
createTime:
type: integer
description: 开户时间
firstDepositTime:
type: integer
description: 首次入金时间
firstWithdrawTime:
type: integer
description: 首次出金时间
assetsId:
type: integer
description: 开户币种id
currency:
type: string
description: 开户币种
digits:
type: integer
description: 资金小数位数
balance:
type: string
description: 余额
available:
type: string
description: 可用
equity:
type: string
description: 净值
withdrawAmount:
type: string
description: 可取金额
lockAmount:
type: string
description: 余额锁定
profit:
type: string
description: 实时盈亏
margin:
type: string
description: 实时占用保证金
notWithdrawAmount:
type: string
description: 可取冻结金额
freeMargin:
type: string
description: 实时可用保证金
lockMargin:
type: string
description: 占用保证金
liabilities:
type: string
description: 总负债
liabilitiesPrincipal:
type: string
description: 负债-本金
interest:
type: string
description: 利息
netAssets:
type: string
description: 净资产
frozen:
type: string
description: 冻结
collateralFrozen:
type: string
description: 担保品冻结
availableLoan:
type: string
description: 可借
interestProportion:
type: string
description: 日利息率
marginRadio:
type: string
description: 保证金比例
customerId:
type: integer
description: 买方系统唯一客户标识
wholeWarehouseBalance:
type: string
description: 兑账号资产预估价。仅玩法5存在该值(v2.2.1添加描述)
wholeWarehouseRate:
type: string
description: 兑账号资产汇率。仅玩法5存在该值(v2.2.1添加描述)
openAccountStatus:
type: boolean
description: 开户状态
formulaSymbol:
type: string
title: 汇率计算方向
description: multiply-乘;divide-除;仅玩法5存在该值。(v2.2.1新增)
description: 附带账户信息。key为资产Code
required:
- accountInfoMap
- totalAvailable
- closeProportion
- riskLevel
- totalBalance
- totalLiabilities
- companyId
- totalNetAssets
- currency
- digits
- totalInterest
- tradeType
- customerNo
- totalLiabilitiesPrincipal
description: 数据体
ok:
type: boolean
fail:
type: boolean
required:
- data
- msg
- trace
- code
- bizCode
- tm
- msgParams
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-syhv7-d3a53n34-z4k54-458414-1677741850
code: '0'
data:
totalAvailable: '348191.9105'
closeProportion: 26.61%
riskLevel: 2
totalBalance: '348191.9105'
totalLiabilities: '1308283.6711'
companyId: null
totalNetAssets: '-960091.7606'
currency: USDT
digits: 4
totalInterest: '1068275.4978'
tradeType: 3
customerNo: null
totalLiabilitiesPrincipal: '240008.1733'
accountInfoMap:
SAND:
netAssets: '0.000000'
lastOrderId: '0'
available: '0.000000'
remark: null
type: 1
equity: '0.000000'
firstDepositTime: null
lockMargin: '0.000000'
balance: '0.000000'
interest: '0.000000'
customerId: 1176
liabilities: '0.000000'
currency: SAND
activateStatus: 2
withdrawAmount: '0.000000'
profit: '0'
tradeType: 3
wholeWarehouseBalance: null
freeMargin: '0'
margin: '0'
firstWithdrawTime: null
activateTime: 1648792208194
weight: null
frozen: '0.000000'
wholeWarehouseRate: null
accountId: 1031752
companyId: 360
liabilitiesPrincipal: '0.000000'
interestProportion: '0'
createTime: 1648777706190
lockAmount: '0.000000'
notWithdrawAmount: '0.000000'
digits: 6
customerNo: '86001175'
status: 2
assetsId: 29
bizCode: C
tm: 171612280
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.queryLiabilitiesWaterByPage:
post:
summary: 借还款流水列表(杠杆)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.queryLiabilitiesWaterByPage
登录之后可以访问
operationId: queryLiabilitiesWaterByPage
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
tradeType:
type: integer
format: int64
description: 玩法Id
minimum: 1
liabilitiesType:
type: integer
format: int32
description: 1-借款;2-还款
startTime:
type: integer
format: int64
description: 开始时间
endTime:
type: integer
format: int64
description: 结束时间
accountId:
type: integer
format: int64
description: 账户Id
assetsId:
type: integer
format: int64
description: 资产Id
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
total:
type: integer
description: 总数
size:
type: integer
description: 每页条数
current:
type: integer
description: 当前页
records:
type: object
properties:
id:
type: integer
description: 流水ID
accountId:
type: integer
description: 账户Id
remark:
type: string
description: 备注
createdBy:
type: integer
description: 创建人
createTime:
type: integer
description: 创建日期
updateBy:
type: integer
description: 更新人
updateTime:
type: integer
description: 更新时间
businessType:
type: integer
description: >-
业务类型。 杠杆:
19-自动借款;20-手动借款;21-自动还款;22-手动还款;23-借款利息;35-后台还款;40-强平还款;
ABCC:
29-自动借款;30-手动借款;31-自动还款;32-手动还款;33-借款利息;34-后台还款;41-强平还款;
businessType1:
type: integer
description: >-
业务子类型。 杠杆:
19001-借款本金;20001-借款本金;21001-还款本金;21002-还款利息;22001-还款本金;22002-还款利息;23001-借款利息;35001-还款本金;35002-还款利息;40001-强平归还本金;40002-强平归还利息;
ABCC:
29001-借款本金;30001-借款本金;31001-还款本金;31002-还款利息;32001-还款本金;32002-还款利息;33001-借款利息;34001-还款本金;34002-还款利息;41001-强平归还本金;41002-强平归还利息;
customerNo:
type: string
description: 客户编码
digits:
type: integer
description: 小数位
liabilitiesPrincipal:
type: string
description: 负债_本金
interest:
type: string
description: 利息
interestUpdateTime:
type: integer
description: 利息最后更新时间
currency:
type: string
description: 资产code
liabilities:
type: string
description: 负债
required:
- id
- accountId
- remark
- createdBy
- createTime
- updateBy
- updateTime
- businessType
- businessType1
- customerNo
- digits
- liabilitiesPrincipal
- interest
- interestUpdateTime
- currency
- liabilities
description: 列表
required:
- records
- total
- size
- current
description: 数据体
ok:
type: boolean
fail:
type: boolean
required:
- data
headers: {}
security: []
/global/customer.app.CustomerWebApiService.updateAssertsPwd:
post:
summary: 修改资金密码
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.updateAssertsPwd
登录之后可以访问
operationId: updateAssertsPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
oldPwd:
type: string
description: 旧密码,MD5加密
newPwd:
type: string
description: 新密码,MD5加密
googleCode:
type: string
description: 谷歌验证码
required:
- newPwd
- oldPwd
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.updateAssertsPwdMFA:
post:
summary: 修改资金密码(MFA)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.updateAssertsPwdMFA
登录之后可以访问
operationId: updateAssertsPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
oldPwd:
type: string
description: 旧密码,MD5加密
minLength: 6
maxLength: 50
newPwd:
type: string
description: 新密码,MD5加密
minLength: 6
maxLength: 50
googleCode:
type: string
description: 谷歌验证码
verifyCode:
type: string
description: >-
验证码,发送验证码接口bizType=EMAIL_LOGINED_VERIFICATION_CODE(邮箱),SMS_LOGINED_VERIFICATION_CODE(手机)
sendToken:
type: string
description: 发送票据
type:
type: integer
description: 类型:1邮箱,2手机号码
format: int32
minimum: 1
maximum: 2
required:
- newPwd
- oldPwd
- verifyCode
- sendToken
- type
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.updateLoginPwd:
post:
summary: 修改登录密码
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.updateLoginPwd
登录之后可以访问
operationId: updateLoginPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
oldPwd:
type: string
description: 旧密码,MD5加密
newPwd:
type: string
description: 新密码,MD5加密
googleCode:
type: string
description: 谷歌验证码
required:
- newPwd
- oldPwd
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWebApiService.updateLoginPwdMFA:
post:
summary: 修改登录密码(MFA)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.updateLoginPwdMFA
登录之后可以访问
operationId: updateAssertsPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
oldPwd:
type: string
description: 旧密码,MD5加密
minLength: 6
maxLength: 50
newPwd:
type: string
description: 新密码,MD5加密
minLength: 6
maxLength: 50
googleCode:
type: string
description: 谷歌验证码
verifyCode:
type: string
description: >-
验证码,发送验证码接口bizType=EMAIL_LOGINED_VERIFICATION_CODE(邮箱),SMS_LOGINED_VERIFICATION_CODE(手机)
sendToken:
type: string
description: 发送票据
type:
type: integer
description: 类型:1邮箱,2手机号码
format: int32
minimum: 1
maximum: 2
required:
- newPwd
- oldPwd
- verifyCode
- sendToken
- type
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371
code: '0'
data: null
bizCode: ''
tm: 29515800
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.groupList:
post:
summary: 查询客户组列表
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.groupList
游客可以访问
operationId: updateLoginPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
description: 数据体
properties:
id:
type: integer
description: 客户组id
name:
type: string
description: 客户组名称
openAccountType:
type: integer
description: 是否为开户组,1是0否
type:
type: integer
description: 客户组类型,0真实,1测试,2游客
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/customer.app.CustomerWebApiService.changeEmailMFA:
post:
summary: 修改邮箱(MFA)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.changeEmailMFA
登录之后可以访问
本接口:可自主选择旧凭证验证方式
更换邮箱(MFA):只能使用旧邮箱验证
operationId: updateAssertsPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
email:
type: string
description: 新邮箱
maxLength: 50
verifyCodeNew:
type: string
description: 新验证码,发送验证码bizType=EMAIL_COMMON_VERIFICATION_CODE
sendTokenNew:
type: string
description: 新验证码发送票据
type:
type: integer
description: 类型:1邮箱,2手机号码
format: int32
minimum: 1
maximum: 2
verifyCodeOld:
type: string
description: >-
原验证码,与type配合使用,当type=1,发送验证码bizType只能为EMAIL_LOGINED_VERIFICATION_CODE,type=2,bizType=SMS_LOGINED_VERIFICATION_CODE
title: ''
sendTokenOld:
type: string
description: >-
原验证码发送票据,与type配合使用,当type=1,发送验证码bizType只能为EMAIL_LOGINED_VERIFICATION_CODE,type=2,bizType=SMS_LOGINED_VERIFICATION_CODE
googleCode:
type: string
description: 谷歌验证码
required:
- verifyCodeNew
- email
- sendTokenNew
- verifyCodeOld
- sendTokenOld
- type
example:
verifyCodeNew: '57'
email: k.uogz@qq.com
sendTokenNew: non
verifyCodeOld: '72'
sendTokenOld: velit ut officia minim non
type: 1
googleCode: '64'
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371
code: '0'
data: null
bizCode: ''
tm: 29515800
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.changePhoneMFA:
post:
summary: 修改手机(MFA)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.changePhoneMFA
登录之后可以访问
本接口:可自主选择旧凭证验证方式
更换手机(MFA):只能使用旧手机验证
operationId: updateAssertsPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
phoneArea:
type: string
description: 手机区号
maxLength: 15
phone:
type: string
description: 手机
maxLength: 50
verifyCodeNew:
type: string
description: 新验证码,发送验证码bizType=SMS_COMMON_VERIFICATION_CODE
sendTokenNew:
type: string
description: 新验证码发送票据
type:
type: integer
description: 类型:1邮箱,2手机号码
format: int32
minimum: 1
maximum: 2
verifyCodeOld:
type: string
description: >-
原验证码,与type配合使用,当type=1,发送验证码bizType只能为EMAIL_LOGINED_VERIFICATION_CODE,type=2,bizType=SMS_LOGINED_VERIFICATION_CODE
title: ''
sendTokenOld:
type: string
description: >-
原验证码发送票据,与type配合使用,当type=1,发送验证码bizType只能为EMAIL_LOGINED_VERIFICATION_CODE,type=2,bizType=SMS_LOGINED_VERIFICATION_CODE
googleCode:
type: string
description: 谷歌验证码
required:
- verifyCodeNew
- phoneArea
- sendTokenNew
- verifyCodeOld
- sendTokenOld
- type
- phone
example:
verifyCodeNew: '12'
phoneArea: '19845120732'
sendTokenNew: laborum Ut
verifyCodeOld: '18'
sendTokenOld: enim aute dolor culpa
type: 1
phone: '18639656874'
googleCode: '97'
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371
code: '0'
data: null
bizCode: ''
tm: 29515800
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.changeCountry:
post:
summary: 修改国家
deprecated: false
description: |
version=0.0.1
bizType=customer.app.CustomerWebApiService.changeCountry
登录之后可以访问,
如果客户有已经审批通过的KYC,则拒绝修改国家,
修改成功后,客户修改前所在国家的待审核KYC,全部拒绝
operationId: updateAssertsPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
newCountry:
type: string
description: 国家code
maxLength: 15
required:
- newCountry
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-h8hndw-rps6j-bl9q63-7yf0eh5-1679385371
code: '0'
data: null
bizCode: ''
tm: 29515800
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.bindAssertsPwdMFA:
post:
summary: 设置资金密码(MFA)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.bindAssertsPwdMFA
登录之后可以访问
operationId: bindAssertsPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
newPwd:
type: string
description: 密码,MD5加密
minLength: 6
maxLength: 50
verifyCode:
type: string
description: >-
验证码,发送验证码接口bizType=EMAIL_LOGINED_VERIFICATION_CODE(邮箱),SMS_LOGINED_VERIFICATION_CODE(手机)
sendToken6:
type: string
description: 发送票据
type:
type: integer
format: int32
description: 类型:1邮箱,2手机号码
minimum: 1
maximum: 3
googleCode:
type: string
description: 谷歌验证码
required:
- newPwd
- type
- verifyCode
- sendToken6
example:
newPwd: eu Ut sint
type: 1
verifyCode: '712311'
sendToken: '{{sendToken}}'
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 异常示例-资金密码已设置
value:
msg: Fund password has been set
fail: true
trace: x-kwm21-v8951-5vor62ft-006o-1677737070
code: CUSTOMER_API_0000133
data: customer.app.CustomerWebApiService.bindAssertsPwd
bizCode: US
tm: 3851542
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerWebApiService.forgetAssertsPwdMFA:
post:
summary: 重置资金密码(MFA)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.forgetAssertsPwdMFA
登录之后可以访问
operationId: bindAssertsPwd
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
newPwd:
type: string
description: 密码,MD5加密
minLength: 6
maxLength: 50
verifyCode:
type: string
description: >-
验证码,发送验证码接口bizType=EMAIL_LOGINED_VERIFICATION_CODE(邮箱),SMS_LOGINED_VERIFICATION_CODE(手机)
sendToken:
type: string
description: 发送票据
type:
type: integer
format: int32
description: 类型:1邮箱,2手机号码
minimum: 1
maximum: 3
googleCode:
type: string
description: 谷歌验证码
required:
- newPwd
- type
- verifyCode
- sendToken
example:
newPwd: eu Ut sint
type: 1
verifyCode: '712311'
sendToken: '{{sendToken}}'
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 异常示例-资金密码已设置
value:
msg: Fund password has been set
fail: true
trace: x-kwm21-v8951-5vor62ft-006o-1677737070
code: CUSTOMER_API_0000133
data: customer.app.CustomerWebApiService.bindAssertsPwd
bizCode: US
tm: 3851542
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerWebApiService.bindThirdAccount:
post:
summary: 绑定三方账户信息
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.bindThirdAccount
登录之后可以访问
tags:
- 客户接口/客户基础信息
parameters:
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
thirdLoginSource:
type: string
maxLength: 10
description: 三方来源,telegram
thirdUserId:
type: string
description: 三方userId
maxLength: 45
thirdIntactMsg:
type: string
description: 第三方获取的完整用户信息,必须为json格式
required:
- thirdLoginSource
- thirdUserId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
description: 数据体
properties: {}
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-w67a-m983h6dw-30535g-x321-1677575540
code: '0'
data: null
bizCode: ''
tm: 46426649
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWebApiService.queryLatestBalanceOfUserAccountInExternalSystem:
post:
summary: 查询3方系统账户余额
deprecated: false
description: >-
version=0.0.1
bizType=customer.app.CustomerWebApiService.queryLatestBalanceOfUserAccountInExternalSystem
登录之后可以访问
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
amount:
type: string
description: 三方账户余额
currency:
type: string
description: 币种
amountDigits:
type: string
description: 账户余额小数位
description: 数据体
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/customer.app.CustomerWebApiService.findPhoneAndEmail:
post:
summary: 查询客户手机邮箱
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWebApiService.findPhoneAndEmail
登录之后可以访问
tags:
- 客户接口/客户基础信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
customerNo:
type: string
description: 客户账号
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/customer.app.CustomerExtendWebApiService.findCustomerExtend:
post:
summary: 查看客户拓展信息
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerExtendWebApiService.findCustomerExtend
登录之后可以访问
operationId: findCustomerExtend
tags:
- 客户接口/客户扩展信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
type:
type: integer
format: int32
description: 拓展类型,1=payRedeem
required:
- type
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultObject'
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-e9c5v-513q-59z1w-ljfvlr1-1677641352
code: '0'
data: '343434'
bizCode: ''
tm: 5925011
msgParams: null
ok: true
'2':
summary: 异常示例-用户没有绑定扩展信息
value:
msg: This type of payout address does not exist
fail: true
trace: x-jjc3sw-8ul61-46x26inl-o7i5h-1677638896
code: CUSTOMER_API_0000706
data: >-
customer.app.CustomerExtendWebApiService.findCustomerExtend
bizCode: US
tm: 48792747
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerExtendWebApiService.saveCustomerExtend:
post:
summary: 保存客户拓展信息
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerExtendWebApiService.saveCustomerExtend
登录之后可以访问
operationId: saveCustomerExtend
tags:
- 客户接口/客户扩展信息
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
type:
type: integer
format: int32
description: 拓展类型,1=payRedeem
value:
type: string
description: 拓展信息
required:
- type
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-o31dki1-q0rm-7snb-846x4iv-1677641261
code: '0'
data: null
bizCode: ''
tm: 31053212
msgParams: null
ok: true
'2':
summary: 异常示例_Type类型不为1
value:
msg: System error
fail: true
trace: x-4062886q-m7s61so-i9b8yq6-wzp3m4c-1677641406
code: '500'
data: >-
customer.app.CustomerExtendWebApiService.saveCustomerExtend
bizCode: US
tm: 735197
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.GoogleVerifyApiService.generateGoogleAccount:
post:
summary: 生成谷歌验证账号
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.GoogleVerifyApiService.generateGoogleAccount
登录之后可以访问
operationId: checkGoogleCode
tags:
- 客户接口/客户谷歌验证
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: ''
content:
application/json:
schema: &ref_13
$ref: '#/components/schemas/BaseResultBoolean'
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-e9558c26-a4e5-486b-831c-f53604646396-1677653793570
code: '0'
data:
code: null
createTime: 1659087780437
qrcode: >-
otpauth://totp/CTS2(2023-03-01)(86000116)?secret=RAUW2G2WRHKRSV5L
updateTime: 1677653793296
secret: RAUW2G2WRHKRSV5L
id: 41
customerNo: '86000116'
status: 2
bizCode: ''
tm: 22789118
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.GoogleVerifyApiService.checkGoogleCode:
post:
summary: 检查谷歌验证码状态
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.GoogleVerifyApiService.checkGoogleCode
登录之后可以访问
operationId: findGoogleVerifyByCustomerNo
tags:
- 客户接口/客户谷歌验证
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
code:
type: string
description: 谷歌验证码
required:
- code
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties: {}
description: 返回体。true 通过,false 不通过
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value: "{\r\n \"msg\": \"Success\",\r\n \"fail\": false,\r\n \"trace\": \"x-2g2cku-47l3ei-kh1y9s4-3ol18a5w-1677637672\",\r\n \"code\": \"0\",\r\n \"data\": false,//true 通过,false 不通过\r\n \"bizCode\": \"\",\r\n \"tm\": 6313035,\r\n \"msgParams\": null,\r\n \"ok\": true\r\n}"
'2':
summary: 异常示例_参数类型不匹配
value:
msg: System error
fail: true
trace: x-2725h-355v0-1w8m-50cd65h-1677637790
code: '500'
data: customer.app.GoogleVerifyApiService.checkGoogleCode
bizCode: US
tm: 6344724
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.KycWebApiService.checkKycApply:
post:
summary: 业务场景是否KYC通过
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.KycWebApiService.checkKycApply
登录之后可以访问
operationId: checkKycApply
tags:
- 客户接口/客户KYC认证
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
businessCode:
type: string
description: >-
业务场景code,开户=open_account,入金=cashin,取款=withdraw,信用卡=apply_credit_card
required:
- businessCode
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: KYC拒绝原因
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: integer
description: 正常2=成功,异常状态【0认证,1审核中,3审核拒绝】
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value: "{\r\n \"msg\": \"Success\",\r\n \"fail\": false,\r\n \"trace\": \"x-y87e-cait-r4b6-c135wj-1677641720\",\r\n \"code\": \"0\",\r\n \"data\": 2,//正常2=成功,异常状态【0认证,1审核中,3审核拒绝】\r\n \"bizCode\": \"\",\r\n \"tm\": 6551651,\r\n \"msgParams\": \"CUSTOMER_API_0000602\",\r\n \"ok\": true\r\n}"
headers: {}
security: []
/global/customer.app.KycWebApiService.findAllBizKyc:
post:
summary: 获取业务场景KYC认证信息
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.KycWebApiService.findAllBizKyc
登录之后可以访问
operationId: findAllBizKyc
tags:
- 客户接口/客户KYC认证
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
businessCode:
type: string
description: >-
业务场景code,开户=open_account,入金=cashin,取款=withdraw,信用卡=apply_credit_card
openAccountType:
type: integer
format: int32
description: 开户类型:0.个人 1.企业
required:
- businessCode
responses:
'200':
description: ''
content:
application/json:
schema: &ref_9
$ref: '#/components/schemas/BaseResultListKycAuthVO'
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-4djg1xe-p9sygx2-1v7k21-y2z1g-1677642057
code: '0'
data: []
bizCode: ''
tm: 4315987
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.KycWebApiService.findAllBizKycList:
post:
summary: 身份认证列表
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.KycWebApiService.findAllBizKycList
登录之后可以访问
operationId: findAllBizKycList
tags:
- 客户接口/客户KYC认证
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
type: object
properties:
levelCode:
type: string
description: KYC等级code
levelName:
type: string
description: KYC等级名称
status:
type: integer
format: int32
description: 认证状态,0认证,1审核中,2审核通过,3审核拒绝
statusName:
type: string
description: 认证状态名称,0认证,1审核中,2审核通过,3审核拒绝
sort:
type: integer
format: int32
description: 排序
preLevelName:
type: string
description: 前置等级信息
businessNameList:
type: array
description: 业务场景名称集合
uniqueItems: true
items:
type: string
businessCodeList:
type: array
items:
type: string
description: 业务场景code集合
companyType:
type: string
description: '企业类型 '
openAccountType:
type: string
description: '开户类型:0.个人 1.企业 '
pathCode:
type: string
description: 认证路径
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/customer.app.KycWebApiService.findAllCusKycListByBiz:
post:
summary: 根据业务场景获取客户已经认证信息
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.KycWebApiService.findAllCusKycListByBiz
登录之后可以访问
operationId: findAllCusKycListByBiz
tags:
- 客户接口/客户KYC认证
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
businessCode:
type: string
description: >-
业务场景code,开户=open_account,入金=cashin,取款=withdraw,信用卡=apply_credit_card
required:
- businessCode
responses:
'200':
description: ''
content:
application/json:
schema: *ref_9
headers: {}
security: []
/global/customer.app.KycWebApiService.findAllLevelKyc:
post:
summary: KYC等级是否要KYC认证
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.KycWebApiService.findAllLevelKyc
登录之后可以访问
operationId: findAllLevelKyc
tags:
- 客户接口/客户KYC认证
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
lang:
type: string
description: 语言信息
levelCode:
type: string
description: "KYC等级(\tlevel_1,level_2,\tlevel_3)"
customerNo:
type: string
description: 客户账号(每个公司下唯一,跨公司不唯一)
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
selectCountry:
type: string
description: 选择的国家
selectCompanyType:
type: string
description: 选择的企业类型
example:
levelCode: level_1
responses:
'200':
description: ''
content:
application/json:
schema: *ref_9
headers: {}
security: []
/global/customer.app.KycWebApiService.findCompanyCountry:
post:
summary: 获取支持企业开户的国家
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.KycWebApiService.findCompanyCountry
登录之后可以访问
operationId: findCompanyCountry
tags:
- 客户接口/客户KYC认证
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
description: 数据体
properties:
openCompanyCountry:
type: string
description: 支持企业开户国家(对应国家code)
required:
- openCompanyCountry
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-0m1j4g7-9f99i12r-n8f86-ev41-1677649081
code: '0'
data:
companyId: 360
createTime: 1647485223229
action: manual
updateTime: 1675775113871
id: 1504288172189061000
openCompanyCountry: MC,CN
bizCode: ''
tm: 3817612
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.KycWebApiService.kycApply:
post:
summary: KYC业务场景认证申请
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.KycWebApiService.kycApply
登录之后可以访问
operationId: kycApply
tags:
- 客户接口/客户KYC认证
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
levelCode:
type: string
description: KYC等级Code(level_1,level_2,level_3)
businessCode:
type: string
description: >-
业务场景code,开户=open_account,入金=cashin,取款=withdraw,信用卡=apply_credit_card
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
elementList:
type: array
description: KYC元素集合
items: &ref_10
$ref: '#/components/schemas/KycWebAddInnerDTO'
maxItems: 2147483647
minItems: 1
selectCompanyType:
type: string
description: 选择的企业类型,企业认证时必填
commitTag:
type: boolean
description: 是否提交,默认提交
selectCountry:
type: string
description: 选择的国家,企业认证选填,空值取注册国家
cardType:
type: string
description: 卡类型
maxLength: 50
required:
- elementList
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.KycWebApiService.kycLevelApply:
post:
summary: KYC等级认证申请
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.KycWebApiService.kycLevelApply
登录之后可以访问
operationId: kycLevelApply
tags:
- 客户接口/客户KYC认证
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
levelCode:
type: string
description: KYC等级Code(level_1,level_2,level_3)
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
elementList:
type: array
description: KYC元素集合
items: *ref_10
maxItems: 2147483647
minItems: 1
selectCountry:
type: string
description: 选择的国家,企业认证选填,空值取注册国家
selectCompanyType:
type: string
description: 选择的企业类型,企业认证时必填
commitTag:
type: boolean
description: 是否提交,默认提交
required:
- elementList
example:
levelCode: level_1
elementList:
- elementCode: applyCurrency
elementValue: HKD
- elementCode: type
elementValue: '1'
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: string
description: 对应kyc待审核提案id
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value: |-
{
"msg": "Success",
"fail": false,
"trace": "x-eb9so-p7qxs-7588-88mm-1677650372",
"code": "0",
"data": "K683312403240189952",//对应kyc待审核提案id
"bizCode": "",
"tm": 28692396,
"msgParams": null,
"ok": true
}
'2':
summary: 异常示例-等级申请通过后再次申请
value:
msg: Client's KYC authentication is passed
fail: true
trace: x-vy13104l-kv1vr-58dm79k-2om9348-1677650302
code: CUSTOMER_API_0000604
data: customer.app.KycWebApiService.kycLevelApply
bizCode: US
tm: 5871580
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerWalletWebApiService.add:
post:
summary: 新增钱包
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWalletWebApiService.add
登录之后可以访问
operationId: add
tags:
- 客户接口/客户钱包管理
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
currency:
type: string
description: 钱包币种
chainName:
type: string
description: 链名称
address:
type: string
description: 钱包地址
maxLength: 150
remark:
type: string
description: 钱包备注
maxLength: 100
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
phoneArea:
type: string
description: 手机区号
phone:
type: string
description: 手机号码
required:
- currency
- chainName
- address
- remark
- verifyCode
- phoneArea
- phone
- sendToken
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
x-docstype: TS.Clientapi.Customer
x-docstitle: 客户接口
/global/customer.app.CustomerWalletWebApiService.addV1v1v2:
post:
summary: 新增钱包(MFA)
deprecated: true
description: |-
version=0.0.1
bizType=customer.app.CustomerWalletWebApiService.addV1v1v2
登录之后可以访问
如果客户开启谷歌验证码(MFA),则入参中的谷歌验证码(googleCode)必填,
同时,用户不用输入手机号码、邮箱,
如果手机、邮箱同时存在,优先校验手机号码
operationId: addV1v1v2
tags:
- 客户接口/客户钱包管理
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: zh-CN
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
currency:
type: string
description: 钱包币种
chainName:
type: string
description: 链名称
address:
type: string
description: 钱包地址
maxLength: 150
remark:
type: string
description: 钱包备注
maxLength: 100
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
googleCode:
type: string
description: 谷歌验证码
required:
- currency
- chainName
- address
- remark
- verifyCode
- sendToken
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWalletWebApiService.delete:
post:
summary: 删除钱包
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWalletWebApiService.delete
登录之后可以访问
operationId: delete
tags:
- 客户接口/客户钱包管理
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
id:
type: integer
format: int64
description: 钱包id
minimum: 1
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWalletWebApiService.updateWallet:
post:
summary: 设置默认钱包(H5未使用此接口)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWalletWebApiService.updateWallet
登录之后可以访问
operationId: updateWallet
tags:
- 客户接口/客户钱包管理
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
id:
type: integer
format: int64
description: 钱包id
minimum: 1
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWalletWebApiService.walletList:
post:
summary: 钱包列表
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWalletWebApiService.walletList
登录之后可以访问
operationId: walletList
tags:
- 客户接口/客户钱包管理
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
currency:
type: string
description: 钱包币种
chainName:
type: string
description: 链名称
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
type: object
properties:
id:
type: integer
format: int64
description: 钱包id
currency:
type: string
description: 钱包币种
chainName:
type: string
description: 链名称
address:
type: string
description: 钱包地址
remark:
type: string
description: 钱包备注
defaultType:
type: integer
format: int32
description: 默认钱包标志1是0否
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-gndw9-43s45-j1x875-59h9d-1677576513
code: '0'
data:
- chainName: Ethereum(ERC20)
address: '234'
currency: USDC
remark: ''
id: 14676
defaultType: 0
bizCode: ''
tm: 3021714
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWalletWebApiService.addWithdrawalAddressMFA:
post:
summary: '新增提现地址(MFA) '
deprecated: false
description: |
version=0.0.1
bizType=customer.app.CustomerWalletWebApiService.addWithdrawalAddressMFA
登录之后可以访问
operationId: addV1v1v2
tags:
- 客户接口/客户钱包管理
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
currency:
type: string
description: 币种
chainName:
type: string
description: 提现网络
address:
type: string
description: 提现地址
maxLength: 150
remark:
type: string
description: 提现备注
maxLength: 40
minLength: 4
type:
type: integer
description: 类型:1邮箱,2手机号码
format: int32
minimum: 1
maximum: 2
verifyCode:
type: string
description: >-
验证码,发送验证码接口bizType=EMAIL_LOGINED_VERIFICATION_CODE(邮箱),SMS_LOGINED_VERIFICATION_CODE(手机)
sendToken:
type: string
description: 验证码发送票据
googleCode:
type: string
description: 谷歌验证码
required:
- currency
- chainName
- address
- remark
- verifyCode
- sendToken
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.CustomerWalletWebApiService.withdrawalAddressList:
post:
summary: 查询提现地址列表
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerWalletWebApiService.withdrawalAddressList
登录之后可以访问
operationId: walletList
tags:
- 客户接口/客户钱包管理
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
currency:
type: string
description: 币种
chainName:
type: string
description: 提现网络
required:
- currency
- chainName
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
type: object
properties:
id:
type: integer
format: int64
description: id
currency:
type: string
description: 币种
chainName:
type: string
description: 提现网络
address:
type: string
description: 提现地址
remark:
type: string
description: 提现备注
withdrawalAddressStatus:
type: integer
format: int32
description: 提现地址状态,1启用,2禁用
withdrawRiskFailTime:
type: integer
description: 提现地址时间,风控失效时间
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-gndw9-43s45-j1x875-59h9d-1677576513
code: '0'
data:
- chainName: Ethereum(ERC20)
address: '234'
currency: USDC
remark: ''
id: 14676
defaultType: 0
bizCode: ''
tm: 3021714
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerWalletWebApiService.withdrawalAddressGroupList:
post:
summary: 查询提现地址列表(分组)
deprecated: false
description: >-
version=0.0.1
bizType=customer.app.CustomerWalletWebApiService.withdrawalAddressGroupList
登录之后可以访问
operationId: walletList
tags:
- 客户接口/客户钱包管理
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
currency:
type: string
description: 币种
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
items:
type: object
properties:
id:
type: integer
format: int64
description: id
currency:
type: string
description: 币种
chainName:
type: string
description: 提现网络
address:
type: string
description: 提现地址
remark:
type: string
description: 提现备注
createTime:
type: integer
description: 创建时间
description: Map<币种,地址列表>
description: 数据体
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-gndw9-43s45-j1x875-59h9d-1677576513
code: '0'
data:
- chainName: Ethereum(ERC20)
address: '234'
currency: USDC
remark: ''
id: 14676
defaultType: 0
bizCode: ''
tm: 3021714
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.WithdrawBankWebApiService.add:
post:
summary: 新增国内银行卡
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.WithdrawBankWebApiService.add
登录之后可以访问
operationId: add
tags:
- 客户接口/客户银行卡管理
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
country:
type: string
maxLength: 50
description: 国家
bankAccountName:
type: string
maxLength: 80
description: 账户持有人姓名
bankCardNumber:
type: string
maxLength: 80
description: 银行卡号
bankCurrency:
type: string
maxLength: 80
description: 银行币种
bankName:
type: string
maxLength: 80
description: 银行名称
bankAddress:
type: string
maxLength: 200
description: 银行开户地址
bankBranch:
type: string
maxLength: 200
description: 银行支行
province:
type: string
maxLength: 50
description: 省
city:
type: string
maxLength: 50
description: 市
bankCode:
type: string
maxLength: 50
description: 银行代码
firstName:
type: string
description: 名
maxLength: 50
lastName:
type: string
description: 姓
maxLength: 50
required:
- bankCardNumber
- bankCurrency
- bankName
- bankAddress
- bankBranch
- province
- city
- bankCode
- firstName
- lastName
- country
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功-添加银行卡成功
value:
msg: Success
fail: false
trace: x-119n8w-7g776n0t-cl873p-81g4-1677651340
code: '0'
data: null
bizCode: ''
tm: 11140253
msgParams: null
ok: true
'2':
summary: 异常示例-银行卡重复添加
value:
msg: Bank card no exist already
fail: true
trace: x-5or45-27i1u-8lf22-322qb-1677651390
code: CUSTOMER_API_0000701
data: customer.app.WithdrawBankWebApiService.add
bizCode: US
tm: 3477734
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.WithdrawBankWebApiService.addV1v2v8:
post:
summary: 新增国际银行卡
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.WithdrawBankWebApiService.addV1v2v8
登录之后可以访问
operationId: addV1v2v8
tags:
- 客户接口/客户银行卡管理
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
bankCurrency:
type: string
maxLength: 80
description: 银行币种
bankName:
type: string
maxLength: 80
description: 银行名称
bankCode:
type: string
maxLength: 50
description: 银行代码
firstName:
type: string
description: 名
maxLength: 50
lastName:
type: string
description: 姓
maxLength: 50
bankAccount:
type: string
maxLength: 32
description: 银行账号
swiftCode:
type: string
maxLength: 32
description: swiftCode
otherCode:
type: string
maxLength: 32
description: otherCode
province:
type: string
description: 省份编码
city:
type: string
description: 城市编码
phone:
type: string
description: 预留手机号
ext1:
type: string
description: 身份证号
required:
- bankCurrency
- bankName
- bankCode
- firstName
- lastName
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/customer.app.WithdrawBankWebApiService.bankList:
post:
summary: 获取银行卡列表
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.WithdrawBankWebApiService.bankList
登录之后可以访问
operationId: bankList
tags:
- 客户接口/客户银行卡管理
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
bankAccount:
type: string
description: 银行账号
bankCardNumber:
type: string
description: 银行卡号
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultListCustomerWithdrawBankVO'
headers: {}
security: []
/global/customer.app.WithdrawBankWebApiService.delete:
post:
summary: 删除银行卡信息
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.WithdrawBankWebApiService.delete
登录之后可以访问
tags:
- 客户接口/客户银行卡管理
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
id:
type: integer
format: uint64
description: 银行卡信息记录id
required:
- id
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResult'
headers: {}
security: []
/global/customer.app.CustomerThirdLoginService.config:
post:
summary: 获取三方登录配置信息
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.config
游客可访问
operationId: config
tags:
- 客户接口/社交账号登录
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
thirdSource:
type: string
description: 第三方源 google,facebook,twitter,telegram,apple,metamask
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: string
description: 状态返回码,code=0标识当前请求操作成功,其他code处理异常
msg:
type: string
description: 状态描述
bizCode:
type: string
description: 模块标识码
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
thirdSource:
type: string
title: ''
description: 第三方源 google,facebook,twitter…
clientId:
type: string
title: ''
description: 客户端id
developerAccount:
type: string
description: 三方开发账户
required:
- thirdSource
- clientId
- developerAccount
description: 数据体
required:
- code
- data
- msgParams
- trace
- tm
- bizCode
- msg
headers: {}
security: []
/h/com.cats.customer.api.app.CustomerThirdLoginService/appleVerify:
post:
summary: Apple三方登录校验
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.appleVerify
登录之后可以访问
operationId: appleVerify
tags:
- 客户接口/社交账号登录
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
title: 公司id
openId:
type: string
title: 第三方开放id
description: app端必传
identityToken:
type: string
title: 身份token
description: app端必传
email:
type: integer
title: app端有就传
code:
type: string
title: 授权code
description: web端必传
idToken:
type: string
title: token
description: web端必传
required:
- companyId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: string
title: 系统通用返回码
description: 0-成功,其他异常
msg:
type: string
title: 返回信息
bizCode:
type: string
title: 模块标识码
tm:
title: 处理时长(毫秒)
type: integer
trace:
type: string
title: 全局链路标志信息
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
userId:
type: string
title: 第三方userId
action:
type: string
title: 下一步操作行为
description: login, bind, register
result:
title: 校验结果
type: boolean
failReason:
type: string
title: 校验失败原因
thirdSource:
type: string
title: 第三方登录源
description: google,facebook,twitter…
email:
type: string
title: 邮箱
phone:
type: string
title: 手机号
required:
- userId
- phone
- email
- thirdSource
- failReason
- result
- action
required:
- code
- data
- msgParams
- trace
- tm
- bizCode
- msg
headers: {}
security: []
/third/login/customer.app.CustomerThirdLoginService.facebookVerify:
post:
summary: Facebook三方登录校验
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.facebookVerify
登录之后可以访问
operationId: facebookVerify
tags:
- 客户接口/社交账号登录
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
accessToken:
type: string
description: 校验accessToken
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: string
title: 系统通用返回码
description: 0-成功,其他异常
msg:
type: string
title: 返回信息
bizCode:
type: string
title: 模块标识码
tm:
title: 处理时长(毫秒)
type: integer
trace:
type: string
title: 全局链路标志信息
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
userId:
type: string
title: 第三方userId
action:
type: string
title: 下一步操作行为
description: login, bind, register
result:
title: 校验结果
type: boolean
failReason:
type: string
title: 校验失败原因
thirdSource:
type: string
title: 第三方登录源
description: google,facebook,twitter…
email:
type: string
title: 邮箱
phone:
type: string
title: 手机号
required:
- userId
- phone
- email
- thirdSource
- failReason
- result
- action
required:
- code
- data
- msgParams
- trace
- tm
- bizCode
- msg
headers: {}
security: []
/h/com.cats.customer.api.app.CustomerThirdLoginService/googleVerify:
post:
summary: Google三方登录校验
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.googleVerify
登录之后可以访问
operationId: googleVerify
tags:
- 客户接口/社交账号登录
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
idToken:
type: string
title: 校验token web端必传
accessToken:
type: string
title: 校验token app端必传
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: string
title: 系统通用返回码
description: 0-成功,其他异常
msg:
type: string
title: 返回信息
bizCode:
type: string
title: 模块标识码
tm:
type: integer
title: 处理时长(毫秒)
trace:
type: string
title: 全局链路标志信息
data:
type: object
properties:
thirdSource:
type: string
title: 第三方登录源
description: google,facebook,twitter…
result:
type: boolean
title: 校验结果
phone:
title: 手机号
type: string
action:
type: string
title: 下一步操作行为
description: login, bind, register
failReason:
title: 校验失败原因
type: string
userId:
type: string
title: 第三方userId
email:
type: string
title: 邮箱
token:
type: string
title: 校验token
required:
- thirdSource
- result
- phone
- action
- failReason
- userId
- email
- token
title: ''
msgParams:
title: 返回描述中占位符参数串,多个参数间以,分割
type: string
required:
- code
- msg
- bizCode
- tm
- trace
- data
- msgParams
headers: {}
security: []
/third/login/customer.app.CustomerThirdLoginService.telegramVerify:
post:
summary: Telegram三方登录校验
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.telegramVerify
###0.0.2版本,配合三方注册,登录(不需要手机、邮箱)使用
version=0.0.2
bizType=customer.app.CustomerThirdLoginService.telegramVerify
登录之后可以访问
operationId: metaMaskVerify
tags:
- 客户接口/社交账号登录
parameters:
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
userJsonStr:
type: string
title: 用户授权信息 以json字符串给出
channelSource:
type: string
title: 渠道来源 h5、pc
required:
- userJsonStr
- channelSource
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: string
title: 系统通用返回码
description: 0-成功,其他异常
msg:
type: string
title: 返回信息
description: 返回信息
bizCode:
type: string
title: 模块标识码
description: 模块标识码
tm:
title: 处理时长(毫秒)
type: integer
description: 处理时长(毫秒)
trace:
type: string
title: 全局链路标志信息
description: 全局链路标志信息
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
userId:
type: string
title: 第三方userId
description: 第三方userId
action:
type: string
title: 下一步操作行为
description: login, bind, register
result:
title: 校验结果
type: boolean
description: 校验结果
failReason:
type: string
title: 校验失败原因
description: 校验失败原因
thirdSource:
type: string
title: 第三方登录源
description: 第三方登录源,google,facebook,twitter…
email:
type: string
title: 邮箱
description: 邮箱
phone:
type: string
title: 手机号
description: 手机号
authToken:
type: string
description: 三方授权凭证(version=0.0.2返回)
required:
- userId
- phone
- email
- thirdSource
- failReason
- result
- action
- authToken
required:
- code
- data
- msgParams
- trace
- tm
- bizCode
- msg
headers: {}
security: []
/third/login/customer.app.CustomerThirdLoginService.metaMaskVerify:
post:
summary: Metamask三方登录校验
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.metaMaskVerify
登录之后可以访问
operationId: telegramVerify
tags:
- 客户接口/社交账号登录
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
web3Signature:
type: string
title: 校验签名
address:
type: string
title: 钱包账户地址
timestamp:
type: integer
title: 时间戳
required:
- web3Signature
- address
- timestamp
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: string
title: 系统通用返回码
description: 0-成功,其他异常
msg:
type: string
title: 返回信息
bizCode:
type: string
title: 模块标识码
tm:
title: 处理时长(毫秒)
type: integer
trace:
type: string
title: 全局链路标志信息
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
userId:
type: string
title: 第三方userId
action:
type: string
title: 下一步操作行为
description: login, bind, register
result:
title: 校验结果
type: boolean
failReason:
type: string
title: 校验失败原因
thirdSource:
type: string
title: 第三方登录源
description: google,facebook,twitter…
email:
type: string
title: 邮箱
phone:
type: string
title: 手机号
required:
- userId
- phone
- email
- thirdSource
- failReason
- result
- action
required:
- code
- data
- msgParams
- trace
- tm
- bizCode
- msg
headers: {}
security: []
/third/login/customer.app.CustomerThirdLoginService.twitterVerify:
post:
summary: Twitter三方登录校验
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.twitterVerify
登录之后可以访问
operationId: twitterVerify
tags:
- 客户接口/社交账号登录
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
oauth_token:
type: string
title: ''
description: oauth_token
oauth_token_secret:
type: string
title: ''
description: oauth_token_secret
user_id:
type: string
title: ''
description: user_id
screen_name:
type: string
description: screen_name
access_token:
type: string
description: access_token
state:
type: string
description: state
client_id:
type: string
description: client_id
network:
type: string
description: network
display:
type: string
description: display
redirect_uri:
type: string
description: redirect_uri
scope:
type: string
description: scope
oauth_proxy:
type: string
description: oauth_proxy
required:
- oauth_token
- oauth_token_secret
- scope
- redirect_uri
- display
- network
- client_id
- state
- access_token
- screen_name
- user_id
- oauth_proxy
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: string
title: 系统通用返回码
description: 0-成功,其他异常
msg:
type: string
title: 返回信息
bizCode:
type: string
title: 模块标识码
tm:
title: 处理时长(毫秒)
type: integer
trace:
type: string
title: 全局链路标志信息
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
userId:
type: string
title: 第三方userId
action:
type: string
title: 下一步操作行为
description: login, bind, register
result:
title: 校验结果
type: boolean
failReason:
type: string
title: 校验失败原因
thirdSource:
type: string
title: 第三方登录源
description: google,facebook,twitter…
email:
type: string
title: 邮箱
phone:
type: string
title: 手机号
required:
- userId
- phone
- email
- thirdSource
- failReason
- result
- action
required:
- code
- data
- msgParams
- trace
- tm
- bizCode
- msg
headers: {}
security: []
/third/login/customer.app.CustomerThirdLoginService.login:
post:
summary: 三方登录
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.login
游客可访问
operationId: login
tags:
- 客户接口/社交账号登录
parameters:
- name: companyId
in: header
description: ''
required: 'true'
example: '{{company}}'
schema:
type: string
- name: lang
in: header
description: ''
required: 'true'
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: 'true'
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: 'true'
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
thirdSource:
type: string
description: 第三方源 google,facebook,twitter,telegram,apple,metamask
userId:
type: string
description: 第三方userId
email:
type: string
description: 邮箱
phone:
type: string
description: 手机号
required:
- thirdSource
- userId
- email
- phone
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
id:
type: integer
format: int64
description: 客户id
companyId:
type: integer
format: int64
description: 公司
customerGroupId:
type: integer
format: int64
description: 客户组
customerNo:
type: string
description: 客户账号
kycAuditStatus:
type: integer
format: int32
description: 注册KYC审核状态:0未认证跳转到认证页面,1待审核,2审核通过,3审核不通过
kycAuditRemark:
type: string
description: 注册KYC审核备注,审核拒绝不为空
kycStatus:
type: integer
format: int32
description: KYC状态
kycRemark:
type: string
description: KYC状态名称
accountList:
type: object
description: 交易账户列表
properties: {}
accountRemark:
type: string
description: 客户是否有交易账户备注
loginPassStatus:
type: string
description: 设置密码提醒标志,1需要设置密码,2不需要
payPassStatus:
type: string
description: 支付密码是否存在状态,1不存在,2存在
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
country:
type: string
description: 国家
type:
type: integer
format: int32
description: 组类型 <0真实,1模拟,2游客>
deposit:
type: integer
format: int32
description: 可存款,1可存款
withdraw:
type: integer
format: int32
description: 可取款,1可取款
optional:
type: integer
format: int32
description: 自选标志0未添加1已添加
activateStatus:
type: integer
format: int32
description: 激活状态,0未激活,1已激活
activateTime:
type: integer
format: int64
description: 激活时间
companyKycStatus:
type: integer
format: int32
description: 公司KYC开户状态,1开启2未开启
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
thirdServerCode:
type: string
description: 第三方系统唯一编号
source:
type: string
description: 来源
thirdLoginSource:
type: string
description: 第三方登录源 google,facebook,twitter
thirdUserId:
type: string
description: 第三方userId
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
thirdIntactMsg:
type: string
description: 第三方登录完整数据
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
isFund:
type: integer
format: int32
description: 是否为基金经理,1是,默认0否
assertPassStatus:
type: string
description: 设置资金密码提醒标志,1需要设置密码,2不需要
googleId:
type: integer
format: int64
description: 是否开启MFA,大于0,开启,其余未开启
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
loginTime:
type: integer
format: int64
description: 登陆时间
createTime:
type: integer
format: int64
description: 创建时间
relationCustomerId:
type: integer
format: int64
description: 关联账户id
companyType:
type: string
description: 公司类型
registerSource:
type: integer
format: int32
description: 注册来源
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
registerTime:
type: integer
format: int64
description: 注册时间
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/third/login/customer.app.CustomerThirdLoginService.socialLogin:
post:
summary: 三方登录(不需要手机,邮箱)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.socialLogin
游客可访问
operationId: login
tags:
- 客户接口/社交账号登录
parameters:
- name: companyId
in: header
description: ''
required: 'true'
example: '{{company}}'
schema:
type: string
- name: lang
in: header
description: ''
required: 'true'
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: 'true'
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: 'true'
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
thirdSource:
type: string
description: 第三方源 telegram
userId:
type: string
description: 第三方userId
authToken:
type: string
description: 三方授权凭证
minLength: 64
maxLength: 64
required:
- thirdSource
- userId
- authToken
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
id:
type: integer
format: int64
description: 客户id
companyId:
type: integer
format: int64
description: 公司
customerGroupId:
type: integer
format: int64
description: 客户组
customerNo:
type: string
description: 客户账号
kycAuditStatus:
type: integer
format: int32
description: 注册KYC审核状态:0未认证跳转到认证页面,1待审核,2审核通过,3审核不通过
kycAuditRemark:
type: string
description: 注册KYC审核备注,审核拒绝不为空
kycStatus:
type: integer
format: int32
description: KYC状态
kycRemark:
type: string
description: KYC状态名称
accountList:
type: object
description: 交易账户列表
properties: {}
accountRemark:
type: string
description: 客户是否有交易账户备注
loginPassStatus:
type: string
description: 设置密码提醒标志,1需要设置密码,2不需要
payPassStatus:
type: string
description: 支付密码是否存在状态,1不存在,2存在
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
country:
type: string
description: 国家
type:
type: integer
format: int32
description: 组类型 <0真实,1模拟,2游客>
deposit:
type: integer
format: int32
description: 可存款,1可存款
withdraw:
type: integer
format: int32
description: 可取款,1可取款
optional:
type: integer
format: int32
description: 自选标志0未添加1已添加
activateStatus:
type: integer
format: int32
description: 激活状态,0未激活,1已激活
activateTime:
type: integer
format: int64
description: 激活时间
companyKycStatus:
type: integer
format: int32
description: 公司KYC开户状态,1开启2未开启
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
thirdServerCode:
type: string
description: 第三方系统唯一编号
source:
type: string
description: 来源
thirdLoginSource:
type: string
description: 第三方登录源 telegram
thirdUserId:
type: string
description: 第三方userId
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
thirdIntactMsg:
type: string
description: 第三方登录完整数据
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
isFund:
type: integer
format: int32
description: 是否为基金经理,1是,默认0否
assertPassStatus:
type: string
description: 设置资金密码提醒标志,1需要设置密码,2不需要
googleId:
type: integer
format: int64
description: 是否开启MFA,大于0,开启,其余未开启
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
loginTime:
type: integer
format: int64
description: 登陆时间
createTime:
type: integer
format: int64
description: 创建时间
relationCustomerId:
type: integer
format: int64
description: 关联账户id
companyType:
type: string
description: 公司类型
registerSource:
type: integer
format: int32
description: 注册来源
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
registerTime:
type: integer
format: int64
description: 注册时间
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/third/login/customer.app.CustomerThirdLoginService.register:
post:
summary: 三方注册
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.register
游客可访问
operationId: register
tags:
- 客户接口/社交账号登录
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
country:
type: string
description: 国家
thirdSource:
type: string
description: 第三方源 google,facebook,twitter,telegram,apple,metamask
userId:
type: string
description: 第三方userId
customerGroupId:
type: integer
format: int64
description: 客户组ID
email:
type: string
description: 邮箱 与手机号码必须存在一个
phone:
type: string
description: 手机号码
phoneArea:
type: string
description: 新手机区号
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
registerSource:
type: integer
format: int32
minimum: 1
description: >-
注册来源:1=移动端web:H5,2=pcweb:PC_Web,3=系统&后台注册:System,4=安卓原生app:Android,5=苹果原生app:iOS,6=鸿蒙OS:HOS,7=pc
windows客户端:PC_Win,8=pc mac客户端:PC_Mac,9=不属于以上的:其他
utmSource:
type: string
description: 广告来源(开户链接参数source)
utmMedium:
type: string
description: 广告媒介(开户链接参数medium)
utmCampaign:
type: string
description: 广告系列(开户链接参数campaign)
utmContent:
type: string
description: 广告组(开户链接参数content)
utmTerm:
type: string
description: 关键词(开户链接参数term)
lang:
type: string
description: 语言信息
thirdServerCode:
type: string
description: 第三方系统唯一编号
maxLength: 45
thirdServerSource:
type: string
description: 第三方系统来源,如:代理=agent
maxLength: 10
registerDevice:
type: string
description: 注册的设备型号
required:
- country
example:
customerGroupId: 1
userId: '5708954114'
phoneArea: '18163223782'
phone: '18631358776'
sendToken: reprehenderit veniam do sit minim
verifyCode: '23'
country: CN
thirdSource: telegram
registerSource: 2
thirdServerSource: test
thirdServerCode: '10'
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
customerNo:
type: string
description: 客户账号
list:
type: array
description: KYC认证列表信息
items: *ref_11
companyId:
type: integer
format: int64
description: 公司ID
ext1:
type: string
description: 扩展字段(无用)
ext2:
type: string
description: 扩展字段(无用)
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
loginPassStatus:
type: string
description: 设置密码提醒标志,1需要设置密码,2不需要
payPassStatus:
type: string
description: 支付密码是否存在状态,1不存在,2存在
customerGroupId:
type: integer
format: int64
description: 客户组
country:
type: string
description: 国家
id:
type: integer
format: int64
description: 客户id
optional:
type: integer
format: int32
description: 自选标志0未添加1已添加
companyKycStatus:
type: integer
format: int32
description: 公司KYC开户状态,1开启2未开启
thirdServerCode:
type: string
description: 第三方系统唯一编号
source:
type: string
description: 来源
capitalInStatus:
type: integer
format: int32
description: 入金状态:1已入金、2未入金
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
companyType:
type: string
description: 公司类型
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
registerTime:
type: integer
format: int64
description: 注册时间
apiCheckSwitch:
type: boolean
description: API 校验开关。true-已打开校验
apiCheckRule:
type: string
description: API 校验规则。1-邮件;2-短信;3-谷歌NFA;同时启用多个校验,以,分割。
token:
type: string
description: 登录票据
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/third/login/customer.app.CustomerThirdLoginService.socialRegister:
post:
summary: 三方注册(不需要手机,邮箱)
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerThirdLoginService.socialRegister
游客可访问
operationId: register
tags:
- 客户接口/社交账号登录
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
country:
type: string
description: 国家code
thirdSource:
type: string
description: 第三方源 telegram
userId:
type: string
description: 第三方userId
authToken:
type: string
description: 三方授权凭证
minLength: 64
maxLength: 64
registerSource:
type: integer
format: int32
minimum: 1
description: >-
注册来源:1=移动端web:H5,2=pcweb:PC_Web,3=系统&后台注册:System,4=安卓原生app:Android,5=苹果原生app:iOS,6=鸿蒙OS:HOS,7=pc
windows客户端:PC_Win,8=pc mac客户端:PC_Mac,9=不属于以上的:其他
customerGroupId:
type: integer
format: int64
description: 客户组ID
utmSource:
type: string
description: 广告来源(开户链接参数source)
utmMedium:
type: string
description: 广告媒介(开户链接参数medium)
utmCampaign:
type: string
description: 广告系列(开户链接参数campaign)
utmContent:
type: string
description: 广告组(开户链接参数content)
utmTerm:
type: string
description: 关键词(开户链接参数term)
lang:
type: string
description: 语言信息
thirdServerCode:
type: string
description: 第三方系统唯一编号
maxLength: 45
thirdServerSource:
type: string
description: 第三方系统来源,如:代理=agent
maxLength: 10
registerDevice:
type: string
description: 注册的设备型号
token:
type: string
description: 登录票据
required:
- country
- thirdSource
- userId
- registerSource
- authToken
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
customerNo:
type: string
description: 客户账号
list:
type: array
description: KYC认证列表信息
items: *ref_11
companyId:
type: integer
format: int64
description: 公司ID
ext1:
type: string
description: 扩展字段(无用)
ext2:
type: string
description: 扩展字段(无用)
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
loginPassStatus:
type: string
description: 设置密码提醒标志,1需要设置密码,2不需要
payPassStatus:
type: string
description: 支付密码是否存在状态,1不存在,2存在
customerGroupId:
type: integer
format: int64
description: 客户组
country:
type: string
description: 国家
id:
type: integer
format: int64
description: 客户id
optional:
type: integer
format: int32
description: 自选标志0未添加1已添加
companyKycStatus:
type: integer
format: int32
description: 公司KYC开户状态,1开启2未开启
thirdServerCode:
type: string
description: 第三方系统唯一编号
source:
type: string
description: 来源
capitalInStatus:
type: integer
format: int32
description: 入金状态:1已入金、2未入金
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
companyType:
type: string
description: 公司类型
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
registerTime:
type: integer
format: int64
description: 注册时间
apiCheckSwitch:
type: boolean
description: API 校验开关。true-已打开校验
apiCheckRule:
type: string
description: API 校验规则。1-邮件;2-短信;3-谷歌NFA;同时启用多个校验,以,分割。
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/customer.app.CustomerOptionalWebApiService.add:
post:
summary: 新增自选产品
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerOptionalWebApiService.add
登录之后可以访问
operationId: add
tags:
- 客户接口/客户自选产品
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
symbolList:
type: array
description: 产品Id集合
items:
type: integer
format: int64
maxItems: 2147483647
minItems: 1
tradeType:
type: integer
format: int64
description: 玩法Id,1-CFD全仓 2-CFD逐仓 3-杠杆全仓 5-现货玩法
minimum: 1
required:
- tradeType
- symbolList
example:
symbolList:
- 2717
- 2718
tradeType: 1
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-w67a-m983h6dw-30535g-x321-1677575540
code: '0'
data: null
bizCode: ''
tm: 46426649
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerOptionalWebApiService.delete:
post:
summary: 删除自选产品
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerOptionalWebApiService.delete
登录之后可以访问
operationId: delete
tags:
- 客户接口/客户自选产品
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
symbolList:
type: array
description: 产品Ids
items:
type: integer
format: int64
maxItems: 2147483647
minItems: 1
tradeType:
type: integer
format: int64
description: 1-CFD全仓 2-CFD逐仓 3-杠杆全仓 5-现货玩法
minimum: 1
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-5um9rt4-0pba-3uwtcp-117u3s1-1677576234
code: '0'
data: null
bizCode: ''
tm: 8347683
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: 'Data not exist '
fail: true
trace: x-8bk4ol42-c0i7517b-54yle4-8w3wup2-1677576065
code: CUSTOMER_API_0000003
data: customer.app.CustomerOptionalWebApiService.delete
bizCode: US
tm: 7386547
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerOptionalWebApiService.optionalList:
post:
summary: 自选列表
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerOptionalWebApiService.optionalList
登录之后可以访问
operationId: optionalList
tags:
- 客户接口/客户自选产品
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeTypeList:
type: array
description: 玩法id集合,1-CFD全仓 2-CFD逐仓 3-杠杆全仓 5-现货玩法
items:
type: integer
format: int64
maxItems: 2147483647
minItems: 1
required:
- tradeTypeList
example:
tradeTypeList:
- 1
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultMapLongListCustomerOptionalVO'
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-20325-5twm-458w4eap-p5x1x8l-1677576194
code: '0'
data:
'1':
- symbolCode: USDJPY
symbolId: 1348
pointRatio: 1
symbolName: USDJPY
symbolDigits: 3
askSpread: 0.009
bidSpread: 0.007
- symbolCode: BINAN_BTC_USDT
symbolId: 706
pointRatio: 1
symbolName: BTC/USDT
symbolDigits: 2
askSpread: 32.51
bidSpread: 32.51
- symbolCode: AUDCHF
symbolId: 2717
pointRatio: 1
symbolName: AUDCHF
symbolDigits: 5
askSpread: 0.00009
bidSpread: 0.00007
- symbolCode: BTC/USDT_PRD
symbolId: 969
pointRatio: 10
symbolName: BTC/USDT_PRD
symbolDigits: 2
askSpread: 0.9
bidSpread: 0.7
- symbolCode: BINAN_ATOM_USDT
symbolId: 695
pointRatio: 3
symbolName: BINAN_ATOM_USDT
symbolDigits: 3
askSpread: 0.027
bidSpread: 0.021
bizCode: ''
tm: 39231170
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerApiWebService.applyApi:
post:
summary: 申请API
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerApiWebService.applyApi
登录之后可以访问
operationId: applyApi
tags:
- 客户接口/客户开放API
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tag:
type: string
description: API标签
googleCode:
type: string
description: 谷歌验证码
phoneCode:
type: string
description: 手机验证码、邮箱验证一个必填
emailCode:
type: string
description: 手机验证码、邮箱验证一个必填
phoneSendToken:
type: string
description: 发送手机验证码返回token,phoneCode不为空时必传
emailSendToken:
type: string
description: 发送邮箱验证码返回token,emailCode不为空时必传
required:
- tag
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-8e544ed3-057a-48ed-ade2-27d3998f7411-1677654224398
code: '0'
data:
customerGroupId: null
sources: null
apiKey: 47b471e57c394e8fbc18535805e04016
updateTime: 1677654224184
expiredTime: 1685430224184
privateKey: >-
MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAKvivs7OSD2kYMGjDoOQ6ATsnLV7GMZgJUtDW5N4RS+ZEG/unVSgbBxfVRYvJ3TQ7/bmf24Brs+dqEhWrlXHgdxe2ieQ4IBZb94jScUW2GWBlpz1ULCB1UIYF0sp6fzfadgeCkJrEdtC5xcp0dbg6KzAJOT2Qg6fuELt6M6PQsQlAgMBAAECgYA96ixfJDEjey2bMpgMzkq1U2HTgWbYNlPYu4emJEGPtqwUFbi4fhzTT4e/uPaWfpihsD+gqZyFjr3KaObdYUMmPX2gNVn1qtcTICF4Y0MPFhaGIb8hUzi/xJpOUYinOFzZpE3bt1EUvIlIvDzdqDKD6gEs6kh2ana2JPXzZAZiwQJBAOZ3PbrqDNM239/TvD2yzG6Z35thInH1P4ziShn3saOwU5vNYRt4ArfgNYUnjrlSFOYxAtkxr2GCOIUdfiYwd1UCQQC+7fu1FMWFEKnyg2DR0nkaj461EWNgEUD1nCUDP4d71ccUcf6399faatc3XAqzG7+XApxQpVp+eQIS3QefyHmRAkAJGdRaOTvga15T3GymkxT3mSP3YtKVZXXo/lamx90/9YqXsHiROSACWtxCMdm0/8TLgkv2f7vJQfcxaoS8xVUxAkAQbNzImT7c0bAtIsxDgL3WYR8/yH0qGJHkD0jH3MFFEAEOazgkj3fMXICjTJHHEs4KqbjU30THuJVLFiS/xDlhAkA4L4sl3aFVDFo0CUFjSMxFquaYe8QeS8t1eBpUR7PSJcKS80jKrHk4s8SOSf9/yuU/Kbnki4rUTXpR5fSscOqC
whiteIps: null
companyId: 368
createTime: 1677654224184
customerId: 117
ipLimit: false
tag: '2343'
withdrawTime: 1677827024184
secretKeyMd5: 95cfcea9ef853cd519d65858ddc01dfe
id: 3
permissionDTOList:
- code: ready_only
paths: null
canEdit: false
name: Read
status: 1
- code: trade
paths: null
canEdit: true
name: Spot Trade
status: 2
- code: contract_trade
paths: null
canEdit: true
name: Contract Trade
status: 2
- code: captial_out
paths: null
canEdit: true
name: Withdraw
status: 2
customerNo: '86000116'
validityDays: 90
pubKey: >-
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCr4r7Ozkg9pGDBow6DkOgE7Jy1exjGYCVLQ1uTeEUvmRBv7p1UoGwcX1UWLyd00O/25n9uAa7PnahIVq5Vx4HcXtonkOCAWW/eI0nFFthlgZac9VCwgdVCGBdLKen832nYHgpCaxHbQucXKdHW4OiswCTk9kIOn7hC7ejOj0LEJQIDAQAB
bizCode: ''
tm: 87948437
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerApiWebService.downgrade:
post:
summary: 降级API套餐
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerApiWebService.downgrade
登录之后可以访问
operationId: applyApi
tags:
- 客户接口/客户开放API
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
apiKey:
type: string
description: 客户ApiKey
tag:
type: string
description: API标签
times:
type: string
description: 套餐时长类型。month-月;year-年;
required:
- tag
- apiKey
- times
responses:
'200':
description: ''
content:
application/json:
schema: &ref_12
$ref: '#/components/schemas/BaseResultCustomerApiVO'
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-8e544ed3-057a-48ed-ade2-27d3998f7411-1677654224398
code: '0'
data:
customerGroupId: null
sources: null
apiKey: 47b471e57c394e8fbc18535805e04016
updateTime: 1677654224184
expiredTime: 1685430224184
privateKey: >-
MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAKvivs7OSD2kYMGjDoOQ6ATsnLV7GMZgJUtDW5N4RS+ZEG/unVSgbBxfVRYvJ3TQ7/bmf24Brs+dqEhWrlXHgdxe2ieQ4IBZb94jScUW2GWBlpz1ULCB1UIYF0sp6fzfadgeCkJrEdtC5xcp0dbg6KzAJOT2Qg6fuELt6M6PQsQlAgMBAAECgYA96ixfJDEjey2bMpgMzkq1U2HTgWbYNlPYu4emJEGPtqwUFbi4fhzTT4e/uPaWfpihsD+gqZyFjr3KaObdYUMmPX2gNVn1qtcTICF4Y0MPFhaGIb8hUzi/xJpOUYinOFzZpE3bt1EUvIlIvDzdqDKD6gEs6kh2ana2JPXzZAZiwQJBAOZ3PbrqDNM239/TvD2yzG6Z35thInH1P4ziShn3saOwU5vNYRt4ArfgNYUnjrlSFOYxAtkxr2GCOIUdfiYwd1UCQQC+7fu1FMWFEKnyg2DR0nkaj461EWNgEUD1nCUDP4d71ccUcf6399faatc3XAqzG7+XApxQpVp+eQIS3QefyHmRAkAJGdRaOTvga15T3GymkxT3mSP3YtKVZXXo/lamx90/9YqXsHiROSACWtxCMdm0/8TLgkv2f7vJQfcxaoS8xVUxAkAQbNzImT7c0bAtIsxDgL3WYR8/yH0qGJHkD0jH3MFFEAEOazgkj3fMXICjTJHHEs4KqbjU30THuJVLFiS/xDlhAkA4L4sl3aFVDFo0CUFjSMxFquaYe8QeS8t1eBpUR7PSJcKS80jKrHk4s8SOSf9/yuU/Kbnki4rUTXpR5fSscOqC
whiteIps: null
companyId: 368
createTime: 1677654224184
customerId: 117
ipLimit: false
tag: '1234'
nextTag: '123'
withdrawTime: 1677827024184
secretKeyMd5: 95cfcea9ef853cd519d65858ddc01dfe
id: 3
permissionDTOList:
- code: ready_only
paths: null
canEdit: false
name: Read
status: 1
- code: trade
paths: null
canEdit: true
name: Spot Trade
status: 2
- code: contract_trade
paths: null
canEdit: true
name: Contract Trade
status: 2
- code: captial_out
paths: null
canEdit: true
name: Withdraw
status: 2
customerNo: '86000116'
validityDays: 90
pubKey: >-
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCr4r7Ozkg9pGDBow6DkOgE7Jy1exjGYCVLQ1uTeEUvmRBv7p1UoGwcX1UWLyd00O/25n9uAa7PnahIVq5Vx4HcXtonkOCAWW/eI0nFFthlgZac9VCwgdVCGBdLKen832nYHgpCaxHbQucXKdHW4OiswCTk9kIOn7hC7ejOj0LEJQIDAQAB
bizCode: ''
tm: 87948437
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerApiWebService.delApi:
post:
summary: 删除API
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerApiWebService.delApi
登录之后可以访问
operationId: delApi
tags:
- 客户接口/客户开放API
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
id:
type: integer
format: int64
description: api的id
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-w6oxyoo-4of0261-34mqcj-84djd-1677656237
code: '0'
data: null
bizCode: ''
tm: 15254881
msgParams: null
ok: true
'2':
summary: 异常示例-ID不存在
value:
msg: 'Data not exist '
fail: true
trace: x-o92qm6-67l41f-25m60l-cemws1-1677656280
code: CUSTOMER_API_0000003
data: customer.app.CustomerApiWebService.delApi
bizCode: US
tm: 2142467
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerApiWebService.editApiPermission:
post:
summary: 分配权限
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerApiWebService.editApiPermission
登录之后可以访问
operationId: editApiPermission
tags:
- 客户接口/客户开放API
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
id:
type: integer
format: int64
description: api的ID
googleCode:
type: string
description: 谷歌验证码
tag:
type: string
description: API标签,不能重复
permissionList:
type: array
description: 开启权限
items:
type: object
properties:
code:
type: string
description: 权限code
status:
type: integer
format: int32
description: 是否开启 1.开启 2.关闭
required:
- status
whiteIps:
type: string
description: 白名单IP,绑定的ip地址,以,分割
phoneCode:
type: string
description: 手机验证码、邮箱验证一个必填
emailCode:
type: string
description: 手机验证码、邮箱验证一个必填
phoneSendToken:
type: string
description: 发送手机验证码返回token,phoneCode不为空时必传
emailSendToken:
type: string
description: 发送邮箱验证码返回token,emailCode不为空时必传
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-ed6d9fab-3efb-4df6-9375-613c0ede13a8-1677655915849
code: '0'
data: null
bizCode: ''
tm: 45611250
msgParams: null
ok: true
'2':
summary: 异常示例-验证码错误
value:
msg: Invalid verification code
fail: true
trace: x-yhi2311h-372n4ygp-8eyz2-80981j5-1677656124
code: P_VERIFY_CODE_ERROR
data: customer.app.CustomerApiWebService.editApiPermission
bizCode: MS
tm: 96624858
msgParams: null
ok: false
headers: {}
security: []
/global/customer.app.CustomerApiWebService.page:
post:
summary: API列表
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerApiWebService.page
登录之后可以访问
operationId: page
tags:
- 客户接口/客户开放API
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
tag:
type: string
description: API标签
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
properties:
records:
type: array
description: 结果列表
items:
type: object
properties:
id:
type: integer
format: int64
description: 该api对应的唯一ID
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
apiKey:
type: string
description: access Key
customerNo:
type: string
description: customerNo
customerId:
type: integer
format: int64
description: 客户ID
customerGroupId:
type: integer
format: int64
description: 客户组ID
companyId:
type: integer
format: int64
description: companyId
secretKeyMd5:
type: string
description: secretKeyMd5
privateKey:
type: string
description: secretKey,只有申请时才返回
pubKey:
type: string
description: 公钥
tag:
type: string
description: 标签
permissionDTOList:
type: array
description: 权限列表
items: &ref_62
$ref: '#/components/schemas/CustomerApiPermissionDTO'
ipLimit:
type: boolean
description: 是否开启了IP限制
whiteIps:
type: string
description: IP白名单
sources:
type: array
description: 允许访问的权限路径
items:
type: string
expiredTime:
type: integer
format: int64
description: 失效时间
withdrawTime:
type: integer
format: int64
validityDays:
type: integer
format: int32
description: 有效期(天) -1 已失效 null 永久有效,
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
ok:
type: boolean
fail:
type: boolean
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-2qv668o0-2mnuze-s31o-ytm66-1677655713
code: '0'
data:
total: 1
current: 1
size: 20
records:
- customerGroupId: null
sources: null
apiKey: 24004c947cdf44e7ab9ec8abb952f820
updateTime: 1654081061854
expiredTime: 1661857061854
privateKey: null
whiteIps: null
companyId: 360
createTime: 1654081061854
customerId: 1176
ipLimit: false
tag: '3243'
withdrawTime: 1654253861855
secretKeyMd5: 0593fd76760ff274dfcb46f29d1efe0b
id: 14
permissionDTOList: null
customerNo: '86001175'
validityDays: -1
pubKey: >-
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQComVWUCnp7zp6haXIHEVz+W3HABGTc+A+IIZRGnKOyX4ajBr+4nS7c0sWf44AJL14hNA4r/sbMKCoY5Wb4HPjvBt/wServiUgYUlC6bheoB6v8FwjvV3wyWfI93Z+q5VWij28WavcNihi240CDQQrbkgv0S21ySPlRk5O90nV0nwIDAQAB
bizCode: ''
tm: 7721022
msgParams: null
ok: true
headers: {}
security: []
/global/customer.app.CustomerApiWebService.queryApi:
post:
summary: API详情
deprecated: false
description: |-
version=0.0.1
bizType=customer.app.CustomerApiWebService.queryApi
登录之后可以访问
operationId: queryApi
tags:
- 客户接口/客户开放API
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
id:
type: integer
format: int64
description: API的Id
responses:
'200':
description: ''
content:
application/json:
schema: *ref_12
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-6mv1-14cq25x-od831-i33130-1677655760
code: '0'
data:
customerGroupId: 1
sources:
- >-
message.app.PlatFormMessageTempApiService.getPlatformTempParentTypeList_0.0.1_
- >-
message.app.PlatFormMessageLogApiService.queryPlatFormMessageLogList_0.0.1_
- >-
message.app.ChannelMessageLogApiService.queryChannelMessageLogList_0.0.1_
- config.app.ParamDubboService.getPage__
- config.app.AppDictDubboService.getListByParentCode__
- config.app.AppAssetsDubboService.getAssetsList__
- config.app.AppSymbolDubboService.getSymbolBaseList__
- config.app.AppSymbolDubboService.getSymbolDetail__
- config.app.AppSymbolDubboService.getSymbolList__
- config.app.AppSymbolDubboService.getFundInfo__
- >-
config.app.AppSymbolDubboService.getEquityPremiumRate__
- config.app.AppSymbolDubboService.findFundPage__
- >-
config.app.AppSymbolDubboService.findFundPageWithRealTimeInfo__
- >-
customer.app.CustomerOptionalWebApiService.optionalList_0.0.1_
- >-
customer.app.CustomerWalletWebApiService.walletList_0.0.1_
- >-
customer.app.CustomerWebApiService.queryCustomerAssetsInfo_0.0.1_
- >-
customer.app.CustomerWebApiService.queryAccountById_0.0.1_
- >-
customer.app.CustomerWebApiService.queryCustomerAssets_0.0.1_
- >-
fund.app.DepositAppDubboService.getDepositExchangeRate_0.0.1_
- >-
fund.app.WithdrawAppDubboService.getWithdrawMethodList_0.0.1_
- >-
fund.app.WithdrawAppDubboService.getWithdrawCurrencyList_0.0.1_
- >-
fund.app.WithdrawAppDubboService.getWithdrawExchangeRate_0.0.1_
- >-
fund.app.WithdrawAppDubboService.queryWithdrawLimitConfig_0.0.1_
- >-
fund.app.WithdrawAppDubboService.getWithdrawAmountLimitInfo_0.0.1_
- >-
fund.app.WithdrawAppDubboService.computeWithdrawFee_0.0.1_
- >-
fund.app.WithdrawAppDubboService.getAccountMarginRate_0.0.1_
- >-
fund.app.WithdrawAppDubboService.getWithdrawTimesIn24Hour_0.0.1_
- >-
fund.app.CustomerProposalQueryService.queryWithdrawPageList_0.0.1_
- >-
fund.app.WithdrawAppDubboService.withdrawCurrencyList_0.0.1_
- >-
fund.app.DepositAppDubboService.capitalTransferRecord_0.0.1_
- >-
fund.app.DepositAppDubboService.getCryptoBlockchainInfo_0.0.1_
- >-
fund.app.DepositAppDubboService.getBindRechargeAddress_0.0.1_
- >-
fund.app.WithdrawAppDubboService.getCoinWithdrawCurrencyList_0.0.1_
- >-
fund.app.DepositAppDubboService.getDepositCoinList_0.0.1_
- >-
fund.app.WithdrawAppDubboService.getWithdrawAccountCurrencyList_0.0.1_
- >-
tradeapi.app.OrderApiService.queryOrderPage_0.0.1_tradeApi
- >-
tradeapi.app.OrderApiService.queryOrderDetail_0.0.1_tradeApi
- >-
tradeapi.app.PositionApiService.queryPositionPage_0.0.1_tradeApi
- >-
tradeapi.app.PositionApiService.queryPositionDetail_0.0.1_tradeApi
- >-
tradeapi.app.OrderApiService.queryPBOOrderPage_0.0.1_tradeApi
- >-
tradeapi.app.OrderApiService.queryHistoryCloseOrderList_0.0.1_tradeApi
- >-
tradeapi.app.OrderApiService.queryCapitalFlowList_0.0.1_tradeApi
- >-
tradeapi.app.OrderApiService.previewOrder_0.0.1_tradeApi
- >-
tradeapi.app.OrderApiService.queryTradeRecordPage_0.0.1_tradeApi
- >-
report.app.ReportDatadDubboService.marketPerformance_0.0.1_
- >-
report.app.ReportDatadDubboService.marketPerformanceQuoteChange_0.0.1_
- >-
report.app.ReportDatadDubboService.investCombination_0.0.1_
- >-
report.app.ReportDatadDubboService.assetPerformance_0.0.1_
- >-
report.app.ReportDatadDubboService.fundNetValueChangeQuote_0.0.1_
- report.app.ReportDatadDubboService.indexSample_0.0.1_
- >-
report.app.ReportDatadDubboService.indexSimplePerformance_0.0.1_
- >-
report.app.ReportDatadDubboService.batchMarketPerformance_0.0.1_
- >-
customer.app.CustomerWebApiService.findCustomerInfo_0.0.1_
- order.app.OrderDubboService.queryRequestOrderPage__
apiKey: 24004c947cdf44e7ab9ec8abb952f820
updateTime: 1654081061854
expiredTime: 1661857061854
privateKey: null
whiteIps: null
companyId: 360
createTime: 1654081061854
customerId: 1176
ipLimit: false
tag: '3243'
withdrawTime: 1654253861855
secretKeyMd5: 0593fd76760ff274dfcb46f29d1efe0b
id: 14
permissionDTOList:
- code: ready_only
paths: null
canEdit: false
name: Read
status: 1
- code: trade
paths: null
canEdit: true
name: Spot Trade
status: 2
- code: contract_trade
paths: null
canEdit: true
name: Contract Trade
status: 2
- code: captial_out
paths: null
canEdit: true
name: Withdraw
status: 2
customerNo: '86001175'
validityDays: -1
pubKey: >-
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQComVWUCnp7zp6haXIHEVz+W3HABGTc+A+IIZRGnKOyX4ajBr+4nS7c0sWf44AJL14hNA4r/sbMKCoY5Wb4HPjvBt/wServiUgYUlC6bheoB6v8FwjvV3wyWfI93Z+q5VWij28WavcNihi240CDQQrbkgv0S21ySPlRk5O90nV0nwIDAQAB
bizCode: ''
tm: 11271064
msgParams: null
ok: true
headers: {}
security: []
/global/getMsgPushToken:
post:
summary: 获取token
deprecated: false
description: 此接口用于客户接入Openapi时,需要订阅账户、持仓、交易推送消息时申请消息订阅的鉴权Token
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: 公司ID
required: false
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: Trace
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: 语言
required: false
example: zh-CN
schema:
type: string
- name: recvWindow
in: header
description: 时间窗口
required: false
example: '5000'
schema:
type: string
- name: apiKey
in: header
description: apiKey
required: false
example: '{{apikey}}'
schema:
type: string
- name: signature
in: header
description: 签名
required: false
example: '{{sign}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
example: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: string
title: Msg Token
description: Msg Token
required:
- data
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: ''
code: '0'
data: 6230de2c-281a-47fe-9d5d-b5f6ac60f482push
bizCode: ''
tm: 0
ok: true
headers: {}
security: []
/global/message.app.VerificationApiService.verifyCodeSend:
post:
summary: 发送验证码
deprecated: false
description: >-
说明:发送验证码。根据每种业务类型(`bizType`)和发送人(`toUser`/`customerNo`),半小时内只允许发送5次短信、5次邮件
```
version=0.0.1
bizType=message.app.VerificationApiService.verifyCodeSend
```
```
开启人机校验
version=0.0.2
bizType=message.app.VerificationApiService.verifyCodeSend
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
description: 公司Id
customerId:
type: integer
format: long
title: 客户Id
description: 客户Id
bizType:
type: string
title: 业务类型
description: >-
业务类型。EMAIL_COMMON_VERIFICATION_CODE-邮件通用验证码;EMAIL_LOGIN_VERIFICATION_CODE-邮件登录验证码;EMAIL_REGISTER_VERIFICATION_CODE-邮件注册验证码;EMAIL_PASSWORD_VERIFICATION_CODE-邮件忘记密码验证码;EMAIL_LOGINED_VERIFICATION_CODE-通用验证码-已登录-客户信息中获取接收人;SMS_COMMON_VERIFICATION_CODE-短信通用验证码;SMS_LOGIN_VERIFICATION_CODE-短信登录验证码;SMS_REGISTER_VERIFICATION_CODE-短信注册验证码;SMS_PASSWORD_VERIFICATION_CODE-短信忘记密码验证码;SMS_LOGINED_VERIFICATION_CODE-通用验证码-已登录-客户信息中获取接收人;SMS_TELEGRAM_VERIFICATION_CODE-短信telegram验证码;
toUser:
type: string
title: 接收人
description: >-
接收人。`toUser`、`customerNo`必须有一个要填:如果需要从客户信息里获取则传`customerNo`,
如果是发送telegram验证码就传第三方userId
customerNo:
type: string
title: 接收人
description: 接收人。`toUser`、`customerNo`必须有一个要填:如果需要从客户信息里获取则传`customerNo`
country:
type: string
description: 接收人所在国家信息
required:
- companyId
- bizType
example:
companyId: 39
bizType: EMAIL_PASSWORD_VERIFICATION_CODE
toUser: 4632144@qq.com
customerId: 88
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
token:
type: string
title: 发送票据
description: 发送票据
title: 数据体
description: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-45c2ptm3-u5p98t3-gf1b2x-9pbyl41-1678691805
code: '0'
data:
token: 38caf08b-fafd-4cb5-b36c-ebdd1878b974
bizCode: ''
tm: 34
msgParams: null
ok: true
headers: {}
security: []
/global/message.app.VerificationApiService.verifyCodeCheck:
post:
summary: 验证验证码
deprecated: false
description: |-
说明:验证验证码
```
version=0.0.1
bizType=message.app.VerificationApiService.verifyCodeCheck
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
description: 公司Id
customerId:
type: integer
format: long
title: 客户Id
description: 客户Id
bizType:
type: string
title: 业务类型
description: >-
业务类型。EMAIL_COMMON_VERIFICATION_CODE-邮件通用验证码;EMAIL_LOGIN_VERIFICATION_CODE-邮件登录验证码;EMAIL_REGISTER_VERIFICATION_CODE-邮件注册验证码;EMAIL_PASSWORD_VERIFICATION_CODE-邮件忘记密码验证码;EMAIL_LOGINED_VERIFICATION_CODE-通用验证码-已登录-客户信息中获取接收人;SMS_COMMON_VERIFICATION_CODE-短信通用验证码;SMS_LOGIN_VERIFICATION_CODE-短信登录验证码;SMS_REGISTER_VERIFICATION_CODE-短信注册验证码;SMS_PASSWORD_VERIFICATION_CODE-短信忘记密码验证码;SMS_LOGINED_VERIFICATION_CODE-通用验证码-已登录-客户信息中获取接收人;
toUser:
type: string
title: 接收人
description: 接收人
sendToken:
type: string
title: 发送票据
description: 发送票据
code:
type: string
title: 验证码
description: 验证码。仅可使用一次,与`verifyCodeToken`必须至少有一个有值
verifyCodeToken:
type: string
title: 验证票据
description: >-
验证票据。由首次验证验证码后返回。(与`code`必须至少有一个有值,如与`code`同时有值,仅验证此字段)。注:验证5次错误,验证票据将直接失效
required:
- companyId
- bizType
- toUser
- sendToken
example:
companyId: 12
bizType: sit sint ut sed occaecat
toUser: in
sendToken: fugiat ipsum occaecat
customerId: 49
code: '53'
verifyCodeToken: '95'
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
token:
type: string
title: 验证票据
description: 验证票据
title: 数据体
description: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-71o574-2tn5hk-pkj44361-3612md-1678691829
code: '0'
data:
token: 647a8a53-b97c-4d4a-b936-ffdce2096ad6
bizCode: ''
tm: 10
msgParams: null
ok: true
headers: {}
security: []
/global/message.app.PlatFormMessageTempApiService.getPlatformTempParentTypeList:
post:
summary: 站内信类型
deprecated: false
description: >-
说明:获取指定公司下站内信类型列表
```
version=0.0.1
bizType=message.app.PlatFormMessageTempApiService.getPlatformTempParentTypeList
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
required:
- companyId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: array
items:
type: object
properties:
type:
type: string
title: 类型值
desc:
type: string
title: 描述
required:
- desc
title: 数据体
headers: {}
security: []
/global/message.app.PlatFormMessageLogApiService.queryPlatFormMessageLogList:
post:
summary: 站内信列表
deprecated: false
description: >-
说明:获取指定公司下站内信消息列表
```
version=0.0.1
bizType=message.app.PlatFormMessageLogApiService.queryPlatFormMessageLogList
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
bizType:
type: string
title: 业务类型
status:
type: integer
format: int32
title: 状态
description: 1-未读;2-已读;3-删除;
language:
type: string
title: 语种
accountId:
type: integer
format: long
title: 账户ID
customerId:
type: integer
format: long
title: 客户ID
required:
- companyId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: array
items:
type: object
properties:
bizType:
type: string
title: 业务类型
status:
type: string
title: 状态
description: 1-未读;2-已读;3-删除;
title:
type: string
title: 标题
content:
type: string
title: 内容
redirectType:
type: string
title: 跳转类型
description: '*'
redirectUrl:
type: string
title: 跳转地址
description: '*'
createdBy:
type: string
title: 创建人
title: 数据体
headers: {}
security: []
/global/message.app.PlatFormMessageLogApiService.queryPlatFormMessageLogByPage:
post:
summary: 分页查询站内信消息记录
deprecated: false
description: >-
说明:分页查询渠道消息模板列表
```
version=0.0.1
bizType=message.app.PlatFormMessageLogApiService.queryPlatFormMessageLogByPage
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
description: 公司Id
bizType:
type: string
title: 业务类型
description: 业务类型
status:
type: integer
format: int32
title: 状态
description: 状态。1-未读;2-已读;3-删除;
language:
type: string
title: 语种
description: 语种
accountId:
type: integer
format: long
title: 账户ID
description: 账户ID
type:
type: integer
format: int32
title: 类型
description: 类型
title:
type: string
title: 标题
description: 标题
parentType:
type: string
title: 总类型
description: 总类型
customerId:
type: integer
format: long
title: 客户ID
description: 客户ID
startSendTime:
type: integer
title: 开始发送时间
description: 开始发送时间
format: long
endSendTime:
type: integer
title: 结束发送时间
description: 结束发送时间
format: long
size:
type: integer
format: long
title: 每页条数
description: 每页条数
current:
type: integer
format: long
title: 当前页
description: 当前页
required:
- companyId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: array
items:
type: object
properties:
companyId:
type: integer
format: long
description: 公司ID
title: 公司ID
content:
type: string
title: 内容
description: 内容
createdBy:
type: string
title: 创建人
description: 创建人
createTime:
type: integer
format: long
title: 创建时间
description: 创建时间
customerId:
type: integer
format: long
title: 客户ID
description: 客户ID
readStatus:
type: string
description: 读取状态 1-未读;2-已读;3-删除;
title: 读取状态 1-未读;2-已读;
title:
type: string
title: 标题
description: 标题
updateBy:
type: string
title: 更新人
description: 更新人
updateTime:
type: string
title: 更新时间
description: 更新时间
customerNo:
type: string
title: 客户编号
description: 客户编号
title: 数据体
description: 数据体
headers: {}
security: []
/global/message.app.CompanyNoticeApiService.customerViewNoticePage:
post:
summary: 公告列表
deprecated: false
description: |-
说明: 查询公告列表
```
version=0.0.1
bizType=message.app.CompanyNoticeApiService.customerViewNoticePage
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
description: 公司Id
customerNo:
type: string
title: 客户编号
description: 客户编号
lang:
type: string
title: 语种
description: 语种
size:
type: integer
format: long
title: 每页条数
description: 每页条数
current:
type: integer
format: long
title: 当前页,从1开始
description: 当前页,从1开始
pubTimeFrom:
type: integer
title: 发布时间-开始
format: long
description: 发布时间-开始。13位时间戳
pubTimeTo:
type: integer
title: 发布时间-结束
format: long
description: 发布时间-结束。13位时间戳
required:
- companyId
- lang
- size
- current
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: array
items:
type: object
properties:
name:
type: string
title: 名称
description: 名称
language:
type: string
title: 语种
description: 语种
title:
type: string
title: 标题
description: 标题
content:
type: string
title: 内容
description: 内容
pubTime:
type: integer
title: 发布时间
format: long
description: 发布时间。13位时间戳
id:
type: integer
title: 主键id
format: long
description: 主键id
companyId:
type: integer
title: 公司ID
format: long
description: 公司ID
customerNo:
type: string
title: 客户编号
description: 客户编号
title: 数据体
description: 数据体
headers: {}
security: []
/global/message.app.CompanyNoticeApiService.customerViewMsgPage:
post:
summary: 消息列表
deprecated: false
description: |-
说明: 客户查看消息列表
```
version=0.0.1
bizType=message.app.CompanyNoticeApiService.customerViewMsgPage
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
customerNo:
type: string
title: 客户编号
lang:
type: string
title: 语种
size:
type: integer
format: long
title: 每页条数
current:
type: integer
format: long
title: 当前页,从1开始
pubTimeFrom:
type: integer
title: 发布时间-开始
format: long
description: 13位时间戳
pubTimeTo:
type: integer
title: 发布时间-结束
format: long
description: 13位时间戳
required:
- companyId
- lang
- size
- current
- customerNo
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: array
items:
type: object
properties:
name:
type: string
title: 名称
language:
type: string
title: 语种
title:
type: string
title: 标题
content:
type: string
title: 内容
pubTime:
type: integer
title: 发布时间
format: long
description: 13位时间戳
id:
type: integer
title: 主键id
format: long
companyId:
type: integer
title: 公司ID
format: long
customerNo:
type: string
title: 客户编号
readStatus:
type: string
title: 读取状态
description: 1-未读;2-已读;
title: 数据体
headers: {}
security: []
/global/message.app.CompanyNoticeApiService.msgRead:
post:
summary: 读消息
deprecated: false
description: |-
说明: 客户读消息
```
version=0.0.1
bizType=message.app.CompanyNoticeApiService.msgRead
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
customerNo:
type: string
title: 客户编号
id:
type: integer
format: long
title: 消息ID
required:
- companyId
- customerNo
- id
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties: {}
title: 数据体
headers: {}
security: []
/global/message.app.CompanyNoticeApiService.msgAllRead:
post:
summary: 消息全部已读
deprecated: false
description: |-
说明:客户消息全部已读
```
version=0.0.1
bizType=message.app.CompanyNoticeApiService.msgAllRead
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
customerNo:
type: string
title: 客户编号
required:
- companyId
- customerNo
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties: {}
title: 数据体
headers: {}
security: []
/global/messagepush.app.OfflinePushService.clientIdBindCustomer:
post:
summary: unipush账户绑定
deprecated: false
description: |-
说明:unipush账户绑定clientId
```
bizType=messagepush.app.OfflinePushService.clientIdBindCustomer
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
customerId:
type: integer
title: 客户id
format: long
clientId:
type: string
title: 个推客户id
required:
- companyId
- clientId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: boolean
title: 数据体
description: true-成功;false-失败;
headers: {}
security: []
/global/message.app.CompanyNoticeApiService.sendContactUsMsg:
post:
summary: 发送联系我们邮件消息
deprecated: false
description: |-
说明:发送联系我们信息
```
version=0.0.1
bizType=message.app.CompanyNoticeApiService.sendContactUsMsg
```
tags:
- 消息接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: integer
format: long
title: 公司Id
description: 公司Id
name:
type: string
title: 业务类型
description: 名称
email:
type: string
title: 接收人
description: 邮箱
message:
type: string
title: 接收人
description: 内容
required:
- companyId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/fund.app.FundExchangeRateQueryService.getExchangeRateList:
post:
summary: 批量查询货币对的存取款汇率
deprecated: false
description: |
bizType=fund.app.FundExchangeRateQueryService.getExchangeRateList
version: 0.0.1
批量查询货币对的存取款汇率
游客可访问
operationId: getExchangeRateList
tags:
- 资金接口/汇率查询
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FundExchangeRateBatchQueryDto'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultListExchangeRateConvertDto'
headers: {}
security: []
x-docstype: TS.Clientapi.Fund
x-docstitle: 资金接口
/global/fund.app.FundExchangeRateQueryService.getTradeExchangeRate:
post:
summary: 查询货币对的交易汇率
deprecated: false
description: |
bizType=fund.app.FundExchangeRateQueryService.getTradeExchangeRate
version: 0.0.1
查询货币对的交易汇率
operationId: getExchangeRateList
tags:
- 资金接口/汇率查询
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
companyId:
type: string
description: 公司ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: IP
lang:
type: string
description: 语言
sourceCurrency:
type: string
description: 源货币编码
targetCurrency:
type: string
description: 目标货币编码
required:
- sourceCurrency
- targetCurrency
- trace
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: string
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: &ref_67
$ref: '#/components/schemas/ExchangeRateConvertDto'
ok:
type: string
fail:
type: string
headers: {}
security: []
x-docstype: TS.Clientapi.Fund
x-docstitle: 资金接口
/global/fund.app.CustomerProposalQueryService.isHaveUnCompleteProposal:
post:
summary: 查询客户是否有未完成的提案
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.CustomerProposalQueryService.isHaveUnCompleteProposal
查询客户是否有未完成的提案
登录后方可访问
operationId: isHaveUnCompleteProposal
tags:
- 资金接口/提案查询
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/FundBaseDto'
responses:
'200':
description: ''
content:
application/json:
schema: *ref_13
headers: {}
security: []
x-docstype: TS.Clientapi.Fund
x-docstitle: 资金接口
/global/fund.app.CustomerProposalQueryService.queryDepositAdjustPageList:
post:
summary: 查询客户额度调整提案分页数据
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.CustomerProposalQueryService.queryDepositAdjustPageList
查询客户额度调整提案分页数据
登录后方可访问
operationId: queryDepositAdjustPageList
tags:
- 资金接口/提案查询
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryProposalPageReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: >-
#/components/schemas/BaseResultBasePageVoCustomerAdjustProposalDto
headers: {}
security: []
/global/fund.app.CustomerProposalQueryService.queryDepositPageList:
post:
summary: 查询客户存款提案分页数据
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.CustomerProposalQueryService.queryDepositPageList
查询客户取款提案分页数据
登录后方可访问
operationId: queryDepositPageList
tags:
- 资金接口/提案查询
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryDepositProposalPageReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: >-
#/components/schemas/BaseResultBasePageVoCustomerDepositProposalDto
headers: {}
security: []
/global/fund.app.CustomerProposalQueryService.queryWithdrawPageList:
post:
summary: 查询客户取款提案分页数据
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.CustomerProposalQueryService.queryWithdrawPageList
查询客户取款提案分页数据
登录后方可访问
operationId: queryWithdrawPageList
tags:
- 资金接口/提案查询
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryWithdrawProposalPageReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: >-
#/components/schemas/BaseResultBasePageVoCustomerWithdrawProposalDto
headers: {}
security: []
/global/fund.app.DepositAppDubboService.applyRechargeBindAddress:
post:
summary: 申请绑直充支付钱包地址
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.applyRechargeBindAddress
申请绑直充支付钱包地址
登录后方可访问
operationId: applyRechargeBindAddress
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema: &ref_15
$ref: '#/components/schemas/CustomerRechargeWalletAddrReqDto'
responses:
'200':
description: ''
content:
application/json:
schema: &ref_16
$ref: >-
#/components/schemas/BaseResultCustomerRechargeWalletAddrRespDto
headers: {}
security: []
x-docstype: TS.Clientapi.Fund
x-docstitle: 资金接口
/global/fund.app.DepositAppDubboService.markOpenCardDepositRate:
post:
summary: 标记开卡费存款使用汇率
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.markOpenCardDepositRate
标记开卡费存款使用汇率
登录后方可访问
operationId: applyRechargeBindAddress
tags:
- 资金接口/客户存款接口
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
depositRateSerialNo:
type: string
description: 存款汇率流水号
paymentCurrency:
type: string
description: 支付币种
blockchainName:
type: string
description: 链名称
address:
type: string
description: 收款地址
required:
- depositRateSerialNo
- paymentCurrency
- blockchainName
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: boolean
description: 数据体
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
x-docstype: TS.Clientapi.Fund
x-docstitle: 资金接口
/global/fund.app.DepositAppDubboService.prePaymentOrder:
post:
summary: 预付款订单信息
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.prePaymentOrder
version=0.0.1
预付款订单信息,订单信息只会保存15分钟,支付订单时需要将此接口返回结果,传入orderNo。
登录后方可访问
operationId: applyRechargeBindAddress
tags:
- 资金接口/客户存款接口
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
extend:
type: string
description: 存款订单扩展字段信息
required:
- extend
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码,当前请求最终处理的服务模块,可为空
code:
type: string
description: 状态返回码,code=0,标识当前请求操作成功,其他code标识操作失败
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 全局链路标志,与请求头中的trace保持一致,便于定位问题
msgParams:
type: string
description: 返回状态描述中占位符参数串,多个参数间以,分割,用于处理状态描述中的变参信息,给用户友好的交互体验
data:
type: string
description: 响应结果体,存款唯一标志,15分钟有效期。
ok:
type: boolean
description: 操作是否成功,成功=true,失败=false
fail:
type: boolean
description: 操作是否失败,成功=false,失败=true
headers: {}
security: []
x-docstype: TS.Clientapi.Fund
x-docstitle: 资金接口
/global/fund.app.DepositAppDubboService.capitalTransfer:
post:
summary: 不同玩法之间相同币种资产资金划转
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.capitalTransfer
不同玩法之间相同资产资金划转
登录后方可访问
operationId: capitalTransfer
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CapitalTransferReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: &ref_14
$ref: '#/components/schemas/BaseResultAmountTransferVo'
headers: {}
security: []
/global/fund.app.DepositAppDubboService.capitalTransferForAgent:
post:
summary: 代理客户资产资金划转给被代理客户
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.capitalTransferForAgent
不同玩法之间相同资产资金划转
登录后方可访问
operationId: capitalTransfer
tags:
- 资金接口/客户存款接口
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: int64
description: 账户玩法,固定值7
toCustomerNo:
type: string
description: 划入客户编号
amount:
type: number
description: 滑动金额
currency:
type: string
description: 划出币种
required:
- tradeType
- toCustomerNo
- amount
- currency
example:
tradeType: 7
toCustomerNo: '86021560'
amount: 100
currency: HKD
responses:
'200':
description: ''
content:
application/json:
schema: *ref_14
headers: {}
security: []
/global/fund.app.DepositAppDubboService.capitalTransferRecord:
post:
summary: 查询资金划转记录
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.capitalTransferRecord
查询资金划转记录
登录后方可访问
operationId: capitalTransferRecord
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CapitalTransferRecordDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultCapitalTransferRecordResDto'
headers: {}
security: []
/global/fund.app.DepositAppDubboService.capitalTransferSupportDiffCurr:
post:
summary: 资产资金划转
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.capitalTransferSupportDiffCurr
资产资金划转
登录后方可访问
operationId: capitalTransferSupportDiffCurr
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CapitalTransferDiffCurrReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_14
headers: {}
security: []
/global/fund.app.DepositAppDubboService.createDepositProposal:
post:
summary: 创建存款提案
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.createDepositProposal
创建存款提案
登录后方可访问
operationId: createDepositProposal
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateCustomerDepositReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultCreateCustomerDepositRespDto'
headers: {}
security: []
/global/fund.app.DepositAppDubboService.getBindRechargeAddress:
post:
summary: 查询直充支付钱包地址
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.getBindRechargeAddress
查询直充支付钱包地址
登录后方可访问
operationId: getBindRechargeAddress
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema: *ref_15
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_16
headers: {}
security: []
/global/fund.app.DepositAppDubboService.getCryptoBlockchainInfo:
post:
summary: 获取直充支付通道支持币种信息
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.getDepositCoinList
获取直充支付通道支持币种信息
登录后方可访问
operationId: getCryptoBlockchainInfo
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CryptoBlockchainReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultCryptoBlockchainRespDto'
headers: {}
security: []
/global/fund.app.DepositAppDubboService.getDepositAccountCurrencyList:
post:
summary: 获取支付通道支持的账户币种信息列表
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.getDepositAccountCurrencyList
获取支付通道支持的账户币种信息列表
登录后方可访问
operationId: getDepositAccountCurrencyList
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryDepositAccountCurrencyListDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: >-
#/components/schemas/BaseResultSetDepositAccountCurrencyRespDto
headers: {}
security: []
/global/fund.app.DepositAppDubboService.getDepositAccountCurrencyListV2:
post:
summary: 查询支付通道支持的充值账户币种和链信息
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.getDepositAccountCurrencyListV2
查询支付通道支持的充值账户币种和链信息
登录后方可访问
operationId: getDepositAccountCurrencyListV2
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryDepositAccountCurrencyListV2Dto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: >-
#/components/schemas/BaseResultListDepositAccountCurrencyRespV2Dto
headers: {}
security: []
/global/fund.app.DepositAppDubboService.getDepositCoinList:
post:
summary: 获取客户支持的存款币种列表
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.getDepositCoinList
获取客户支持的存款币种列表
登录后方可访问
operationId: getDepositCoinList
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryDepositCoinListDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: &ref_21
$ref: '#/components/schemas/BaseResultSetString'
headers: {}
security: []
/global/fund.app.DepositAppDubboService.getDepositExchangeRate:
post:
summary: 获取存款货币对汇率
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.getDepositExchangeRate
获取存款货币对汇率
登录后方可访问
operationId: getDepositExchangeRate
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: true
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryCustomerDepositExchangeRateDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: >-
#/components/schemas/BaseResultQueryCustomerDepositExchangeRateDto
headers: {}
security: []
/global/fund.app.DepositAppDubboService.getPayChannels:
post:
summary: 获取支付通道信息
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.getPayChannels
获取支付通道信息
version=0.0.1时请求参数中accountCurrency和rechargeType会作为查询过滤条件
version=0.0.2时请求参数中accountCurrency会作为查询过滤条件
登录后方可访问
operationId: getPayChannels
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: true
example: '{{token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryCustomerPaymentChannelReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: &ref_17
$ref: >-
#/components/schemas/BaseResultListQueryCustomerPaymentChannelRespDto
headers: {}
security: []
/global/fund.app.DepositAppDubboService.getPayChannelsV2:
post:
summary: 获取支付通道信息不过滤账户币种和充值方式
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.getPayChannelsV2
获取支付通道信息不过滤账户币种和充值方式
accountCurrency和rechargeType不会作查询过滤条件
登录后方可访问
operationId: getPayChannelsV2
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryCustomerPaymentChannelReqV2Dto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_17
headers: {}
security: []
/global/fund.app.DepositAppDubboService.getPayChannelsV3:
post:
summary: 获取支付通道信息过滤账户币种和链名称
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.getPayChannelsV3
获取支付通道信息过滤账户币种和链名称
登录后方可访问
operationId: getPayChannelsV3
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryCustomerPaymentChannelReqV3Dto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: >-
#/components/schemas/BaseResultListQueryCustomerPaymentChannelRespV3Dto
headers: {}
security: []
/global/fund.app.DepositAppDubboService.getPayStatus:
post:
summary: 查询加密货币支付状态
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.getPayStatus
查询加密货币支付状态
登录后方可访问
operationId: getPayStatus
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: true
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryCoinPayStatusReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultQueryCoinPayStatusRespDto'
headers: {}
security: []
/global/fund.app.DepositAppDubboService.judgeIsAlreadyDeposit:
post:
summary: 判断用户是否已入金
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.judgeIsAlreadyDeposit
判断用户是否已入金
登录后方可访问
operationId: judgeIsAlreadyDeposit
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_13
headers: {}
security: []
/global/fund.app.DepositAppDubboService.manualLoan:
post:
summary: 手动借款
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.manualLoan
手动借款
登录后方可访问
operationId: manualLoan
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ManualLoanDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/fund.app.DepositAppDubboService.manualRepayment:
post:
summary: 手动还款
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.manualRepayment
手动还款
登录后方可访问
operationId: manualRepayment
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ManualRepaymentDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_8
headers: {}
security: []
/global/fund.app.DepositAppDubboService/queryDepositProposal:
post:
summary: 查询存款提案
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.queryDepositProposal
查询存款提案
登录后方可访问
operationId: queryDepositProposal
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryCustomerDepositProposalReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultCustomerDepositProposalDto'
headers: {}
security: []
/global/fund.app.DepositAppDubboService.queryPayChannelType:
post:
summary: 查询三方支付通道的支付类型
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.DepositAppDubboService.queryPayChannelType
查询三方支付通道的支付类型
登录后方可访问
operationId: queryPayChannelType
tags:
- 资金接口/客户存款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryPayChannelTypeDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultListFundPayChannelTypeDto'
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.computeWithdrawFee:
post:
summary: 获取取款手续费
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.computeWithdrawFee
获取取款(提现/提币)手续费
登录后方可访问
operationId: computeWithdrawFee
tags:
- 资金接口/客户取款接口
parameters: []
requestBody:
content:
application/json:
schema: &ref_18
$ref: '#/components/schemas/ComputeWithdrawReqDto'
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultComputeWithdrawFeeRespDto'
headers: {}
security: []
x-docstype: TS.Clientapi.Fund
x-docstitle: 资金接口
/global/fund.app.WithdrawAppDubboService.getWithdrawExchangeRate:
post:
summary: 获取取款货币对汇率
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.getWithdrawExchangeRate
获取取款货币对汇率
登录后方可访问
operationId: getWithdrawExchangeRate
tags:
- 资金接口/客户取款接口
parameters:
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema: &ref_52
$ref: '#/components/schemas/QueryCustomerWithdrawExchangeRateDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: >-
#/components/schemas/BaseResultQueryCustomerWithdrawExchangeRateDto
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.createWithdrawProposal:
post:
summary: 创建取款提案
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.createWithdrawProposal
创建取款(提现/提币)提案
登录后方可访问
operationId: createWithdrawProposal
tags:
- 资金接口/客户取款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
accountId:
type: integer
format: int64
description: 账户ID
tradeType:
type: integer
format: int64
customerGroupId:
type: integer
format: int64
description: 客户组id
country:
type: string
description: 国家
accountCurrency:
type: string
description: 账户货币(交易账号货币)
withdrawCurrency:
type: string
description: 取款货币(支付通道支持的货币)
amount:
type: number
description: 取款金额
withdrawCoinAmount:
type: number
description: 提币金额
withdrawRateSerialNo:
type: string
description: 取款费率流水号
rate:
type: number
description: 发送给平台CATS2使用的取款汇率
bankAccountName:
type: string
description: 银行卡持有者姓名
bankName:
type: string
description: 银行卡银行名称
bankCode:
type: string
description: 银行卡银行code
bankCardNo:
type: string
description: 银行卡号
remark:
type: string
description: 备注
withdrawType:
type: integer
format: int32
description: 取款类型WithdrawTypeEnum,提现:1(提款到银行卡)、提币:2(提数字币到数字钱包)
withdrawMethod:
type: string
description: >-
取款方式WithdrawMethodEnum,银行卡:bank、数字钱包:digit_wallet、skrill电子钱包:skrill_wallet、电汇:wire、OTC365:otc365
blockchainName:
type: string
description: 链名称,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
extend:
type: string
description: 扩展字段-手机号码等
fundPwd:
type: string
description: 资金密码字段,需要md5加密
googleCode:
type: string
description: 谷歌验证码
relationDepositProposalNo:
type: string
maxLength: 100
description: 关联入金提案号
required:
- customerGroupId
- tradeType
- withdrawMethod
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultCustomerWithdrawProposalDto'
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.getAccountMarginRate:
post:
summary: 获取开仓保证金总额/存款总额比例
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.getAccountMarginRate
获取开仓保证金总额/存款总额比例
登录后方可访问
operationId: getAccountMarginRate
tags:
- 资金接口/客户取款接口
parameters: []
requestBody:
content:
application/json:
schema: *ref_18
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultString'
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.getAllWithdrawCurrencyList:
post:
summary: 获取所有取款币种列表
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.getAllWithdrawCurrencyList
获取所有出金币种列表
登录后方可访问
operationId: getAllWithdrawCurrencyList
tags:
- 资金接口/客户取款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema: &ref_19
$ref: '#/components/schemas/WithdrawMethodQueryDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: &ref_20
$ref: >-
#/components/schemas/BaseResultListCustomerGroupWithdrawCurrencyConfigDto
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.getCoinWithdrawCurrencyList:
post:
summary: 获取客户钱包类出金币种链地址列表
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.getCoinWithdrawCurrencyList
获取客户钱包类出金币种链地址列表
登录后方可访问
operationId: getCoinWithdrawCurrencyList
tags:
- 资金接口/客户取款接口
parameters: []
requestBody:
content:
application/json:
schema: *ref_19
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_20
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.getWithdrawAccountCurrencyList:
post:
summary: 获取取款账户币种列表
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.getWithdrawAccountCurrencyList
获取取款账户币种列表
登录后方可访问
operationId: getWithdrawAccountCurrencyList
tags:
- 资金接口/客户取款接口
parameters: []
requestBody:
content:
application/json:
schema: &ref_22
$ref: '#/components/schemas/WithdrawCurrencyListReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_21
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.getWithdrawAmountLimitInfo:
post:
summary: 获取取款额度限制信息
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.getWithdrawAmountLimitInfo
获取取款额度限制信息
汇率转换后的结果
登录后方可访问
operationId: getWithdrawAmountLimitInfo
tags:
- 资金接口/客户取款接口
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/WithdrawAmountLimitReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultWithdrawAmountLimitRespDto'
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.getWithdrawCurrencyList:
post:
summary: 获取取款币种列表
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.getWithdrawCurrencyList
获取取款币种列表
登录后方可访问
operationId: getWithdrawCurrencyList
tags:
- 资金接口/客户取款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema: *ref_19
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_20
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.getWithdrawMethodList:
post:
summary: 获取取款方式
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.getWithdrawMethodList
获取取款方式
登录后方可访问
operationId: getWithdrawMethodList
tags:
- 资金接口/客户取款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema: *ref_19
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: &ref_23
$ref: '#/components/schemas/BaseResultListWithdrawMethodQueryDto'
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.getWithdrawTimesIn24Hour:
post:
summary: 获取24小时取款次数
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.getWithdrawTimesIn24Hour
获取取款方式
登录后方可访问
operationId: getWithdrawTimesIn24Hour
tags:
- 资金接口/客户取款接口
parameters: []
requestBody:
content:
application/json:
schema: *ref_18
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultInteger'
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.queryPayWithdrawBankList:
post:
summary: 查询第三方支付取款银行列表
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.queryPayWithdrawBankList
查询第三方支付取款银行列表
登录后方可访问
operationId: queryPayWithdrawBankList
tags:
- 资金接口/客户取款接口
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryWithdrawBankReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultJSONArray'
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.queryWithdrawLimitConfig:
post:
summary: 查询取款限制配置
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.queryWithdrawLimitConfig
查询取款限制配置
登录后方可访问
operationId: queryWithdrawLimitConfig
tags:
- 资金接口/客户取款接口
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryWithdrawLimitConfigReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultQueryWithdrawLimitConfigRespDto'
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.withdrawCurrencyList:
post:
summary: 查询取款货币和限制条件列表
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.withdrawCurrencyList
查询取款货币列表
登录后方可访问
operationId: withdrawCurrencyList
tags:
- 资金接口/客户取款接口
parameters: []
requestBody:
content:
application/json:
schema: *ref_22
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultWithdrawCurrencyResDto'
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.getCustomerGroupWithdrawMethodList:
post:
summary: 获取客户组取款方式
deprecated: false
description: >-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.getCustomerGroupWithdrawMethodList
获取客户组取款方式
登录后方可访问
operationId: getWithdrawMethodList
tags:
- 资金接口/客户取款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties: {}
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_23
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.queryCustomerGroupWithdrawRiskConfig:
post:
summary: 获取客户组取款风控配置
deprecated: false
description: >-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.queryCustomerGroupWithdrawRiskConfig
获取客户组取款风控配置
登录后方可访问
operationId: getWithdrawMethodList
tags:
- 资金接口/客户取款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 客户组id
withdrawMethod:
type: string
description: 取款方式
required:
- customerGroupId
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: 'null'
data:
type: object
properties:
withdrawTimeConfigList:
type: array
items:
type: object
properties:
withdrawMethod:
type: string
weekDay:
type: integer
description: 星期
companyTimezone:
type: string
description: UTC
openTime:
type: string
description: 取款时间
status:
type: 'null'
required:
- withdrawMethod
- weekDay
- companyTimezone
- openTime
- status
description: 通道取款时间
withdrawAmountConfigList:
type: array
items:
type: object
properties:
singleCheckLowAmount:
type: integer
description: 人工审核单笔最低取款金额
accountCurrency:
type: 'null'
description: 账户币种
blockchainName:
type: string
description: 链
withdrawMethod:
type: string
singleHighAmount:
type: integer
description: 单笔最大取款金额
maxIn24hourAmount:
type: integer
description: 24小时累计最高
withdrawCurrency:
type: string
description: 取款币种
singleLowAmount:
type: number
description: 单笔最低取款金额
status:
type: 'null'
required:
- withdrawMethod
- singleHighAmount
- maxIn24hourAmount
- withdrawCurrency
- singleLowAmount
- status
description: 通道取款金额设置
enableWithdraw:
type: boolean
description: 是否允许取款,true:允许,false:不允许
withdrawConditionConfig:
type: object
properties:
maxCount:
type: integer
description: 24小时取款次数
mustActive:
type: boolean
description: 是否必须激活
modifyLoginDisableWithdrawIntervals:
type: integer
description: 更改手机/邮箱后不可取款时间
modifyPwdDisableWithdrawIntervals:
type: integer
description: 修改密码后不可取款时间
status:
type: 'null'
required:
- maxCount
- mustActive
- modifyLoginDisableWithdrawIntervals
- modifyPwdDisableWithdrawIntervals
- status
description: 通道取款条件
withdrawRiskConfig:
type: object
properties:
customerGroupId:
type: integer
firstSetLoginPwdDisableWithdrawIntervals:
type: integer
description: 首次设置登录密码后不可取款时间
updateTime:
type: integer
description: 修改时间
maxCount:
type: integer
description: 24小时最大取款次数
firstSetFundPwdDisableWithdrawIntervals:
type: integer
description: 首次设置资金密码后不可取款时间
newAddressDisableIntervals:
type: integer
description: 新添加的提现地址禁用时间
mustActive:
type: boolean
description: 是否必须激活,true:是,false:否
modifyLoginDisableWithdrawIntervals:
type: integer
description: 更改手机/邮箱后不可取款时间:小时
modifyPwdDisableWithdrawIntervals:
type: integer
description: 修改密码后不可取款时间
status:
type: integer
description: 状态1,代表后台启用
description: 客户组取款风控
withdrawFeeConfigList:
type: 'null'
description: 通道取款手续费
required:
- withdrawFeeConfigList
ok:
type: boolean
fail:
type: boolean
class:
type: string
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-1s331-3wq3-xxhig-98yvi37-1682325786
code: '0'
data:
withdrawTimeConfigList: null
hourIn24Enable: null
trace: null
withdrawAmountConfigList: null
updateBy: null
customerId: null
enableWithdraw: null
withdrawConditionConfig: null
id: null
lang: null
class: >-
com.cats.fund.api.dto.app.QueryWithdrawRiskLimitConfigRespDto
tradeType: null
customerGroupEnable: null
amountEnable: null
ip: null
updateTime: null
withdrawRiskConfig:
customerGroupId: 1
firstSetLoginPwdDisableWithdrawIntervals: 60
ip: null
updateTime: 1682325006727
maxCount: 10
revision: 15
accountId: null
firstSetFundPwdDisableWithdrawIntervals: 240
createBy: admin
companyId: 1
trace: null
newAddressDisableIntervals: 60
mustActive: true
modifyLoginDisableWithdrawIntervals: 0
createTime: 1681867998763
updateBy: admin
modifyPwdDisableWithdrawIntervals: 360
customerId: null
id: 334
lang: null
class: com.cats.fund.api.dto.app.WithdrawRiskConfigDto
tradeType: null
customerNo: null
status: 1
accountActiveEnable: null
revision: null
accountId: null
createBy: null
companyId: null
createTime: null
timeEnable: null
withdrawFeeConfigList: null
customerNo: null
status: null
bizCode: ''
tm: 15
msgParams: null
ok: true
class: com.cats.common.core.base.vo.BaseResult
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.checkWithdrawRiskLimitConfig:
post:
summary: 检查客户的取款限制条件
deprecated: false
description: >-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.checkWithdrawRiskLimitConfig
检查客户的取款限制条件
登录后方可访问
code ( "51021", "客户组取款配置,不允许取款"),
code ( "51011", "客户组取款配置,账户必须激活才可取款"),
code ("51012", "当前时间不允许取款"),
code ("51025", "修改密码后{0}分钟内不允许取款"),
code ("51026", "修改手机或邮箱后{0}分钟内不允许取款"),
code ("51037", "修改资金密码后{0}分钟内不允许取款"),
code ("51016", "超过24小时内最大取款次数"),
```以下提示信息中的占位符“%s”,取值为响应结果中的msgParams,多个以","拼接```
USCUSTOMER_API_0001006=1. 非常抱歉,设置登录密码后%s小时内禁止提现,您可以稍后再进行提现操作;\n2.
如果您有任何疑问或需要帮助,请联系在线客服。
USCUSTOMER_API_0001007=1. 非常抱歉,设置资金密码后%s小时内禁止提现,您可以稍后再进行提现操作;\n2.
如果您有任何疑问或需要帮助,请联系在线客服。
USCUSTOMER_API_0001008=1. 非常抱歉,修改登录密码后%s小时内禁止提现,您可以稍后再进行提现操作;\n2.
如果您有任何疑问或需要帮助,请联系在线客服。
USCUSTOMER_API_0001009=1. 非常抱歉,重置登录密码后%s小时内禁止提现,您可以稍后再进行提现操作;\n2.
如果您有任何疑问或需要帮助,请联系在线客服。
USCUSTOMER_API_0001010=1. 非常抱歉,修改资金密码后%s小时内禁止提现,您可以稍后再进行提现操作;\n2.
如果您有任何疑问或需要帮助,请联系在线客服。
USCUSTOMER_API_0001011=1. 非常抱歉,重置资金密码后%s小时内禁止提现,您可以稍后再进行提现操作;\n2.
如果您有任何疑问或需要帮助,请联系在线客服。
USCUSTOMER_API_0001012=1. 非常抱歉,更换邮箱后%s小时内禁止提现,您可以稍后再进行提现操作;\n2.
如果您有任何疑问或需要帮助,请联系在线客服。
USCUSTOMER_API_0001013=1. 非常抱歉,更换手机后%s小时内禁止提现,您可以稍后再进行提现操作;\n2.
如果您有任何疑问或需要帮助,请联系在线客服。
USCUSTOMER_API_0001014=1. 非常抱歉,新增的提现地址%s小时内禁止提现,您可以稍后再进行提现操作;\n2.
如果您有任何疑问或需要帮助,请联系在线客服。
USCUSTOMER_API_0001016=当前提现地址不存在,请核对数据
operationId: queryWithdrawLimitConfig
tags:
- 资金接口/客户取款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: int64
accountCurrency:
type: string
description: 账户货币编码
withdrawCurrency:
type: string
description: 客户收款货币编码
withdrawMethod:
type: string
description: 取款方式,银行卡:bank,数字钱包:digit_wallet
withdrawType:
type: integer
format: int32
description: 取款类型,银行卡:1,数字钱包:2
blockchainName:
type: string
description: >-
witdrawType为2时必填,链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
required:
- tradeType
- accountCurrency
- withdrawCurrency
- withdrawType
- withdrawMethod
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: boolean
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/fund.app.WithdrawAppDubboService.queryRemainWithdrawAmount:
post:
summary: 获取取款方式+币+链的剩余提现金额
deprecated: false
description: |-
version: 0.0.1
bizType=fund.app.WithdrawAppDubboService.queryRemainWithdrawAmount
获取方式+币+链的剩余提现金额
登录后方可访问
operationId: queryWithdrawLimitConfig
tags:
- 资金接口/客户取款接口
parameters:
- name: version
in: header
description: ''
required: true
example: 0.0.1
schema:
type: string
- name: companyId
in: header
description: ''
required: true
example: '{{company}}'
schema:
type: string
- name: trace
in: header
description: ''
required: true
example: '{{mock_trace}}'
schema:
type: string
- name: lang
in: header
description: ''
required: true
example: zh-CN
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QueryRemainWithdrawAmountReqDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: >-
#/components/schemas/BaseResultQueryRemainWithdrawAmountRespDto
headers: {}
security: []
/global/tradeapi.app.CfdMMOrderApiService.addMarketOrder:
post:
summary: 下单
deprecated: false
description: |
说明:合约全仓交易下单
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.addMarketOrder
```
tags:
- 交易接口/全仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 玩法ID,本玩法下应填1
format: long
accountId:
type: integer
title: 账户ID
description: 账户ID,非必填。如填,已该账户进行交易
format: long
bizType:
type: integer
title: 业务类型
description: 业务类型,1-市价开;2-市价平;10-限价预埋单;11-停损预埋单;12-限价开
format: int32
direction:
type: integer
title: 订单买卖方向
description: 订单买卖方向,1-买;2-卖;
format: int32
symbolId:
type: integer
title: 产品ID
format: long
description: 产品ID,产品ID
positionId:
type: integer
title: 仓位ID
description: 仓位ID,平仓下单时,必填
format: long
requestTime:
type: integer
title: 下单请求时间
description: 下单请求时间,13位时间戳
format: long
requestPrice:
type: string
title: 下单时价格
description: 下单时价格,需乘以10的`产品报价小数位`次方,处理为整数传入。仅作下单记录,非成交价格。
requestNum:
type: string
title: 下单手数
description: 下单手数
stopLoss:
type: string
title: 止损单价
description: 止损单价,需乘以10的`产品报价小数位`次方,处理为整数传入。
takeProfit:
type: string
title: 止盈单价
description: 止盈单价,需乘以10的`产品报价小数位`次方,处理为整数传入。
expireType:
type: integer
title: 过期类型
description: 过期类型,仅预埋单有效。1-当日有效;2-当周有效;3-30天;4-90天;默认2
format: int32
remark:
type: string
title: 备注
description: 备注
accountCurrency:
type: string
title: 账户货币
description: 账户货币
accountDigits:
type: integer
title: 账户小数位
format: int32
description: 账户小数位
crossLevelNum:
type: integer
title: 杠杆倍数
format: int32
description: 杠杆倍数,仅开仓有效,同个产品应仅有一个杠杆倍数
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(限制最高255字符,枚举仅供参考,只能使用字母、数字、下划线)
thirdPartyOrder:
type: string
title: 三方订单标识
description: (限制最高255字符,只能使用字母、数字、下划线)
slippage:
type: string
title: 交易滑点
description: >-
仅市价单有效。可为百分比(仅支持2位小数,超出部分按四舍五入处理)也可以时浮点型仅支持4位小数,超出部分按四舍五入处理)。其他格式不支持。
required:
- tradeType
- bizType
- direction
- symbolId
- requestTime
- requestPrice
- requestNum
- accountCurrency
- accountDigits
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
description: 响应是否成功
fail:
type: boolean
description: 响应是否失败
data:
type: object
properties:
orderId:
type: integer
title: 订单号
format: long
description: 订单号
positionId:
type: integer
title: 持仓单号
format: long
description: 持仓单号
tradeVolume:
type: string
title: 交易手数
description: 交易手数
openPrice:
type: string
title: 开仓价
description: 开仓价
executePrice:
type: string
title: 成交价
description: 成交价
openDirection:
type: integer
title: 开仓时买卖方向
description: 开仓时买卖方向,1-买;2-卖;
format: int32
direction:
type: integer
title: 本次下单买卖方向
description: 本次下单买卖方向,1-买;2-卖;
format: int32
openOrClose:
type: integer
title: 本次下单开平类型
description: 本次下单开平类型,1-开仓;2-平仓;
format: int32
symbolName:
type: string
title: 产品名称
description: 产品名称
symbolId:
type: integer
title: 产品Id
format: long
description: 产品Id
stopLoss:
type: string
title: 止损价
description: 止损价,与入参一致
takeProfit:
type: string
title: 止盈价
description: 止盈价,与入参一致
digits:
type: integer
title: 产品小数位
format: int32
description: 产品小数位
fee:
type: string
title: 下单手续费
description: 下单手续费
interest:
type: string
title: 利息
description: 利息,仅平仓是存在
profit:
type: string
title: 盈亏
description: 盈亏,仅平仓是存在
title: 数据体
description: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-dqxq8-qu20y7y-dq58lhn-39i483-1677570581
code: '0'
data:
tradeVolume: '0.1'
symbolId: 720
orderId: 14460002
fee: '-0.0668'
openOrClose: 1
openPrice: '22.25'
takeProfit: '0'
positionId: 2023022819810
interest: '0'
openDirection: 1
stopLoss: '0'
executePrice: '22.25'
digits: 2
symbolName: BINAN_SOL_USDT
profit: '0'
direction: 1
bizCode: ''
tm: 162
msgParams: null
ok: true
headers: {}
security: []
x-docstype: TS.Clientapi.Trade
x-docstitle: 交易接口
/global/tradeapi.app.CfdMMOrderApiService.updateOrder:
post:
summary: 设置仓位止损止盈
deprecated: false
description: |-
说明:设置仓位止损止盈
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.updateOrder
```
tags:
- 交易接口/全仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填1
format: long
accountId:
type: integer
title: 账户ID
format: long
description: 账户ID,必须与账户货币二者填其一
accountCurrency:
type: string
title: 账户货币
description: 账户货币,必须与账户ID二者填其一
orderId:
type: integer
title: 订单ID
format: long
description: 订单ID
positionId:
type: integer
title: 仓位ID
format: long
description: 仓位ID
accountDigits:
type: integer
title: 账户小数位
format: long
description: 账户小数位
stopLoss:
type: string
title: 止损单价
description: 止损单价,需乘以10的`产品报价小数位`次方,处理为整数传入。
takeProfit:
type: string
title: 止盈单价
description: 止盈单价,需乘以10的`产品报价小数位`次方,处理为整数传入。
remark:
type: string
title: 备注
description: 备注
required:
- tradeType
- orderId
- positionId
- accountDigits
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
positionId:
type: integer
title: 仓位ID
format: long
orderId:
type: integer
title: 订单ID
format: long
dealId:
type: integer
title: 成交单ID
format: long
status:
type: string
title: 仓位状态
description: 0-初始化;1-持仓中;2-已完成;3-部分平仓;
direction:
type: integer
format: int32
title: 买卖方向
description: 1-买;2-卖;
symbolId:
type: integer
title: 产品ID
format: long
symbolName:
type: string
title: 产品名称
openAccountDigits:
type: integer
title: 开仓账户小数位
format: int32
openSymbolDigits:
type: integer
format: int32
title: 开仓产品小数位
openContractSize:
type: integer
format: int32
title: 合约大小
openPrice:
type: string
title: 开仓单价
openNum:
type: string
title: 开仓数量
closeAccountDigits:
type: integer
title: 平仓账户小数位
format: int32
closeSymbolDigits:
type: integer
title: 平仓产品小数位
format: int32
closePrice:
type: string
title: 平仓单价
closeFreeDigits:
type: string
title: 平仓手续费小数位
profit:
type: string
title: 盈亏
openMargin:
type: string
title: 开仓占用保证金
stopLoss:
type: string
title: 止损单价
description: 原始登记值,未处理
takeProfit:
type: string
title: 止盈单价
description: 原始登记值,未处理
remark:
type: string
title: 备注
margin:
type: string
title: 实时占用保证金
openTime:
type: integer
format: long
title: 开仓时间
description: 13位时间戳
closeTime:
type: integer
format: long
title: 平仓时间
description: 13位时间戳
openFee:
type: string
title: 开仓手续费
closeFee:
type: string
title: 平仓手续费
closeNum:
type: string
title: 平仓数量
openVolume:
type: string
title: 开仓手数
closeVolume:
type: string
title: 平仓手数
minVolume:
type: string
title: 单边最小手数
volume:
type: string
title: 手数
marginSetType:
type: string
title: 保证金类型
description: 1-比例;2-范围;
examples:
'1':
summary: 异常示例
value:
msg: Account balance is 0
fail: true
trace: x-0ei175a-x4dh9u2-1g8s95r-m2708212-1677570735
code: E000031
data: tradeapi.app.OrderApiService.updateOrder
bizCode: CFD
tm: 7
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.OrderApiService.queryOrderPage:
post:
summary: 订单列表
deprecated: false
description: |-
说明:查看订单列表
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryOrderPage
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 玩法ID,本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
description: 账户ID
format: long
accountCurrency:
type: string
title: 账户货币
description: 账户货币
bizType:
type: integer
title: 业务类型
description: >-
业务类型,1-市价开;2-市价平;3-止损平仓单;4-止盈平仓单;5-爆仓强平单;6-到期平仓单;7-销户平仓单;8-手动强平单;9-延时订单;10-限价预埋单;11-停损预埋单;13-撮合限价开仓单;14-撮合限价平仓单
format: int32
direction:
type: integer
title: 订单买卖方向
description: 订单买卖方向,1-买;2-卖;
format: int32
status:
type: integer
title: 订单状态
description: 订单状态,1-收到订单;2-订单成交;3-订单部分成交;4-订单取消;5-订单部分取消;6-订单拒绝;7-订单过期;
format: long
symbolId:
type: integer
title: 产品ID
format: int32
description: 产品ID
orderIds:
type: string
title: 订单ID串
description: 订单ID串,多个订单ID间以,分割
positionId:
type: integer
title: 仓位id
format: long
description: 仓位id
size:
type: integer
format: long
title: 每页条数
description: 每页条数,默认20
current:
type: integer
title: 当前页码
description: 当前页码
querySource:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
current:
type: integer
title: 当前页码
format: int32
size:
type: integer
title: 每页数据量
format: int32
total:
type: integer
title: 数据总数
format: int32
records:
type: array
items:
type: object
properties:
id:
type: integer
title: 主键
format: long
dealId:
type: integer
title: 成交单id
format: long
bizType:
type: integer
title: 订单业务类型
description: >-
1-市价开;2-市价平;3-止损平仓单;4-止盈平仓单;5-爆仓强平单;6-到期平仓单;7-销户平仓单;8-手动强平单;9-延时订单;10-限价预埋单;11-停损预埋单;
format: int32
direction:
type: integer
title: 订单买卖方向
description: 1-买;2-卖;
format: int32
status:
type: integer
title: 订单状态
description: >-
1-收到订单;2-订单成交;3-订单部分成交;4-订单取消;5-订单部分取消;6-订单拒绝;7-订单过期;
format: int32
customerGroupId:
type: integer
title: 客户组ID
format: long
symbolId:
type: integer
title: 产品ID
format: long
digits:
type: integer
title: 产品小数位
format: long
symbolName:
type: string
title: 产品名称
requestPrice:
type: string
title: 请求价格
description: '*'
requestNum:
type: string
title: 请求数量
description: '*'
contractSize:
type: integer
title: 产品合约大小
format: int32
executePrice:
type: string
title: 成交价
description: '*'
requestTime:
type: integer
title: 请求时间
description: 13位时间戳
format: long
executeTime:
type: integer
title: 成交时间
description: 13位时间戳
format: long
fee:
type: string
title: 成交手续费
description: '*'
executeMargin:
type: integer
title: 执行保证金
description: '*'
format: int32
accountDigits:
type: integer
title: 账户小数位
format: int32
executeNum:
type: string
title: 已成交数量
cancelNum:
type: string
title: 已取消数量
positionId:
type: integer
title: 仓位ID
format: long
stopLoss:
type: string
title: 止损单价
description: '*'
takeProfit:
type: string
title: 止盈单价
description: '*'
remark:
type: string
title: 备注
createTime:
type: integer
title: 创建时间
description: 13位时间戳
format: long
updateTime:
type: integer
title: 最后更新时间
description: 13位时间戳
format: long
seq:
type: integer
title: 报价序号
format: long
interest:
type: integer
title: 持仓利息
format: long
pnl:
type: integer
title: 盈亏
format: long
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
title: 订单集合
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-11w38izu-238ws9-maphaym-1f261yz-1677573205
code: '0'
data: []
bizCode: ''
tm: 7
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-6c5e5-162tc21-ri3151-6m634-1677573324
code: '500'
data: tradeapi.app.OrderApiService.queryOrderPage
bizCode: TA
tm: 0
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.CfdMMOrderApiService.queryHistoryCloseOrderList:
post:
summary: 平仓记录
deprecated: false
description: |-
说明:查询历史平仓记录
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryHistoryCloseOrderList
```
tags:
- 交易接口/全仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填1
format: long
accountId:
type: integer
title: 账户ID
format: long
sortFieldName:
type: string
title: 排序字段名
description: >-
pnl-利润;openTime-开仓时间;closeTime-平仓时间;orderId-订单id;symbolId-产品id;
sortType:
type: string
title: 排序类型
description: desc-降序;asc-升序;
symbolId:
type: integer
title: 产品ID
format: long
openStartTime:
type: integer
title: 开仓起始时间
description: 13位时间戳
format: long
openEndTime:
type: integer
title: 开仓结束时间
description: 13位时间戳
format: long
closeStartTime:
type: integer
title: 平仓起始时间
description: 13位时间戳
format: long
closeEndTime:
type: integer
title: 平仓结束时间
description: 13位时间戳
format: long
current:
type: integer
title: 页码
description: 默认1
format: int32
size:
type: integer
title: 每页数据量
description: 默认20
format: int32
querySource:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
required:
- tradeType
- sortFieldName
- sortType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
current:
type: integer
title: 当前页码
format: int32
totalPnl:
type: number
title: 总利润
format: double
size:
type: integer
title: 每页数据量
format: int32
totalPage:
type: integer
title: 总页数
format: int32
list:
type: array
items:
type: object
properties:
symbolId:
type: integer
format: long
title: 产品id
bizType:
type: integer
format: int32
title: 平仓类型
description: >-
2-市价平;3-止损平仓;4-止盈平仓;5-爆仓强平;6-产品到期强平;7-销户平仓;8-手动强平;
orderId:
type: integer
format: long
title: 订单id
openVolume:
type: string
title: 开仓手数
openPrice:
type: string
title: 开仓价
closeVolume:
type: string
title: 平仓手数
closePrice:
type: string
title: 平仓价
takeProfit:
type: string
title: 止盈价
description: 没设置则显示-
stopLoss:
type: string
title: 止损价
description: 没设置则显示-
closeTime:
type: integer
title: 平仓时间
format: long
description: 13位时间戳
commission:
type: string
title: 手续费
symbolName:
type: string
title: 产品名称
openTime:
type: integer
format: long
title: 开仓时间
description: 13位时间戳
profit:
type: string
title: 利润
interest:
type: string
title: 持仓利息
openDirection:
type: integer
title: 开仓方向
description: 1-买;2-卖;
format: int32
closeDirection:
type: integer
format: int32
description: 1-买;2-卖;
title: 平仓方向
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
title: 平仓列表集合
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-77q3ivej-u4wi1d3a-5pbl5v-ypwj0-1677573497
code: '0'
data:
accountId: null
trace: x-77q3ivej-u4wi1d3a-5pbl5v-ypwj0-1677573497
companyId: 360
current: 1
size: 20
totalPage: 0
ip: 47.242.92.158
customerId: 1176
list: []
lang: en-US
totalPnl: 0
customerNo: '86001175'
bizCode: ''
tm: 6
msgParams: null
ok: true
'2':
summary: 异常示例_sortType非desc,asc 值
value:
msg: Only allow sequential or reverse sorting
fail: true
trace: x-4zhomd-v593q7m-vh94y-5e815-1677573516
code: E000014
data: tradeapi.app.OrderApiService.queryHistoryCloseOrderList
bizCode: CFD
tm: 13
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.OrderApiService.queryTradeRecordPage:
post:
summary: 查询成交记录列表
deprecated: false
description: |-
说明:查询成交记录列表
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.SpotOrderApiService.queryTradeRecordPage
```
operationId: queryTradeRecordPage
tags:
- 交易接口/现货交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SpotQueryOrderRecordPageDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultSpotTradeRecordVo'
headers: {}
security: []
/global/tradeapi.app.CfdMMOrderApiService.setCrossLevelNum:
post:
summary: 设置杠杆倍数
deprecated: false
description: |-
说明:合约-全仓玩法,设置客户对产品的杠杆倍数,影响该产品所以仓位
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.setCrossLevelNum
```
tags:
- 交易接口/全仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填1
format: long
companyId:
type: integer
title: 公司ID
format: long
customerId:
type: integer
title: 客户ID
format: long
customerNo:
type: string
title: 客户编号
customerGroupId:
type: integer
title: 客户组Id
format: long
symbolId:
type: integer
title: 产品ID
format: long
requestTime:
type: integer
title: 杠杆倍数
format: int32
trace:
type: string
title: 追踪码
required:
- tradeType
- customerId
- customerNo
- customerGroupId
- requestTime
- companyId
- symbolId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
crossLevelNum:
type: integer
title: 杠杆倍数
format: int32
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-6s8tc-2v65-i8270878-1727-1677574098
code: '0'
data:
crossLevelNum: 11
bizCode: ''
tm: 17
msgParams: null
ok: true
headers: {}
security: []
/global/tradeapi.app.CfdMMOrderApiService.calculateMarketOrder:
post:
summary: 下单试算
deprecated: false
description: |-
说明:试算下单保证金、手续费
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.calculateMarketOrder
```
tags:
- 交易接口/全仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填1
format: long
accountId:
type: integer
title: 账户ID
description: 非必填。如填,已该账户进行交易
format: long
bizType:
type: integer
title: 业务类型
description: 1-市价开;2-市价平;10-限价预埋单;11-停损预埋单;12-限价开
format: int32
direction:
type: integer
title: 订单买卖方向
description: 1-买;2-卖;
format: int32
symbolId:
type: integer
title: 产品ID
format: long
positionId:
type: integer
title: 仓位ID
description: 平仓下单时,必填
format: long
requestTime:
type: integer
title: 下单请求时间
description: 13位时间戳
format: long
requestPrice:
type: string
title: 下单时价格
description: 仅作下单记录,非成交价格*
requestNum:
type: string
title: 下单手数
expireType:
type: integer
title: 过期类型
description: 仅预埋单有效。1-当日有效;2-当周有效;
format: int32
remark:
type: string
title: 备注
accountCurrency:
type: string
title: 账户货币
accountDigits:
type: integer
title: 账户小数位
format: int32
crossLevelNum:
type: integer
title: 杠杆倍数
format: int32
description: 仅开仓有效,同个产品应仅有一个杠杆倍数
required:
- tradeType
- bizType
- direction
- symbolId
- requestTime
- requestPrice
- requestNum
- accountCurrency
- accountDigits
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
fee:
type: string
title: 手续费
margin:
type: string
title: 保证金
calculatePrice:
type: string
title: 计算价格
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-7rf727-m64d8ar-72dn4ij-23o3vt-1677574738
code: '0'
data:
margin: '10000.6584'
calculatePrice: '136.719'
fee: '0.0000'
bizCode: ''
tm: 31
msgParams: null
ok: true
headers: {}
security: []
/global/tradeapi.app.CfdMMPositionApiService.queryPositionDetail:
post:
summary: 持仓详情
deprecated: false
description: |-
说明:查询持仓详情
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.PositionApiService.queryPositionDetail
```
tags:
- 交易接口/全仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填1
format: long
accountId:
type: integer
title: 账户ID
format: long
positionId:
type: integer
title: 仓位id
format: long
required:
- tradeType
- positionId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
positionId:
type: integer
title: 仓位ID
format: long
orderId:
type: integer
title: 订单ID
format: long
dealId:
type: integer
title: 成交单ID
format: long
status:
type: string
title: 仓位状态
description: 0-初始化;1-持仓中;2-已完成;3-部分平仓;
direction:
type: integer
format: int32
title: 买卖方向
description: 1-买;2-卖;
symbolId:
type: integer
title: 产品ID
format: long
symbolName:
type: string
title: 产品名称
openAccountDigits:
type: integer
title: 开仓账户小数位
format: int32
openSymbolDigits:
type: integer
format: int32
title: 开仓产品小数位
openContractSize:
type: integer
format: int32
title: 合约大小
openPrice:
type: string
title: 开仓单价
openNum:
type: string
title: 开仓数量
closeAccountDigits:
type: integer
title: 平仓账户小数位
format: int32
closeSymbolDigits:
type: integer
title: 平仓产品小数位
format: int32
closePrice:
type: string
title: 平仓单价
closeFreeDigits:
type: string
title: 平仓手续费小数位
profit:
type: string
title: 盈亏
openMargin:
type: string
title: 开仓占用保证金
stopLoss:
type: string
title: 止损单价
description: 原始登记值,未处理
takeProfit:
type: string
title: 止盈单价
description: 原始登记值,未处理
remark:
type: string
title: 备注
margin:
type: string
title: 实时占用保证金
openTime:
type: integer
format: long
title: 开仓时间
description: 13位时间戳
closeTime:
type: integer
format: long
title: 平仓时间
description: 13位时间戳
openFee:
type: string
title: 开仓手续费
closeFee:
type: string
title: 平仓手续费
closeNum:
type: string
title: 平仓数量
openVolume:
type: string
title: 开仓手数
closeVolume:
type: string
title: 平仓手数
minVolume:
type: string
title: 单边最小手数
stopLossDecimal:
type: string
title: 止损单价
description: '`stopLoss`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
takeProfitDecimal:
type: string
title: 止盈单价
description: '`takeProfit`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
volume:
type: string
title: 手数
marginSetType:
type: string
title: 保证金类型
description: 1-比例;2-范围;
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-11wdkt-kg9i-ld2y-53mz854-1677571927
code: '0'
data:
symbolId: 720
orderId: 14460003
dealId: 94870543
canReduceMargin: '0.0000'
openPrice: '22.18'
remark: null
takeProfitDecimal: '0.00'
closeNum: 0
closeFee: '0.0000'
takeProfit: '0'
occupyTheMargin: '0.0000'
interest: '0.0000'
maintenanceMargin: '0.0000'
closeVolume: 0
openVolume: 0.1
closeTime: 0
closeAccountDigits: 4
symbolName: BINAN_SOL_USDT
openTime: 1677571033093
profit: null
tradeType: 1
direction: 1
singleMargin: null
margin: null
openContractSize: 1
resp: null
openMargin: '0.2209'
openNum: 0.1
openFee: '0.0665'
closeSymbolDigits: 2
warningMargin: '0.0000'
stopLossDecimal: '0.00'
adjustCrossLevel: 1-100
openSymbolDigits: 2
volume: 0.1
accountId: 1031767
companyId: 360
positionId: 2023022819827
closeFreeDigits: null
stopLoss: '0'
minVolume: null
marginSetType: '2'
crossLevelNum: 10
openAccountDigits: 4
closePrice: '0.0000'
status: '1'
bizCode: C
tm: 27
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: Close position fail
fail: true
trace: x-pw16m-so77fl71-x21ucw-sh0wz4-1677571968
code: '30001'
data: tradeapi.app.PositionApiService.queryPositionDetail
bizCode: C
tm: 93
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.PositionApiService.queryPositionPage:
post:
summary: 持仓列表
deprecated: false
description: |-
说明:查询持仓列表
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.PositionApiService.queryPositionPage
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
description: 账户id
format: long
accountCurrency:
type: string
title: 账户货币
description: 账户币种
status:
type: integer
format: int32
title: 仓位状态
description: 1-持仓中;3-部分平仓;
orderId:
type: integer
title: 订单ID
format: long
description: 订单id
dealId:
type: integer
format: long
title: 成交单ID
description: 成交id
symbolId:
type: integer
format: long
title: 产品ID
description: 产品id
startTime:
type: integer
title: 开始时间
format: long
description: 13位时间戳
endTime:
type: integer
format: long
title: 结束时间
description: 13位时间戳
sortFieldName:
type: string
title: 排序字段名
description: orderId-订单Id;openTime-执行时间;symbolId-产品Id;pnl-盈亏;
sortType:
type: string
title: 排序方式
description: asc-升序;desc-降序;(默认desc)
size:
type: integer
title: 每页条数
description: 默认20
format: long
current:
type: integer
title: 当前页
description: 默认1
format: long
querySource:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: array
items:
type: object
properties:
positionId:
type: integer
title: 仓位ID
format: long
orderId:
type: integer
title: 订单ID
format: long
dealId:
type: integer
title: 成交单ID
format: long
status:
type: string
title: 仓位状态
description: 0-初始化;1-持仓中;2-已完成;3-部分平仓;
direction:
type: integer
format: int32
title: 买卖方向
description: 1-买;2-卖;
symbolId:
type: integer
title: 产品ID
format: long
symbolName:
type: string
title: 产品名称
openAccountDigits:
type: integer
title: 开仓账户小数位
format: int32
openSymbolDigits:
type: integer
format: int32
title: 开仓产品小数位
openContractSize:
type: integer
format: int32
title: 合约大小
openPrice:
type: string
title: 开仓单价
openNum:
type: string
title: 开仓数量
closeAccountDigits:
type: integer
title: 平仓账户小数位
format: int32
closeSymbolDigits:
type: integer
title: 平仓产品小数位
format: int32
closePrice:
type: string
title: 平仓单价
closeFreeDigits:
type: string
title: 平仓手续费小数位
profit:
type: string
title: 盈亏
openMargin:
type: string
title: 开仓占用保证金
stopLoss:
type: string
title: 止损单价
description: 原始登记值,未处理
takeProfit:
type: string
title: 止盈单价
description: 原始登记值,未处理
remark:
type: string
title: 备注
margin:
type: string
title: 实时占用保证金
openTime:
type: integer
format: long
title: 开仓时间
description: 13位时间戳
closeTime:
type: integer
format: long
title: 平仓时间
description: 13位时间戳
openFee:
type: string
title: 开仓手续费
closeFee:
type: string
title: 平仓手续费
closeNum:
type: string
title: 平仓数量
description: '*'
openVolume:
type: string
title: 开仓手数
description: '*'
closeVolume:
type: string
title: 平仓手数
description: '*'
minVolume:
type: string
title: 单边最小手数
description: '*'
stopLossDecimal:
type: string
title: 止损单价
description: '`stopLoss`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
takeProfitDecimal:
type: string
title: 止盈单价
description: '`takeProfit`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
volume:
type: string
title: 手数
marginSetType:
type: string
title: 保证金类型
description: 1-比例;2-范围;
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-6d6k11o7-00ve031-d863o8-4hk417e-1677572056
code: '0'
data:
- symbolId: 967
orderId: 24153319
dealId: 13394059
canReduceMargin: '0.0000'
openPrice: '7.05'
remark: null
takeProfitDecimal: '0.00'
closeNum: 0
closeFee: '0.0000'
takeProfit: '0'
occupyTheMargin: '0.0000'
interest: '0.0000'
maintenanceMargin: '0.0000'
closeVolume: 0
openVolume: 1
closeTime: 0
closeAccountDigits: 4
symbolName: AXS/USDT_PRD
openTime: 1672023552024
profit: null
tradeType: 1
direction: 1
singleMargin: null
margin: null
openContractSize: 1
resp: null
openMargin: '0.3480'
openNum: 1
openFee: '0.3525'
closeSymbolDigits: 2
warningMargin: '0.0000'
stopLossDecimal: '0.00'
adjustCrossLevel: 1-100
openSymbolDigits: 2
volume: 1
accountId: 1031767
companyId: 360
positionId: 2022122620993
closeFreeDigits: null
stopLoss: '0'
minVolume: null
marginSetType: '2'
crossLevelNum: 20
openAccountDigits: 4
closePrice: '0.0000'
status: '1'
bizCode: C
tm: 21
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-7u8qq26-71c412-yi4pce4-n1u574-1677572101
code: '500'
data: tradeapi.app.PositionApiService.queryPositionPage
bizCode: TA
tm: 1
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.CfdMMOrderApiService.queryCapitalFlowList:
post:
summary: 资金流水
deprecated: false
description: |-
说明:分页查询账户资金流水
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryCapitalFlowList
```
tags:
- 交易接口/全仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填1
format: long
accountId:
type: integer
format: long
title: 账户ID
size:
type: integer
title: 每页数据条数
format: long
current:
type: integer
title: 当前页
format: long
businessType:
type: integer
format: int32
title: 业务类型
description: 0-不限制;1-存款;2-取款;3-系统清零;4-额度调整;5-冻结;6-交易;36-划转;42-奖励;
status:
type: integer
format: int32
title: 状态
description: 0-不限制;1-初始化;2-处理成功;3-处理失败;
startTime:
type: integer
format: long
description: 13位时间戳
title: 起始时间
endTime:
type: integer
format: long
description: 13位时间戳
title: 结束时间
operate:
type: integer
format: int32
title: 资金流向
description: 0-不限制;1-增加;2-减少;
assetsId:
type: integer
format: long
title: 资产Id
lang:
type: string
title: 语种
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码,0成功,其他失败
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
description: 成功标志
fail:
type: boolean
description: 失败标志
data:
type: object
properties:
total:
type: integer
title: 总数
format: long
description: 总数
size:
type: integer
format: long
title: 每页条数
description: 每页条数
current:
type: integer
format: long
title: 当前页
description: 当前页
records:
type: array
items:
type: object
properties:
remark:
type: string
title: 备注
description: 备注
createTime:
type: integer
title: 创建日期
description: 创建日期,13位时间戳
format: long
updateTime:
type: integer
format: long
title: 更新时间
description: 更新时间,13位时间戳
subjectId:
type: integer
format: long
title: 科目ID
description: 科目ID
bookkeepId:
type: integer
format: long
title: 凭证ID
description: 凭证ID
amountIn:
type: string
title: 增加金额
description: 增加金额
amountOut:
type: string
title: 减少金额
description: 减少金额
status:
type: integer
format: int32
title: 状态
description: 状态,1-初始化;2-处理成功;3-处理失败;
amountAfter:
type: string
title: 变动后余额
description: 变动后余额
businessType:
type: integer
title: 业务类型
format: int32
description: >-
业务类型,1-存款;2-取款;3-系统清零;4-额度调整;5-冻结;6-交易;36-划转;42-奖励;
businessType1:
type: integer
format: int32
description: >-
业务子类型,1001-前端存款;1002-存款手续费;2001-前端取款;2002-取消取款;2003-取款手续费;2004-取消手续费;2005-确认转账;3001-系统清零;4001-额度调整_存款;4002-额度调整_取款;4003-额度调整_其他;4004-额度调整_赠金;4005-额度调整_释放不可提;4006-额度调整_不可提;4007-额度调整_转入返佣;5001-冻结;5002-解冻;6001-开仓手续费;6002-平仓手续费;6003-隔夜利息;6004-市价平仓盈亏;6005-止损平仓盈亏;6006-止盈平仓盈亏;6007-系统强平盈亏;6008-到期强平盈亏;6009-手动强平盈亏;36001-划入金额;36002-划出金额;42001-发放奖励;42002-扣回奖励;42003-发放返佣;42004-扣回返佣;
title: 业务子类型
customerNo:
type: string
title: 客户编号
description: 客户编号
digits:
type: string
title: 小数位
description: 小数位
currency:
type: string
title: 币种
description: 币种
businessTypeName:
type: string
title: 业务类型名称
description: 业务类型名称,按传入`lang`确认语种
businessType1Name:
type: string
title: 业务子类型名称
description: 业务子类型名称,按传入`lang`确认语种
accountId:
type: integer
title: 账户Id
format: long
description: 账户Id
orderId:
type: integer
format: long
description: 订单id
dealId:
type: integer
format: long
description: 成交id
title: 数据体
description: 数据体
title: 流水集合
description: 流水集合
description: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-n72ql-snasw1-ts561r-31e7q-1677572540
code: '0'
data:
total: 40
current: 1
size: 20
records:
- amount: '-0.0665'
businessType1: 6001
amountAfter: '109849175.3769'
businessType1Name: Open position fee
updateTime: 1677571033166
remark: null
version: 0
subjectId: 1504110734228991000
accountId: 1031767
createTime: 1677571033151
businessTypeName: transaction
createdBy: null
updateBy: null
bookkeepId: 2023022819827
currency: USDT
digits: 4
amountIn: '0.0000'
amountOut: '0.0665'
id: 238603703
businessType: 6
customerNo: '86001175'
status: 2
bizCode: A
tm: 13
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-q7pj-8jiln-310518-4l0c69-1677572511
code: '500'
data: tradeapi.app.OrderApiService.queryCapitalFlowList
bizCode: TA
tm: 0
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.OrderApiService.updatePboOrder:
post:
summary: 修改预埋单
deprecated: false
description: |-
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.updatePboOrder
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
description: 非必填。如填,已该账户进行交易
format: long
pboId:
type: string
title: 预埋单ID
stopLoss:
type: number
title: 止损单价
description: 需乘以10的`产品报价小数位`次方,处理为整数传入。
takeProfit:
type: number
title: 止盈单价
description: 需乘以10的`产品报价小数位`次方,处理为整数传入。
requestNum:
type: number
title: 请求数量/额度
requestPrice:
type: number
title: 请求价格
required:
- tradeType
- pboId
example:
tradeType: 82
pboId: '77'
stopLoss: 9
accountId: 78
requestPrice: 19
takeProfit: 35
requestNum: 47
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
orderId:
type: integer
title: 订单号
format: long
positionId:
type: integer
title: 持仓单号
format: long
tradeVolume:
type: string
title: 交易手数
openPrice:
type: string
title: 开仓价
executePrice:
type: string
title: 成交价
openDirection:
type: integer
title: 开仓时买卖方向
description: 1-买;2-卖;
format: int32
direction:
type: integer
title: 本次下单买卖方向
description: 1-买;2-卖;
format: int32
openOrClose:
type: integer
title: 本次下单开平类型
description: 1-开仓;2-平仓;
format: int32
symbolName:
type: string
title: 产品名称
symbolId:
type: integer
title: 产品Id
format: long
stopLoss:
type: string
title: 止损价
description: 与入参一致
takeProfit:
type: string
title: 止盈价
description: 与入参一致
digits:
type: integer
title: 产品小数位
format: int32
fee:
type: string
title: 下单手续费
interest:
type: string
title: 利息
description: 仅平仓是存在
profit:
type: string
title: 盈亏
description: 仅平仓是存在
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-dqxq8-qu20y7y-dq58lhn-39i483-1677570581
code: '0'
data:
tradeVolume: '0.1'
symbolId: 720
orderId: 14460002
fee: '-0.0668'
openOrClose: 1
openPrice: '22.25'
takeProfit: '0'
positionId: 2023022819810
interest: '0'
openDirection: 1
stopLoss: '0'
executePrice: '22.25'
digits: 2
symbolName: BINAN_SOL_USDT
profit: '0'
direction: 1
bizCode: ''
tm: 162
msgParams: null
ok: true
headers: {}
security: []
/global/tradeapi.app.OrderApiService.queryPBOOrderPage:
post:
summary: 预埋单列表
deprecated: false
description: |-
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryPBOOrderPage
tags:
- 交易接口/全仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填1
format: long
accountId:
type: integer
title: 账户ID
description: 非必填。如填,已该账户进行交易
format: long
customerNo:
type: string
title: 客户编号
description: 账户货币
sortFieldName:
type: string
title: 排序字段
description: 排序字段名 orderTime(openTime,orderId),symbolId,symbolCode
sortType:
type: string
title: 排序类型
description: 排序类型 desc 降序;asc 升序
querySource:
type: string
title: 订单来源
description: 订单来源
thirdPartyOrder:
type: string
title: 三方订单ID
description: 三方订单ID
required:
- tradeType
example:
tradeType: 81
accountId: 15
sortType: desc
sortFieldName: orderTime
accountCurrency: USDT
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
id:
type: string
title: 预埋单ID
symbolId:
type: integer
title: 产品Id
format: long
type:
type: integer
title: 订单类型:9:预埋单,10:延时单 11:止损止盈单 0:市价单
format: long
direction:
type: integer
title: 本次下单买卖方向
description: 1-买;2-卖;
format: int32
state:
type: integer
title: 是否转成市价单 0:否,1:是;
format: int32
requestPrice:
type: integer
title: 请求价格
openPrice:
type: string
title: 请求价格(已处理小数位)
digits:
type: integer
title: 产品小数位
format: int32
orderTime:
type: integer
title: 预埋单和延时单生成时间
delayTime:
type: string
title: 延时区间开始时间,单位毫秒,延时单用
delayEndTime:
type: string
title: 延时区间结束时间,单位毫秒,延时单用
exchangeTime:
type: string
title: 转成市价单生成时间
reserve:
type: string
title: 保留字段
customerGroupId:
type: string
title: 客户组ID
contractSize:
type: integer
title: 本次下单开平类型
description: 1-开仓;2-平仓;
format: int32
requestVolume:
type: integer
title: 请求数量
stopLoss:
type: integer
title: 止损价
stopLossTarget:
type: integer
title: 止损单价(已处理小数位)
takeProfit:
type: integer
title: 止盈单价
takeProfitTarget:
type: integer
title: 止盈单价(已处理小数位)
tradeType:
type: integer
title: 下单手续费
expireType:
type: string
title: 过期类型1.当日有效2.当周有效;3-30天;4-90天;
remark:
type: string
title: 备注
loanAmount:
type: integer
title: 借款金额(杠杆全仓)
tradeModel:
type: integer
title: 成交模式
crossLevelNum:
type: integer
title: 杠杆倍数
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-dqxq8-qu20y7y-dq58lhn-39i483-1677570581
code: '0'
data:
tradeVolume: '0.1'
symbolId: 720
orderId: 14460002
fee: '-0.0668'
openOrClose: 1
openPrice: '22.25'
takeProfit: '0'
positionId: 2023022819810
interest: '0'
openDirection: 1
stopLoss: '0'
executePrice: '22.25'
digits: 2
symbolName: BINAN_SOL_USDT
profit: '0'
direction: 1
bizCode: ''
tm: 162
msgParams: null
ok: true
headers: {}
security: []
/global/tradeapi.app.OrderApiService.addMarketOrder:
post:
summary: 下单
deprecated: false
description: |-
说明:合约逐仓交易下单
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.addMarketOrder
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 玩法ID,本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
description: 账户ID,非必填。如填,已该账户进行交易
format: long
bizType:
type: integer
title: 业务类型
description: 业务类型,1-市价开;2-市价平;10-限价预埋单;11-停损预埋单;13-聚合限价开仓单;14-聚合限价平仓单
format: int32
direction:
type: integer
title: 订单买卖方向
description: 订单买卖方向,1-买;2-卖;
format: int32
symbolId:
type: integer
title: 产品ID
format: long
description: 产品ID
positionId:
type: integer
title: 仓位ID
description: 仓位ID,平仓下单时,必填
format: long
requestTime:
type: integer
title: 下单请求时间
description: 下单请求时间,13位时间戳
format: long
requestPrice:
type: string
title: 下单时价格
description: 下单时价格,需乘以10的`产品报价小数位`次方,处理为整数传入。仅作下单记录,非成交价格。
requestNum:
type: string
title: 下单手数
description: 下单手数或下单额度,配合entryType使用
stopLoss:
type: string
title: 止损单价
description: 止损单价,需乘以10的`产品报价小数位`次方,处理为整数传入。
takeProfit:
type: string
title: 止盈单价
description: 止盈单价,需乘以10的`产品报价小数位`次方,处理为整数传入。
expireType:
type: integer
title: 过期类型
description: 过期类型,仅预埋单有效。1-当日有效;2-当周有效;3-30天;4-90天;默认2
format: int32
remark:
type: string
title: 备注
description: 备注
accountCurrency:
type: string
title: 账户货币
description: 账户货币
accountDigits:
type: integer
title: 账户小数位
format: int32
description: 账户小数位
crossLevelNum:
type: integer
title: 杠杆倍数
format: int32
description: 杠杆倍数,本参数需针对产品一致。如不一致,将无法下单成功
entryType:
type: integer
description: 下单类型 1 按数量 , 2 按额
blacklist:
type: boolean
title: 黑名单客户订单
description: 黑名单客户订单(默认 false)
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(限制最高255字符,枚举仅供参考,只能使用字母、数字、下划线)
thirdPartyOrder:
type: string
title: 三方订单标识
description: (限制最高255字符,只能使用字母、数字、下划线)
slippage:
type: string
description: >-
仅市价单有效。可为百分比(仅支持2位小数,超出部分按四舍五入处理)也可以时浮点型仅支持4位小数,超出部分按四舍五入处理)。其他格式不支持。
title: 交易滑点
required:
- tradeType
- bizType
- direction
- symbolId
- requestTime
- requestPrice
- requestNum
- accountCurrency
- accountDigits
- entryType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
description: 响应是否成功
fail:
type: boolean
description: 响应是否失败
data:
type: object
properties:
orderId:
type: integer
title: 订单号
format: long
description: 订单号
positionId:
type: integer
title: 持仓单号
format: long
description: 持仓单号
tradeVolume:
type: string
title: 交易手数
description: 交易手数
openPrice:
type: string
title: 开仓价
description: 开仓价
executePrice:
type: string
title: 成交价
description: 成交价
openDirection:
type: integer
title: 开仓时买卖方向
description: 开仓时买卖方向,1-买;2-卖;
format: int32
direction:
type: integer
title: 本次下单买卖方向
description: 本次下单买卖方向,1-买;2-卖;
format: int32
openOrClose:
type: integer
title: 本次下单开平类型
description: 本次下单开平类型,1-开仓;2-平仓;
format: int32
symbolName:
type: string
title: 产品名称
description: 产品名称
symbolId:
type: integer
title: 产品Id
format: long
description: 产品Id
stopLoss:
type: string
title: 止损价
description: 止损价,与入参一致
takeProfit:
type: string
title: 止盈价
description: 止盈价,与入参一致
digits:
type: integer
title: 产品小数位
format: int32
description: 产品小数位
fee:
type: string
title: 下单手续费
description: 下单手续费
interest:
type: string
title: 利息
description: 利息,仅平仓是存在
profit:
type: string
title: 盈亏
description: 盈亏,仅平仓是存在
source:
type: string
title: 订单来源
description: H5、Android、IOS、MT5
title: 数据体
description: 数据体
required:
- source
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-dqxq8-qu20y7y-dq58lhn-39i483-1677570581
code: '0'
data:
tradeVolume: '0.1'
symbolId: 720
orderId: 14460002
fee: '-0.0668'
openOrClose: 1
openPrice: '22.25'
takeProfit: '0'
positionId: 2023022819810
interest: '0'
openDirection: 1
stopLoss: '0'
executePrice: '22.25'
digits: 2
symbolName: BINAN_SOL_USDT
profit: '0'
direction: 1
bizCode: ''
tm: 162
msgParams: null
ok: true
headers: {}
security: []
x-docstype: TS.Clientapi.Trade
x-docstitle: 交易接口
/global/tradeapi.app.CfdWBWOrderApiService.queryPBOOrderPage:
post:
summary: 预埋单列表
deprecated: false
description: |-
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryPBOOrderPage
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
description: 非必填。如填,已该账户进行交易
format: long
accountCurrency:
type: string
title: 账户货币
description: 账户货币
sortFieldName:
type: string
title: 排序字段
description: 排序字段名 orderTime(openTime,orderId),symbolId,symbolCode
sortType:
type: string
title: 排序类型
description: 排序类型 desc 降序;asc 升序
querySource:
type: string
title: 订单来源
description: 订单来源
thirdPartyOrder:
type: string
title: 三方订单ID
description: 三方订单ID
required:
- tradeType
example:
tradeType: 59
accountCurrency: aliqua fugiat laboris
accountId: 85
sortType: eu ut enim Ut consequat
sortFieldName: 少可县得
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
id:
type: string
title: 预埋单ID
symbolId:
type: integer
title: 产品Id
format: long
type:
type: integer
title: 订单类型:9:预埋单,10:延时单 11:止损止盈单 0:市价单
format: long
direction:
type: integer
title: 本次下单买卖方向
description: 1-买;2-卖;
format: int32
state:
type: integer
title: 是否转成市价单 0:否,1:是;
format: int32
requestPrice:
type: integer
title: 请求价格
openPrice:
type: string
title: 请求价格(已处理小数位)
digits:
type: integer
title: 产品小数位
format: int32
orderTime:
type: integer
title: 预埋单和延时单生成时间
delayTime:
type: string
title: 延时区间开始时间,单位毫秒,延时单用
delayEndTime:
type: string
title: 延时区间结束时间,单位毫秒,延时单用
exchangeTime:
type: string
title: 转成市价单生成时间
reserve:
type: string
title: 保留字段
customerGroupId:
type: string
title: 客户组ID
contractSize:
type: integer
title: 本次下单开平类型
description: 1-开仓;2-平仓;
format: int32
requestVolume:
type: integer
title: 请求数量
stopLoss:
type: integer
title: 止损价
stopLossTarget:
type: integer
title: 止损单价(已处理小数位)
takeProfit:
type: integer
title: 止盈单价
takeProfitTarget:
type: integer
title: 止盈单价(已处理小数位)
tradeType:
type: integer
title: 下单手续费
expireType:
type: string
title: 过期类型1.当日有效2.当周有效;3-30天;4-90天;
remark:
type: string
title: 备注
loanAmount:
type: integer
title: 借款金额(杠杆全仓)
tradeModel:
type: integer
title: 成交模式
crossLevelNum:
type: integer
title: 杠杆倍数
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-dqxq8-qu20y7y-dq58lhn-39i483-1677570581
code: '0'
data:
tradeVolume: '0.1'
symbolId: 720
orderId: 14460002
fee: '-0.0668'
openOrClose: 1
openPrice: '22.25'
takeProfit: '0'
positionId: 2023022819810
interest: '0'
openDirection: 1
stopLoss: '0'
executePrice: '22.25'
digits: 2
symbolName: BINAN_SOL_USDT
profit: '0'
direction: 1
bizCode: ''
tm: 162
msgParams: null
ok: true
headers: {}
security: []
/global/tradeapi.app.CfdWBWOrderApiService.updateOrder:
post:
summary: 设置仓位止损止盈
deprecated: false
description: |-
说明:设置仓位止损止盈
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.updateOrder
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
format: long
description: 账户ID,必须与账户货币二者填其一
accountCurrency:
type: string
title: 账户货币
description: 账户货币,必须与账户ID二者填其一
orderId:
type: integer
title: 订单ID
format: long
description: 订单ID
positionId:
type: integer
title: 仓位ID
format: long
description: 仓位ID
accountDigits:
type: integer
title: 账户小数位
format: long
description: 账户小数位
stopLoss:
type: string
title: 止损单价
description: 止损单价,需乘以10的`产品报价小数位`次方,处理为整数传入。
takeProfit:
type: string
title: 止盈单价
description: 止盈单价,需乘以10的`产品报价小数位`次方,处理为整数传入。
remark:
type: string
title: 备注
description: 备注
required:
- tradeType
- orderId
- positionId
- accountDigits
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties: {}
title: 数据体
description: '*'
examples:
'1':
summary: 异常示例
value:
msg: Account balance is 0
fail: true
trace: x-0ei175a-x4dh9u2-1g8s95r-m2708212-1677570735
code: E000031
data: tradeapi.app.OrderApiService.updateOrder
bizCode: CFD
tm: 7
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.CfdWBWOrderApiService.queryOrderDetail:
post:
summary: 订单详情
deprecated: false
description: |-
说明:查看订单详情
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryOrderDetail
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
description: '*'
format: long
accountCurrency:
type: string
title: 账户货币
description: '*'
orderId:
type: integer
title: 订单ID
format: long
required:
- tradeType
- orderId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
orderId:
type: integer
title: 订单ID
format: long
busiiType:
type: integer
title: 订单业务类型
description: >-
1-市价开;2-市价平;3-止损平仓单;4-止盈平仓单;5-爆仓强平单;6-到期平仓单;7-销户平仓单;8-手动强平单;9-延时订单;10-限价预埋单;11-停损预埋单;
format: int32
direction:
type: integer
title: 订单买卖方向
description: 1-买;2-卖;
format: int32
status:
type: integer
title: 订单状态
description: 1-收到订单;2-订单成交;3-订单部分成交;4-订单取消;5-订单部分取消;6-订单拒绝;7-订单过期;
format: int32
userGroupId:
type: integer
title: 客户组ID
format: long
accountId:
type: integer
title: 账户ID
format: long
symbolId:
type: integer
title: 产品ID
format: long
digits:
type: integer
title: 产品小数位
format: long
contractSize:
type: integer
title: 产品合约大小
format: int32
requestPrice:
type: string
title: 请求价格
description: '*'
requestNum:
type: string
title: 请求数量
description: '*'
requestTime:
type: integer
title: 请求时间
description: 13位时间戳
format: long
executeMarginRate:
type: integer
title: 执行保证金比例
description: '*'
format: int32
executeMarginRateDigits:
type: integer
title: 执行保证金比例小数位
description: '*'
format: int32
spread:
type: integer
title: 成交点差
description: '*'
format: int32
pointRatio:
type: integer
title: 成交大点比例
description: '*'
format: int32
executePrice:
type: string
title: 成交价
description: '*'
executeRate:
type: integer
title: 成交汇率
description: '*'
format: long
rateDigits:
type: integer
title: 汇率小数位
format: long
fee:
type: string
title: 成交手续费
description: '*'
feeDigits:
type: integer
title: 成交手续费小数位
format: long
executeTime:
type: integer
title: 成交时间
description: 13位时间戳
format: long
createTime:
type: integer
title: 创建时间
description: 13位时间戳
format: long
updateTime:
type: integer
title: 最后更新时间
description: 13位时间戳
format: long
positionId:
type: integer
title: 仓位ID
format: long
stopLoss:
type: string
title: 止损单价
description: '*'
takeProfit:
type: string
title: 止盈单价
description: '*'
remark:
type: string
title: 备注
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
title: 数据体
headers: {}
security: []
/global/tradeapi.app.CfdWBWOrderApiService.queryHistoryCloseOrderList:
post:
summary: 平仓记录
deprecated: false
description: |-
说明:查询历史平仓记录
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryHistoryCloseOrderList
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
description: '*'
format: long
accountCurrency:
type: string
title: 账户货币
description: '*'
sortFieldName:
type: string
title: 排序字段名
description: >-
pnl-利润;openTime-开仓时间;closeTime-平仓时间;orderId-订单id;symbolId-产品id;
sortType:
type: string
title: 排序类型
description: desc-降序;asc-升序;
symbolId:
type: integer
title: 产品ID
format: long
openStartTime:
type: integer
title: 开仓起始时间
description: 13位时间戳
format: long
openEndTime:
type: integer
title: 开仓结束时间
description: 13位时间戳
format: long
closeStartTime:
type: integer
title: 平仓起始时间
description: 13位时间戳
format: long
closeEndTime:
type: integer
title: 平仓结束时间
description: 13位时间戳
format: long
current:
type: integer
title: 页码
description: 默认1
format: int32
size:
type: integer
title: 每页数据量
description: 默认20
format: int32
querySource:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
required:
- tradeType
- sortFieldName
- sortType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
current:
type: integer
title: 当前页码
format: int32
totalPnl:
type: number
title: 总利润
description: '*'
format: double
size:
type: integer
title: 每页数据量
format: int32
totalPage:
type: integer
title: 总页数
format: int32
list:
type: array
items:
type: object
properties:
symbolId:
type: integer
format: long
title: 产品id
bizType:
type: integer
format: int32
title: 平仓类型
description: >-
2-市价平;3-止损平仓;4-止盈平仓;5-爆仓强平;6-产品到期强平;7-销户平仓;8-手动强平;
orderId:
type: integer
format: long
title: 订单id
openVolume:
type: string
title: 开仓手数
openPrice:
type: string
title: 开仓价
closeVolume:
type: string
title: 平仓手数
closePrice:
type: string
title: 平仓价
takeProfit:
type: string
title: 止盈价
description: 没设置则显示-
stopLoss:
type: string
title: 止损价
description: 没设置则显示-
closeTime:
type: integer
title: 平仓时间
format: long
description: 13位时间戳
commission:
type: string
title: 手续费
symbolName:
type: string
title: 产品名称
openTime:
type: integer
format: long
title: 开仓时间
description: 13位时间戳
profit:
type: string
title: 利润
interest:
type: string
title: 持仓利息
openDirection:
type: integer
title: 开仓方向
description: 1-买;2-卖;
format: int32
closeDirection:
type: integer
format: int32
description: 1-买;2-卖;
title: 平仓方向
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
title: 平仓列表集合
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-77q3ivej-u4wi1d3a-5pbl5v-ypwj0-1677573497
code: '0'
data:
accountId: null
trace: x-77q3ivej-u4wi1d3a-5pbl5v-ypwj0-1677573497
companyId: 360
current: 1
size: 20
totalPage: 0
ip: 47.242.92.158
customerId: 1176
list: []
lang: en-US
totalPnl: 0
customerNo: '86001175'
bizCode: ''
tm: 6
msgParams: null
ok: true
'2':
summary: 异常示例_sortType非desc,asc 值
value:
msg: Only allow sequential or reverse sorting
fail: true
trace: x-4zhomd-v593q7m-vh94y-5e815-1677573516
code: E000014
data: tradeapi.app.OrderApiService.queryHistoryCloseOrderList
bizCode: CFD
tm: 13
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.PositionApiService.updateCrossLevelNum:
post:
summary: 设置仓位杠杆倍数
deprecated: false
description: |-
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.PositionApiService.updateCrossLevelNum
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
symbolId:
type: integer
title: 产品ID
format: long
description: 产品ID
requestTime:
type: integer
title: 杠杆倍数
format: int32
description: 杠杆倍数
required:
- tradeType
- requestTime
- symbolId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
crossLevelNum:
type: integer
title: 杠杆倍数
format: int32
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-6s8tc-2v65-i8270878-1727-1677574098
code: '0'
data:
crossLevelNum: 11
bizCode: ''
tm: 17
msgParams: null
ok: true
'2':
summary: 异常示例-修改杠杆倍数不合法
value:
msg: >-
Selected leverage ratio is not within the range, please
select again
fail: true
trace: x-k246k-s7g2ze-e4b4ned3-2781-1677574116
code: E000030
data: tradeapi.app.OrderApiService.setCrossLevelNum
bizCode: CFD
tm: 3
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.PositionApiService.updateOccupyTheMargin:
post:
summary: 修改仓位占用保证金
deprecated: false
description: |-
说明:合约-全仓玩法,设置客户对产品的杠杆倍数,影响该产品所有仓位
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.PositionApiService.updateOccupyTheMargin
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
format: long
description: 账户id
accountCurrency:
type: string
title: 账户货币
description: 账户币种
positionId:
type: integer
title: 仓位ID
description: 仓位id
accountDigits:
type: string
title: 账户小数位
description: 账户小数位
occupyTheMargin:
type: string
title: 修改占用保证金金额
description: 修改占用保证金金额,可以负数
orderId:
type: integer
title: 订单Id
description: 订单id
remark:
type: string
title: 备注
description: 备注
required:
- tradeType
- accountId
- accountDigits
- occupyTheMargin
- orderId
- remark
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
crossLevelNum:
type: integer
title: 杠杆倍数
format: int32
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-6s8tc-2v65-i8270878-1727-1677574098
code: '0'
data:
crossLevelNum: 11
bizCode: ''
tm: 17
msgParams: null
ok: true
'2':
summary: 异常示例-修改杠杆倍数不合法
value:
msg: >-
Selected leverage ratio is not within the range, please
select again
fail: true
trace: x-k246k-s7g2ze-e4b4ned3-2781-1677574116
code: E000030
data: tradeapi.app.OrderApiService.setCrossLevelNum
bizCode: CFD
tm: 3
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.OrderApiService.calculateMarketOrder:
post:
summary: 下单试算
deprecated: false
description: |-
说明:试算下单保证金、手续费
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.calculateMarketOrder
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
description: 非必填。如填,已该账户进行交易
format: long
bizType:
type: integer
title: 业务类型
description: 业务类型,1-市价开;2-市价平;10-限价预埋单;11-停损预埋单;13-聚合限价开仓单;14-聚合限价平仓单
format: int32
direction:
type: integer
title: 订单买卖方向
description: 1-买;2-卖;
format: int32
symbolId:
type: integer
title: 产品ID
format: long
positionId:
type: integer
title: 仓位ID
description: 平仓下单时,必填
format: long
requestTime:
type: integer
title: 下单请求时间
description: 13位时间戳
format: long
requestPrice:
type: string
title: 下单时价格
description: 仅作下单记录,非成交价格*
requestNum:
type: string
title: 下单手数
expireType:
type: integer
title: 过期类型
description: 仅预埋单有效。1-当日有效;2-当周有效;
format: int32
remark:
type: string
title: 备注
accountCurrency:
type: string
title: 账户货币
accountDigits:
type: integer
title: 账户小数位
format: int32
crossLevelNum:
type: integer
title: 杠杆倍数
format: int32
description: 仅开仓有效,同个产品应仅有一个杠杆倍数
stopLoss:
type: number
title: 止损单价
description: 止损单价,需乘以10的`产品报价小数位`次方,处理为整数传入。
format: double
takeProfit:
type: number
title: 止盈单价
description: 止盈单价,需乘以10的`产品报价小数位`次方,处理为整数传入。
format: double
required:
- tradeType
- bizType
- direction
- symbolId
- requestTime
- requestPrice
- requestNum
- accountCurrency
- accountDigits
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码模块标识码
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
fee:
type: string
title: 手续费
description: 手续费
margin:
type: string
title: 保证金
description: 保证金
calculatePrice:
type: string
title: 计算价格
description: 计算价格
maintainMargin:
type: string
title: 维持保证金比例
description: 维持保证金比例
calculateNum:
type: string
title: 计算交易数量
description: 计算交易数量
evaluateProfit:
type: string
title: 预计盈利
description: 预计盈利。仅开仓并且`takeProfit`有填时有效
evaluateLoss:
type: string
title: 预计亏损
description: 预计亏损。仅开仓并且`stopLoss`有填时有效
evaluateClosePrice:
type: string
title: 预计强平价
description: 预计强平价。仅开仓有效
title: 数据体
description: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-7rf727-m64d8ar-72dn4ij-23o3vt-1677574738
code: '0'
data:
margin: '10000.6584'
calculatePrice: '136.719'
fee: '0.0000'
bizCode: ''
tm: 31
msgParams: null
ok: true
headers: {}
security: []
/global/tradeapi.app.OrderApiService.calculationBurstPrice:
post:
summary: 计算爆仓价格
deprecated: false
description: |-
说明:计算爆仓价格
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.calculationBurstPrice
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
description: 非必填。
format: long
positionId:
type: integer
title: 仓位ID
format: long
adjustMargin:
type: number
title: 调整保证金
description: 正数为增加保证金金额;负数为减少保证金金额
format: double
required:
- tradeType
- adjustMargin
- positionId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码模块标识码
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
evaluateClosePrice:
type: string
title: 预计强平价
description: 预计强平价
evaluateProfit:
type: string
title: 预计盈利
description: 预计盈利
evaluateLoss:
type: string
title: 预计亏损
description: 预计亏损
evaluateNetPnl:
type: string
title: 预计净盈亏
description: 预计净盈亏
title: 数据体
description: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-7rf727-m64d8ar-72dn4ij-23o3vt-1677574738
code: '0'
data:
evaluateClosePrice: '136.719'
bizCode: ''
tm: 31
msgParams: null
ok: true
headers: {}
security: []
/global/tradeapi.app.PositionApiService.queryPositionDetail:
post:
summary: 持仓详情
deprecated: false
description: |-
说明:查询持仓详情
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.PositionApiService.queryPositionDetail
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
title: 账户ID
description: '*'
format: long
accountCurrency:
type: string
title: 账户货币
description: '*'
positionId:
type: integer
title: 仓位id
format: long
required:
- tradeType
- positionId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
positionId:
type: integer
title: 仓位ID
format: long
orderId:
type: integer
title: 订单ID
format: long
dealId:
type: integer
title: 成交单ID
format: long
status:
type: string
title: 仓位状态
description: 0-初始化;1-持仓中;2-已完成;3-部分平仓;
direction:
type: integer
format: int32
title: 买卖方向
description: 1-买;2-卖;
symbolId:
type: integer
title: 产品ID
format: long
symbolName:
type: string
title: 产品名称
openAccountDigits:
type: integer
title: 开仓账户小数位
format: int32
openSymbolDigits:
type: integer
format: int32
title: 开仓产品小数位
openContractSize:
type: integer
format: int32
title: 合约大小
openPrice:
type: string
title: 开仓单价
openNum:
type: string
title: 开仓数量
closeAccountDigits:
type: integer
title: 平仓账户小数位
format: int32
closeSymbolDigits:
type: integer
title: 平仓产品小数位
format: int32
closePrice:
type: string
title: 平仓单价
closeFreeDigits:
type: string
title: 平仓手续费小数位
profit:
type: string
title: 盈亏
openMargin:
type: string
title: 开仓占用保证金
stopLoss:
type: string
title: 止损单价
description: 原始登记值,未处理
takeProfit:
type: string
title: 止盈单价
description: 原始登记值,未处理
remark:
type: string
title: 备注
margin:
type: string
title: 实时占用保证金
openTime:
type: integer
format: long
title: 开仓时间
description: 13位时间戳
closeTime:
type: integer
format: long
title: 平仓时间
description: 13位时间戳
openFee:
type: string
title: 开仓手续费
closeFee:
type: string
title: 平仓手续费
closeNum:
type: string
title: 平仓数量
description: '*'
openVolume:
type: string
title: 开仓手数
description: '*'
closeVolume:
type: string
title: 平仓手数
description: '*'
minVolume:
type: string
title: 单边最小手数
description: '*'
stopLossDecimal:
type: string
title: 止损单价
description: '`stopLoss`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
takeProfitDecimal:
type: string
title: 止盈单价
description: '`takeProfit`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
volume:
type: string
title: 手数
marginSetType:
type: string
title: 保证金类型
description: 1-比例;2-范围;
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-11wdkt-kg9i-ld2y-53mz854-1677571927
code: '0'
data:
symbolId: 720
orderId: 14460003
dealId: 94870543
canReduceMargin: '0.0000'
openPrice: '22.18'
remark: null
takeProfitDecimal: '0.00'
closeNum: 0
closeFee: '0.0000'
takeProfit: '0'
occupyTheMargin: '0.0000'
interest: '0.0000'
maintenanceMargin: '0.0000'
closeVolume: 0
openVolume: 0.1
closeTime: 0
closeAccountDigits: 4
symbolName: BINAN_SOL_USDT
openTime: 1677571033093
profit: null
tradeType: 1
direction: 1
singleMargin: null
margin: null
openContractSize: 1
resp: null
openMargin: '0.2209'
openNum: 0.1
openFee: '0.0665'
closeSymbolDigits: 2
warningMargin: '0.0000'
stopLossDecimal: '0.00'
adjustCrossLevel: 1-100
openSymbolDigits: 2
volume: 0.1
accountId: 1031767
companyId: 360
positionId: 2023022819827
closeFreeDigits: null
stopLoss: '0'
minVolume: null
marginSetType: '2'
crossLevelNum: 10
openAccountDigits: 4
closePrice: '0.0000'
status: '1'
bizCode: C
tm: 27
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: Close position fail
fail: true
trace: x-pw16m-so77fl71-x21ucw-sh0wz4-1677571968
code: '30001'
data: tradeapi.app.PositionApiService.queryPositionDetail
bizCode: C
tm: 93
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.OrderApiService.queryCapitalFlowList:
post:
summary: 资金流水
deprecated: false
description: |-
说明:分页查询账户资金流水
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryCapitalFlowList
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
format: long
title: 账户ID
description: 账户id
size:
type: integer
title: 每页数据条数
format: long
description: 每页数据条数
current:
type: integer
title: 当前页
format: long
description: 当前页
businessType:
type: integer
format: int32
title: 业务类型
description: 业务类型,0-不限制;1-存款;2-取款;3-系统清零;4-额度调整;5-冻结;6-交易;36-划转;42-奖励;
status:
type: integer
format: int32
title: 状态
description: 状态,0-不限制;1-初始化;2-处理成功;3-处理失败;
startTime:
type: integer
format: long
description: 起始时间,13位时间戳
title: 起始时间
endTime:
type: integer
format: long
description: 结束时间,13位时间戳
title: 结束时间
operate:
type: integer
format: int32
title: 资金流向
description: 资金流向,0-不限制;1-增加;2-减少;
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码,0成功,其他失败
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
description: 成功标志
fail:
type: boolean
description: 失败标志
data:
type: object
properties:
total:
type: integer
title: 总数
format: long
description: 总数
size:
type: integer
format: long
title: 每页条数
description: 每页条数
current:
type: integer
format: long
title: 当前页
description: 当前页
records:
type: array
items:
type: object
properties:
remark:
type: string
title: 备注
description: 备注
createTime:
type: integer
title: 创建日期
description: 创建日期,13位时间戳
format: long
updateTime:
type: integer
format: long
title: 更新时间
description: 更新时间,13位时间戳
subjectId:
type: integer
format: long
title: 科目ID
description: 科目ID
bookkeepId:
type: integer
format: long
title: 凭证ID
description: 凭证ID
amountIn:
type: string
title: 增加金额
description: 增加金额
amountOut:
type: string
title: 减少金额
description: 减少金额
status:
type: integer
format: int32
title: 状态
description: 状态,1-初始化;2-处理成功;3-处理失败;
amountAfter:
type: string
title: 变动后余额
description: 变动后余额
businessType:
type: integer
title: 业务类型
format: int32
description: >-
业务类型,1-存款;2-取款;3-系统清零;4-额度调整;5-冻结;6-交易;36-划转;42-奖励;
businessType1:
type: integer
format: int32
description: >-
业务子类型,1001-前端存款;1002-存款手续费;2001-前端取款;2002-取消取款;2003-取款手续费;2004-取消手续费;2005-确认转账;3001-系统清零;4001-额度调整_存款;4002-额度调整_取款;4003-额度调整_其他;4004-额度调整_赠金;4005-额度调整_释放不可提;4006-额度调整_不可提;4007-额度调整_转入返佣;5001-冻结;5002-解冻;6001-开仓手续费;6002-平仓手续费;6003-隔夜利息;6004-市价平仓盈亏;6005-止损平仓盈亏;6006-止盈平仓盈亏;6007-系统强平盈亏;6008-到期强平盈亏;6009-手动强平盈亏;36001-划入金额;36002-划出金额;42001-发放奖励;42002-扣回奖励;42003-发放返佣;42004-扣回返佣;
title: 业务子类型
customerNo:
type: string
title: 客户编号
description: 客户编号
digits:
type: string
title: 小数位
description: 小数位
currency:
type: string
title: 币种
description: 币种
businessTypeName:
type: string
title: 业务类型名称
description: 业务类型名称,按传入`lang`确认语种
businessType1Name:
type: string
title: 业务子类型名称
description: 业务子类型名称,按传入`lang`确认语种
accountId:
type: integer
title: 账户Id
format: long
description: 账户Id
orderId:
type: integer
format: long
description: 订单id
dealId:
type: integer
format: long
description: 成交id
title: 数据体
description: 数据体
title: 流水集合
description: 流水集合
description: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-n72ql-snasw1-ts561r-31e7q-1677572540
code: '0'
data:
total: 40
current: 1
size: 20
records:
- amount: '-0.0665'
businessType1: 6001
amountAfter: '109849175.3769'
businessType1Name: Open position fee
updateTime: 1677571033166
remark: null
version: 0
subjectId: 1504110734228991000
accountId: 1031767
createTime: 1677571033151
businessTypeName: transaction
createdBy: null
updateBy: null
bookkeepId: 2023022819827
currency: USDT
digits: 4
amountIn: '0.0000'
amountOut: '0.0665'
id: 238603703
businessType: 6
customerNo: '86001175'
status: 2
bizCode: A
tm: 13
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-q7pj-8jiln-310518-4l0c69-1677572511
code: '500'
data: tradeapi.app.OrderApiService.queryCapitalFlowList
bizCode: TA
tm: 0
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.OrderApiService.closeTradePboOrder:
post:
summary: 取消限价单(仅用于聚合模式)
deprecated: false
description: |-
说明:取消限价单(仅用于聚合模式)
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.closeTradePboOrder
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: ''
description: 玩法ID,本玩法下应填2
format: long
orderId:
type: integer
format: int32
title: ''
description: 订单id
required:
- tradeType
- orderId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码,0成功,其他失败
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
description: 成功标志
fail:
type: boolean
description: 失败标志
data:
type: object
properties:
leftover:
type: string
description: 取消数量
description: 数据体
examples:
'1':
summary: 成功示例
value:
msg: ut
ok: false
msgParams: aute
trace: deserunt commodo cillum
bizCode: '34'
code: '60'
fail: true
tm: 67
data: {}
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-q7pj-8jiln-310518-4l0c69-1677572511
code: '500'
data: tradeapi.app.OrderApiService.queryCapitalFlowList
bizCode: TA
tm: 0
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.OrderApiService.checkOrderStatus:
post:
summary: 检查订单状态
deprecated: false
description: |-
说明:检查订单状态
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.checkOrderStatus
```
tags:
- 交易接口/逐仓合约交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: ''
description: 玩法ID,本玩法下应填2
format: long
orderId:
type: integer
description: 订单id
format: long
title: ''
operatorType:
type: integer
description: 1=调整杠杆倍数,2=调整保证金,3=订单是否成交
minimum: 1
maximum: 2
required:
- tradeType
- orderId
- operatorType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
description: 模块标识码
code:
type: string
title: 状态返回码
description: 状态返回码,0成功,其他失败
msg:
type: string
title: 状态描述
description: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
description: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
description: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
description: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
description: 成功标志
fail:
type: boolean
description: 失败标志
data:
type: object
properties: {}
description: 返回结果,operatorType=3时,0未成交1已成交
examples:
'1':
summary: 成功示例
value:
msg: ut
ok: false
msgParams: aute
trace: deserunt commodo cillum
bizCode: '34'
code: '60'
fail: true
tm: 67
data: {}
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-q7pj-8jiln-310518-4l0c69-1677572511
code: '500'
data: tradeapi.app.OrderApiService.queryCapitalFlowList
bizCode: TA
tm: 0
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.OrderApiService.addOrder:
post:
summary: 下单
deprecated: false
description: |-
说明:现货玩法下单
登录后方可访问
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.addOrder
```
operationId: addOrder
tags:
- 交易接口/现货交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: int64
minimum: 1
description: 玩法类型,固定值5
bizType:
type: integer
format: int32
description: 订单业务类型(市价:12、限价:13)
direction:
type: integer
format: int32
description: 订单买卖方向(买方向:1;卖方向:2)
symbolId:
type: integer
format: int64
description: 产品ID
accountCurrency:
type: string
requestTime:
type: integer
format: int64
requestPrice:
type: number
description: 请求价格
requestNum:
type: number
description: 请求数量(买方向,当请求金额;卖方向,当请求数量)
accountDigits:
type: integer
format: int32
remark:
type: string
entryType:
type: integer
format: int32
description: 下单类型。1-按数量;2-按额;(如不传,默认 买按额,卖按量)
expiryType:
type: string
description: 到期类型。1-1天;2-7天;3-30天;4-90天。默认4
source:
type: string
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(限制最高255字符,枚举仅供参考)
title: 订单来源
thirdPartyOrder:
type: string
title: 三方订单标识
description: (限制最高255字符,只能使用字母、数字、下划线)
slippage:
type: string
title: 交易滑点
description: >-
仅市价单有效。可为百分比(仅支持2位小数,超出部分按四舍五入处理)也可以时浮点型仅支持4位小数,超出部分按四舍五入处理)。其他格式不支持。
required:
- tradeType
- bizType
- direction
- symbolId
- requestPrice
- requestNum
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultSpotOrderAddVo'
headers: {}
security: []
x-docstype: TS.Clientapi.Trade
x-docstitle: 交易接口
/global/tradeapi.app.CrossLeverOrderApiService.updateOrder:
post:
summary: 设置仓位止损止盈
deprecated: false
description: |-
说明:设置仓位止损止盈
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.updateOrder
```
tags:
- 交易接口/杠杆交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填3
format: long
accountId:
type: integer
title: 账户ID
description: '*'
format: long
accountCurrency:
type: string
title: 账户货币
description: '*'
orderId:
type: integer
title: 订单ID
format: long
positionId:
type: integer
title: 仓位ID
format: long
accountDigits:
type: integer
title: 账户小数位
format: long
stopLoss:
type: string
title: 止损单价
description: 需乘以10的`产品报价小数位`次方,处理为整数传入。
takeProfit:
type: string
title: 止盈单价
description: 需乘以10的`产品报价小数位`次方,处理为整数传入。
remark:
type: string
title: 备注
required:
- tradeType
- orderId
- positionId
- accountDigits
- stopLoss
- takeProfit
- remark
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties: {}
title: 数据体
description: '*'
examples:
'1':
summary: 异常示例
value:
msg: Account balance is 0
fail: true
trace: x-0ei175a-x4dh9u2-1g8s95r-m2708212-1677570735
code: E000031
data: tradeapi.app.OrderApiService.updateOrder
bizCode: CFD
tm: 7
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.CrossLeverOrderApiService.queryTradeRecordPage:
post:
summary: 成交记录
deprecated: false
description: |-
说明:查询成交记录列表
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryTradeRecordPage
```
tags:
- 交易接口/杠杆交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: int32
accountIds:
type: string
title: 账户id
description: 多个以,号分割
sortFieldName:
type: string
title: 排序字段名
description: executeTime-成交时间;direction-方向;symbolId-产品id;
sortType:
type: string
title: 排序类型
description: desc-降序;asc-升序;
symbolId:
type: integer
title: 产品ID
format: long
direction:
type: integer
title: 买卖方向
description: '-1-全部;1-买;2-卖;'
format: int32
orderType:
type: integer
title: 订单类型
description: '-1-全部;1-开;2-平;3-市价;4-限价;'
format: int32
executeStartTime:
type: integer
title: 成交起始时间
description: 13位时间戳
format: long
executeEndTime:
type: integer
title: 成交结束时间
description: 13位时间戳
format: long
current:
type: integer
title: 页码
description: 默认1
format: int32
size:
type: integer
title: 每页数据量
description: 默认20
format: int32
required:
- tradeType
- sortFieldName
- sortType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
accountId:
type: integer
title: 账户id
format: long
companyId:
type: integer
title: 公司id
format: long
customerId:
type: integer
title: 客户id
format: long
customerNo:
type: string
title: 客户编号
current:
type: integer
format: int32
title: 当前页码
size:
type: integer
format: int32
title: 每页数据量
totalPage:
type: integer
title: 总页数
format: int32
bizTypeText:
type: object
properties: {}
title: 交易类型映射
list:
type: array
items:
type: object
properties:
symbolId:
type: integer
title: 产品id
format: long
orderId:
type: integer
title: 委托单号
format: long
bizType:
type: integer
format: long
title: 订单类型
symbolName:
type: string
title: 产品名称
direction:
type: integer
format: int32
title: 成交方向
description: 1-买;2-卖;
requestPrice:
type: string
title: 请求价
description: '*'
executePrice:
type: string
title: 成交价
executeNum:
type: string
title: 成交数量(手数)
description: '*'
loanAmount:
type: string
title: 借款金额
description: '*'
executeTime:
type: integer
format: long
title: 成交时间
description: 13位时间戳
outCurrency:
type: string
title: 借款币种
description: '*'
stopLoss:
type: string
title: 止损价
takeProfit:
type: string
title: 止盈价
commission:
type: string
title: 手续费
profitLoss:
type: string
title: 盈亏
overnightInterest:
type: string
title: 隔夜利息
numberStatisticMode:
type: string
title: 数量统计方式
description: 1-按数量;2-按额;
accountCurrency:
type: string
title: 账户币种
dealId:
type: integer
format: long
title: 成交单号
required:
- executePrice
- executeNum
- loanAmount
- executeTime
- outCurrency
- stopLoss
- takeProfit
- commission
- profitLoss
- overnightInterest
- numberStatisticMode
- accountCurrency
- dealId
title: 成交列表集合
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-w864w4d-7143je-n2w23-0124-1677573722
code: '0'
data:
accountId: null
current: 1
trace: x-w864w4d-7143je-n2w23-0124-1677573722
companyId: 360
size: 20
totalPage: 0
ip: 47.242.92.158
customerId: 1176
bizTypeText:
'1': Market Open
'2': Pre-set Limit Open
'3': Pre-set Stop Loss Open
'4': Market Close
'5': Stop profit Close
'6': Stop Loss Close
'7': System Close
'8': Expiry Close
'9': Limit Open
list: []
lang: en-US
customerNo: '86001175'
bizCode: ''
tm: 7
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-n9et4-yp4g8q3-0t31r-lopx-1677573670
code: E00003
data: tradeapi.app.OrderApiService.queryTradeRecordPage
bizCode: O
tm: 3
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.CrossLeverOrderApiService.previewOrder:
post:
summary: 获取跨币种还款汇率
deprecated: false
description: |-
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.previewOrder
tags:
- 交易接口/杠杆交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
sourceCurrency:
type: string
title: ''
description: 源货币
targetCurrency:
type: string
description: 目标货币
customerCurrency:
type: string
description: 总资产货币
requestNum:
type: number
title: ''
description: 请求数量
requestTime:
type: integer
description: 下单请求时间
remark:
type: string
description: 备注
required:
- tradeType
- requestNum
- targetCurrency
- customerCurrency
- requestTime
- remark
- sourceCurrency
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
positionId:
type: integer
title: 仓位ID
format: long
orderId:
type: integer
title: 订单ID
format: long
dealId:
type: integer
title: 成交单ID
format: long
status:
type: string
title: 仓位状态
description: 0-初始化;1-持仓中;2-已完成;3-部分平仓;
direction:
type: integer
format: int32
title: 买卖方向
description: 1-买;2-卖;
symbolId:
type: integer
title: 产品ID
format: long
symbolName:
type: string
title: 产品名称
openAccountDigits:
type: integer
title: 开仓账户小数位
format: int32
openSymbolDigits:
type: integer
format: int32
title: 开仓产品小数位
openContractSize:
type: integer
format: int32
title: 合约大小
openPrice:
type: string
title: 开仓单价
openNum:
type: string
title: 开仓数量
closeAccountDigits:
type: integer
title: 平仓账户小数位
format: int32
closeSymbolDigits:
type: integer
title: 平仓产品小数位
format: int32
closePrice:
type: string
title: 平仓单价
closeFreeDigits:
type: string
title: 平仓手续费小数位
profit:
type: string
title: 盈亏
openMargin:
type: string
title: 开仓占用保证金
stopLoss:
type: string
title: 止损单价
description: 原始登记值,未处理
takeProfit:
type: string
title: 止盈单价
description: 原始登记值,未处理
remark:
type: string
title: 备注
margin:
type: string
title: 实时占用保证金
openTime:
type: integer
format: long
title: 开仓时间
description: 13位时间戳
closeTime:
type: integer
format: long
title: 平仓时间
description: 13位时间戳
openFee:
type: string
title: 开仓手续费
closeFee:
type: string
title: 平仓手续费
closeNum:
type: string
title: 平仓数量
description: '*'
openVolume:
type: string
title: 开仓手数
description: '*'
closeVolume:
type: string
title: 平仓手数
description: '*'
minVolume:
type: string
title: 单边最小手数
description: '*'
stopLossDecimal:
type: string
title: 止损单价
description: '`stopLoss`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
takeProfitDecimal:
type: string
title: 止盈单价
description: '`takeProfit`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
volume:
type: string
title: 手数
marginSetType:
type: string
title: 保证金类型
description: 1-比例;2-范围;
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-11wdkt-kg9i-ld2y-53mz854-1677571927
code: '0'
data:
symbolId: 720
orderId: 14460003
dealId: 94870543
canReduceMargin: '0.0000'
openPrice: '22.18'
remark: null
takeProfitDecimal: '0.00'
closeNum: 0
closeFee: '0.0000'
takeProfit: '0'
occupyTheMargin: '0.0000'
interest: '0.0000'
maintenanceMargin: '0.0000'
closeVolume: 0
openVolume: 0.1
closeTime: 0
closeAccountDigits: 4
symbolName: BINAN_SOL_USDT
openTime: 1677571033093
profit: null
tradeType: 1
direction: 1
singleMargin: null
margin: null
openContractSize: 1
resp: null
openMargin: '0.2209'
openNum: 0.1
openFee: '0.0665'
closeSymbolDigits: 2
warningMargin: '0.0000'
stopLossDecimal: '0.00'
adjustCrossLevel: 1-100
openSymbolDigits: 2
volume: 0.1
accountId: 1031767
companyId: 360
positionId: 2023022819827
closeFreeDigits: null
stopLoss: '0'
minVolume: null
marginSetType: '2'
crossLevelNum: 10
openAccountDigits: 4
closePrice: '0.0000'
status: '1'
bizCode: C
tm: 27
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: Close position fail
fail: true
trace: x-pw16m-so77fl71-x21ucw-sh0wz4-1677571968
code: '30001'
data: tradeapi.app.PositionApiService.queryPositionDetail
bizCode: C
tm: 93
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.CrossLeverOrderApiService.addRepaymentOrder:
post:
summary: 跨币种还款
deprecated: false
description: |-
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.addRepaymentOrder
tags:
- 交易接口/杠杆交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
sourceCurrency:
type: string
title: ''
description: 源货币
targetCurrency:
type: string
description: 目标货币
customerCurrency:
type: string
description: 总资产货币
requestNum:
type: number
title: ''
description: 请求数量
requestTime:
type: integer
description: 下单请求时间
remark:
type: string
description: 备注
required:
- tradeType
- requestNum
- targetCurrency
- customerCurrency
- requestTime
- remark
- sourceCurrency
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
positionId:
type: integer
title: 仓位ID
format: long
orderId:
type: integer
title: 订单ID
format: long
dealId:
type: integer
title: 成交单ID
format: long
status:
type: string
title: 仓位状态
description: 0-初始化;1-持仓中;2-已完成;3-部分平仓;
direction:
type: integer
format: int32
title: 买卖方向
description: 1-买;2-卖;
symbolId:
type: integer
title: 产品ID
format: long
symbolName:
type: string
title: 产品名称
openAccountDigits:
type: integer
title: 开仓账户小数位
format: int32
openSymbolDigits:
type: integer
format: int32
title: 开仓产品小数位
openContractSize:
type: integer
format: int32
title: 合约大小
openPrice:
type: string
title: 开仓单价
openNum:
type: string
title: 开仓数量
closeAccountDigits:
type: integer
title: 平仓账户小数位
format: int32
closeSymbolDigits:
type: integer
title: 平仓产品小数位
format: int32
closePrice:
type: string
title: 平仓单价
closeFreeDigits:
type: string
title: 平仓手续费小数位
profit:
type: string
title: 盈亏
openMargin:
type: string
title: 开仓占用保证金
stopLoss:
type: string
title: 止损单价
description: 原始登记值,未处理
takeProfit:
type: string
title: 止盈单价
description: 原始登记值,未处理
remark:
type: string
title: 备注
margin:
type: string
title: 实时占用保证金
openTime:
type: integer
format: long
title: 开仓时间
description: 13位时间戳
closeTime:
type: integer
format: long
title: 平仓时间
description: 13位时间戳
openFee:
type: string
title: 开仓手续费
closeFee:
type: string
title: 平仓手续费
closeNum:
type: string
title: 平仓数量
description: '*'
openVolume:
type: string
title: 开仓手数
description: '*'
closeVolume:
type: string
title: 平仓手数
description: '*'
minVolume:
type: string
title: 单边最小手数
description: '*'
stopLossDecimal:
type: string
title: 止损单价
description: '`stopLoss`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
takeProfitDecimal:
type: string
title: 止盈单价
description: '`takeProfit`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
volume:
type: string
title: 手数
marginSetType:
type: string
title: 保证金类型
description: 1-比例;2-范围;
title: 数据体
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-11wdkt-kg9i-ld2y-53mz854-1677571927
code: '0'
data:
symbolId: 720
orderId: 14460003
dealId: 94870543
canReduceMargin: '0.0000'
openPrice: '22.18'
remark: null
takeProfitDecimal: '0.00'
closeNum: 0
closeFee: '0.0000'
takeProfit: '0'
occupyTheMargin: '0.0000'
interest: '0.0000'
maintenanceMargin: '0.0000'
closeVolume: 0
openVolume: 0.1
closeTime: 0
closeAccountDigits: 4
symbolName: BINAN_SOL_USDT
openTime: 1677571033093
profit: null
tradeType: 1
direction: 1
singleMargin: null
margin: null
openContractSize: 1
resp: null
openMargin: '0.2209'
openNum: 0.1
openFee: '0.0665'
closeSymbolDigits: 2
warningMargin: '0.0000'
stopLossDecimal: '0.00'
adjustCrossLevel: 1-100
openSymbolDigits: 2
volume: 0.1
accountId: 1031767
companyId: 360
positionId: 2023022819827
closeFreeDigits: null
stopLoss: '0'
minVolume: null
marginSetType: '2'
crossLevelNum: 10
openAccountDigits: 4
closePrice: '0.0000'
status: '1'
bizCode: C
tm: 27
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: Close position fail
fail: true
trace: x-pw16m-so77fl71-x21ucw-sh0wz4-1677571968
code: '30001'
data: tradeapi.app.PositionApiService.queryPositionDetail
bizCode: C
tm: 93
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.CrossLeverOrderApiService.queryCapitalFlowList:
post:
summary: 资金流水
deprecated: false
description: |-
说明:分页查询账户资金流水
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryCapitalFlowList
```
tags:
- 交易接口/杠杆交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填2
format: long
accountId:
type: integer
format: long
title: 账户ID
size:
type: integer
title: 每页数据条数
format: long
current:
type: integer
title: 当前页
format: long
businessType:
type: integer
format: int32
title: 业务类型
description: 0-不限制;1-存款;2-取款;3-系统清零;4-额度调整;5-冻结;6-交易;36-划转;42-奖励;
status:
type: integer
format: int32
title: 状态
description: 0-不限制;1-初始化;2-处理成功;3-处理失败;
startTime:
type: integer
format: long
description: 13位时间戳
title: 起始时间
endTime:
type: integer
format: long
description: 13位时间戳
title: 结束时间
operate:
type: integer
format: int32
title: 资金流向
description: 0-不限制;1-增加;2-减少;
assetsId:
type: integer
format: long
title: 资产Id
lang:
type: string
title: 语种
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
total:
type: integer
title: 总数
format: long
size:
type: integer
format: long
title: 每页条数
current:
type: integer
format: long
title: 当前页
records:
type: array
items:
type: object
properties:
remark:
type: string
title: 备注
createTime:
type: integer
title: 创建日期
description: 13位时间戳
format: long
updateTime:
type: integer
format: long
title: 更新时间
description: 13位时间戳
subjectId:
type: integer
format: long
title: 科目ID
bookkeepId:
type: integer
format: long
title: 凭证ID
amountIn:
type: string
title: 增加金额
amountOut:
type: string
title: 减少金额
status:
type: integer
format: int32
title: 状态
description: 1-初始化;2-处理成功;3-处理失败;
amountAfter:
type: string
title: 变动后余额
businessType:
type: integer
title: 业务类型
format: int32
description: 1-存款;2-取款;3-系统清零;4-额度调整;5-冻结;6-交易;36-划转;42-奖励;
businessType1:
type: integer
format: int32
description: >-
1001-前端存款;1002-存款手续费;2001-前端取款;2002-取消取款;2003-取款手续费;2004-取消手续费;2005-确认转账;3001-系统清零;4001-额度调整_存款;4002-额度调整_取款;4003-额度调整_其他;4004-额度调整_赠金;4005-额度调整_释放不可提;4006-额度调整_不可提;4007-额度调整_转入返佣;5001-冻结;5002-解冻;6001-开仓手续费;6002-平仓手续费;6003-隔夜利息;6004-市价平仓盈亏;6005-止损平仓盈亏;6006-止盈平仓盈亏;6007-系统强平盈亏;6008-到期强平盈亏;6009-手动强平盈亏;36001-划入金额;36002-划出金额;42001-发放奖励;42002-扣回奖励;42003-发放返佣;42004-扣回返佣;
title: 业务子类型
customerNo:
type: string
title: 客户编号
digits:
type: string
title: 小数位
currency:
type: string
title: 币种
businessTypeName:
type: string
title: 业务类型名称
description: 按传入`lang`确认语种
businessType1Name:
type: string
title: 业务子类型名称
description: 按传入`lang`确认语种
accountId:
type: integer
title: 账户Id
format: long
title: 数据体
title: 流水集合
examples:
'1':
summary: 成功示例
value:
msg: Success
fail: false
trace: x-n72ql-snasw1-ts561r-31e7q-1677572540
code: '0'
data:
total: 40
current: 1
size: 20
records:
- amount: '-0.0665'
businessType1: 6001
amountAfter: '109849175.3769'
businessType1Name: Open position fee
updateTime: 1677571033166
remark: null
version: 0
subjectId: 1504110734228991000
accountId: 1031767
createTime: 1677571033151
businessTypeName: transaction
createdBy: null
updateBy: null
bookkeepId: 2023022819827
currency: USDT
digits: 4
amountIn: '0.0000'
amountOut: '0.0665'
id: 238603703
businessType: 6
customerNo: '86001175'
status: 2
bizCode: A
tm: 13
msgParams: null
ok: true
'2':
summary: 异常示例
value:
msg: System error
fail: true
trace: x-q7pj-8jiln-310518-4l0c69-1677572511
code: '500'
data: tradeapi.app.OrderApiService.queryCapitalFlowList
bizCode: TA
tm: 0
msgParams: null
ok: false
headers: {}
security: []
/global/tradeapi.app.SpotOrderApiService.queryCapitalFlowList:
post:
summary: 资金流水
deprecated: false
description: |-
说明:分页查询账户资金流水
登录后方可访问
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.SpotOrderApiService.queryCapitalFlowList
```
operationId: queryWaterByPage
tags:
- 交易接口/现货交易
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SpotQueryWaterPageDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultBasePageVoSpotSubjectWaterVo'
headers: {}
security: []
/global/tradeapi.app.SpotOrderApiService.closeTradePboOrder:
post:
summary: 取消限价单
deprecated: false
description: |-
说明:现货玩法取消限价单
登录后方可访问
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.SpotOrderApiService.closeTradePboOrder
```
operationId: cancelPendingOrder
tags:
- 交易接口/现货交易
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SpotOrderUpdateDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: &ref_24
$ref: '#/components/schemas/BaseResultSpotQueryOrderVo'
headers: {}
security: []
/global/tradeapi.app.SpotOrderApiService.queryOrderPage:
post:
summary: 查看订单列表
deprecated: false
description: |-
说明:查看订单列表
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.SpotOrderApiService.queryOrderPage
```
operationId: queryOrderPage
tags:
- 交易接口/现货交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SpotQueryOrderPageDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/BaseResultSpotQueryOrderPageVo'
headers: {}
security: []
/global/tradeapi.app.SpotOrderApiService.queryOrderDetail:
post:
summary: 查看订单详情
deprecated: false
description: |-
说明:现货玩法查看订单详情
登录后方可访问
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.SpotOrderApiService.queryOrderDetail
```
operationId: queryOrder
tags:
- 交易接口/现货交易
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SpotQueryOrderDto'
example: ''
responses:
'200':
description: ''
content:
application/json:
schema: *ref_24
headers: {}
security: []
/global/tradeapi.app.StockOrderApiService.placeOrder:
post:
summary: 下单
deprecated: false
description: |-
说明:股票交易下单
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.placeOrder
```
tags:
- 交易接口/股票交易
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: long
title: 玩法ID
description: 本玩法下应填6
accountCurrency:
type: string
title: 账户币种
accountDigits:
type: integer
format: int32
title: 账户小数位
bizType:
type: integer
format: int32
title: 订单业务类型
description: 1-市价买入;2-市价卖出;5-爆仓强平单;8-手动强平单;12-限价买入;13-限价卖出;
direction:
type: integer
title: 买卖方向
description: 1-买;2-卖;
format: int32
symbolId:
type: integer
format: long
title: 产品ID
digits:
type: integer
format: int32
title: 产品报价小数位
requestTime:
type: integer
format: long
title: 下单请求时间
requestPrice:
type: integer
format: long
title: 请求价格
description: 需按产品报价小数位处理为整形。限价类下单,已该字段为限价
requestNum:
type: string
title: 请求数量
remark:
type: string
title: 备注
required:
- tradeType
- accountCurrency
- accountDigits
- bizType
- direction
- symbolId
- digits
- requestTime
- requestPrice
- requestNum
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
orderId:
type: integer
title: 订单号
format: long
title: 数据体
headers: {}
security: []
x-docstype: TS.Clientapi.Trade
x-docstitle: 交易接口
/global/tradeapi.app.StockOrderApiService.cancelOrder:
post:
summary: 撤单
deprecated: false
description: |-
说明:撤销未成交单
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.cancelOrder
```
tags:
- 交易接口/股票交易
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: long
title: 玩法ID
description: 本玩法下应填6
bizType:
type: integer
format: int32
title: 订单业务类型
description: 14-用户取消挂单;15-后台取消挂单;16-爆仓自动取消挂单;
orderId:
type: integer
format: long
title: 订单ID
remark:
type: string
title: 备注
required:
- tradeType
- bizType
- orderId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
headers: {}
security: []
/global/tradeapi.app.StockOrderApiService.queryOrderDetail:
post:
summary: 委托单信息
deprecated: false
description: |-
说明:查询委托单信息
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryOrderDetail
```
tags:
- 交易接口/股票交易
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: long
title: 玩法ID
description: 本玩法下应填6
orderId:
type: integer
format: long
title: 订单ID
required:
- tradeType
- orderId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
orderId:
type: integer
title: 订单ID
format: long
bizType:
type: integer
format: int32
title: 订单业务类型
description: >-
1-市价买入;2-市价卖出;5-爆仓强平单;8-手动强平单;12-限价买入;13-限价卖出;14-用户取消挂单;15-后台取消挂单;16-爆仓自动取消挂单;
direction:
type: integer
format: int32
title: 订单买卖方向
description: 1-买;2-卖;
status:
type: integer
format: int32
title: 订单状态
description: 0-已提交;1-部分成交;2-全部成交;3-已撤单;4-失败;5-待成交;6-委托失败;
symbolId:
type: integer
format: long
title: 产品ID
symbolName:
type: string
title: 产品名称
symbolCode:
type: string
title: 产品编码
requestNum:
type: string
title: 请求数量
requestPrice:
type: string
title: 请求价格
requestTime:
type: integer
title: 请求时间
format: long
executeNum:
type: string
title: 已成交数量
title: 数据体
headers: {}
security: []
/global/tradeapi.app.StockOrderApiService.queryOrderPage:
post:
summary: 委托单列表
deprecated: false
description: |-
说明:分页查询委托单列表
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryOrderPage
```
tags:
- 交易接口/股票交易
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: long
title: 玩法ID
description: 本玩法下应填6
orderIds:
type: string
title: 订单ID串
description: 多个订单ID间以,分割
symbolId:
type: integer
title: 产品ID
format: long
direction:
type: integer
format: long
title: 订单买卖方向
description: 1-买;2-卖;
status:
type: integer
format: int32
title: 订单状态
description: 0-已提交;1-部分成交;2-全部成交;3-已撤单;4-失败;
current:
type: integer
title: 页码
format: int32
description: 默认1
size:
type: integer
format: int32
title: 每页数据量
description: 默认20
executeStartTime:
type: integer
format: long
title: 起始时间
description: 13位时间戳
executeEndTime:
type: integer
format: long
title: 结束时间
description: 13位时间戳
sortFieldName:
type: string
title: 排序字段
description: >-
request_time-委托时间;id-订单Id;symbol_id-产品Id;status-状态;create_time-订单创建时间;(默认request_time)
sortType:
type: string
title: 排序方式
description: desc-降序; asc-升序;(默认desc)
required:
- tradeType
- size
- executeStartTime
- executeEndTime
- sortFieldName
- sortType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
total:
type: integer
title: 总数
format: long
size:
type: integer
format: long
title: 每页条数
current:
type: integer
format: long
title: 当前页
records:
type: array
items:
type: object
properties:
orderId:
type: integer
title: 订单ID
format: long
bizType:
type: integer
format: int32
title: 订单业务类型
description: >-
1-市价买入;2-市价卖出;5-爆仓强平单;8-手动强平单;12-限价买入;13-限价卖出;14-用户取消挂单;15-后台取消挂单;16-爆仓自动取消挂单;
direction:
type: integer
format: int32
title: 订单买卖方向
description: 1-买;2-卖;
status:
type: integer
format: int32
title: 订单状态
description: 0-已提交;1-部分成交;2-全部成交;3-已撤单;4-失败;5-待成交;6-委托失败;
symbolId:
type: integer
format: long
title: 产品ID
symbolName:
type: string
title: 产品名称
symbolCode:
type: string
title: 产品编码
requestNum:
type: string
title: 请求数量
requestPrice:
type: string
title: 请求价格
requestTime:
type: integer
title: 请求时间
format: long
executeNum:
type: string
title: 已成交数量
title: 数据体
title: 委托列表
headers: {}
security: []
/global/tradeapi.app.StockOrderApiService.queryPendingOrderList:
post:
summary: 客户委托列表
deprecated: false
description: |-
说明:查询客户当前委托列表
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryPendingOrderList
```
tags:
- 交易接口/股票交易
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: long
title: 玩法ID
description: 本玩法下应填6
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: array
items:
type: object
properties:
orderId:
type: integer
title: 订单ID
format: long
bizType:
type: integer
format: int32
title: 订单业务类型
description: >-
1-市价买入;2-市价卖出;5-爆仓强平单;8-手动强平单;12-限价买入;13-限价卖出;14-用户取消挂单;15-后台取消挂单;16-爆仓自动取消挂单;
direction:
type: integer
title: 订单买卖方向
format: int32
description: 1-买;2-卖;
status:
type: integer
format: int32
title: 订单状态
description: 0-已提交;1-部分成交;2-全部成交;3-已撤单;4-失败;5-待成交;6-委托失败;
symbolId:
type: integer
format: long
title: 产品ID
symbolName:
type: string
title: 产品名称
symbolCode:
type: string
title: 产品编码
requestNum:
type: string
title: 请求数量
requestPrice:
type: string
title: 请求价格
requestTime:
type: integer
title: 请求时间
format: long
description: 13位时间戳
executeNum:
type: string
title: 已成交数量
headers: {}
security: []
/global/tradeapi.app.StockOrderApiService.checkOrder:
post:
summary: 下单校验
deprecated: false
description: |-
说明:校验本次下单结果
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.checkOrder
```
tags:
- 交易接口/股票交易
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: long
title: 玩法ID
description: 本玩法下应填6
accountCurrency:
type: string
title: 账户币种
accountDigits:
type: integer
format: int32
title: 账户小数位
bizType:
type: integer
format: int32
title: 订单业务类型
description: 1-市价买入;2-市价卖出;5-爆仓强平单;8-手动强平单;12-限价买入;13-限价卖出;
direction:
type: integer
title: 买卖方向
description: 1-买;2-卖;
format: int32
symbolId:
type: integer
format: long
title: 产品ID
digits:
type: integer
format: int32
title: 产品报价小数位
requestTime:
type: integer
format: long
title: 下单请求时间
requestPrice:
type: integer
format: long
title: 请求价格
description: 需按产品报价小数位处理为整形。限价类下单,已该字段为限价
requestNum:
type: string
title: 请求数量
remark:
type: string
title: 备注
required:
- tradeType
- accountCurrency
- accountDigits
- bizType
- direction
- symbolId
- digits
- requestTime
- requestPrice
- requestNum
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
direction:
type: integer
format: int32
title: 买卖方向
description: 1-买;2-卖;
beforePositionNum:
type: string
title: 本次交易前仓位股数
afterPositionNum:
type: string
title: 本次交易后仓位股数
loanAmount:
type: string
title: 本次交易需贷款金额
title: 数据体
headers: {}
security: []
/global/tradeapi.app.StockOrderApiService.calculateOrder:
post:
summary: 交易试算
deprecated: false
description: |-
说明:试算可买卖股数
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.calculateOrder
```
tags:
- 交易接口/股票交易
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: long
title: 玩法ID
description: 本玩法下应填6
accountCurrency:
type: string
title: 账户币种
accountDigits:
type: integer
format: int32
title: 账户小数位
direction:
type: integer
title: 买卖方向
description: 1-买;2-卖;
format: int32
symbolId:
type: integer
format: long
title: 产品ID
digits:
type: integer
format: int32
title: 产品报价小数位
required:
- tradeType
- accountCurrency
- accountDigits
- direction
- symbolId
- digits
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
canClosePositionNum:
type: string
title: 可平仓股数
canSellNum:
type: string
title: 融券可卖出股数
canBuyNum:
type: string
title: 现金可买入股数
canLoanBuyNum:
type: string
title: 贷款可买入股数
title: 数据体
headers: {}
security: []
/global/tradeapi.app.StockOrderApiService.queryDealPage:
post:
summary: 成交单列表
deprecated: false
description: |-
说明:查询成交单列表
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryDealPage
```
tags:
- 交易接口/股票交易
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: long
title: 玩法ID
description: 本玩法下应填6
symbolId:
type: integer
format: long
title: 产品ID
bizType:
type: integer
format: int32
title: 订单业务类型
description: 1-市价买入;2-市价卖出;5-爆仓强平单;8-手动强平单;12-限价买入;13-限价卖出;
direction:
type: integer
title: 买卖方向
description: 1-买;2-卖;
format: int32
current:
type: integer
format: int32
title: 页码
description: 默认1
size:
type: integer
format: int32
title: 每页数据量
description: 默认20
executeStartTime:
type: integer
title: 起始时间
format: long
description: 13位时间戳
executeEndTime:
type: integer
format: long
title: 结束时间
description: 13位时间戳
sortFieldName:
type: string
title: 排序字段
description: execute_time-成交时间;id-成交单Id;symbol_id-产品Id;(默认execute_time)
sortType:
type: string
title: 排序方式
description: desc-降序; asc-升序;(默认desc)
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
accountId:
type: integer
title: 账户id
format: long
companyId:
type: integer
title: 公司id
format: long
customerId:
type: integer
title: 客户id
format: long
customerNo:
type: string
title: 客户编号
current:
type: integer
title: 当前页码
format: int32
size:
type: integer
format: int32
title: 每页数据量
totalPage:
type: integer
format: int32
title: 总页数
list:
type: array
items:
type: object
properties:
dealId:
type: integer
title: 成交单ID
format: long
orderId:
type: integer
format: long
title: 订单ID
bizType:
type: integer
format: int32
title: 订单业务类型
description: >-
1-市价买入;2-市价卖出;5-爆仓强平单;8-手动强平单;12-限价买入;13-限价卖出;14-用户取消挂单;15-后台取消挂单;16-爆仓自动取消挂单;
direction:
type: integer
format: int32
title: 订单买卖方向
description: 1-买;2-卖;
symbolId:
type: integer
title: 产品ID
format: long
symbolName:
type: string
title: 产品名称
symbolCode:
type: string
title: 产品编码
executeNum:
type: string
title: 成交量
executePrice:
type: string
title: 成交价格
tradeAmount:
type: string
title: 成交金额
commission:
type: string
title: 手续费
executeTime:
type: integer
format: long
title: 成交时间
description: 13位时间戳
title: 成交单列表集合
title: 数据体
headers: {}
security: []
/global/tradeapi.app.StockOrderApiService.getPositionDealDetailList:
post:
summary: 仓位成交列表
deprecated: false
description: |-
说明:查询仓位关联成交单列表
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.getPositionDealDetailList
```
tags:
- 交易接口/股票交易
parameters: []
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
format: long
title: 玩法ID
description: 本玩法下应填6
positionId:
type: integer
format: long
title: 仓位ID
required:
- tradeType
- positionId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
direction:
type: integer
title: 订单买卖方向
format: int32
description: 1-买;2-卖;
executeTime:
type: integer
format: long
title: 成交时间
description: 13位时间戳
executePrice:
type: string
title: 成交均价
executeNumber:
type: string
title: 成交数量
executeAmount:
type: string
title: 成交金额
title: 数据体
headers: {}
security: []
/global/tradeapi.app.StockPositionApiService.queryPositionDetail:
post:
summary: 持仓详情
deprecated: false
description: |-
说明:查询持仓详情
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.PositionApiService.queryPositionDetail
```
tags:
- 交易接口/股票交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填6
format: long
accountId:
type: integer
title: 账户ID
format: long
positionId:
type: integer
title: 仓位id
format: long
required:
- tradeType
- positionId
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
positionId:
type: integer
title: 仓位ID
format: long
orderId:
type: integer
title: 订单ID
format: long
dealId:
type: integer
title: 成交单ID
format: long
status:
type: string
title: 仓位状态
description: 0-初始化;1-持仓中;2-已完成;3-部分平仓;
direction:
type: integer
format: int32
title: 买卖方向
description: 1-买;2-卖;
symbolId:
type: integer
title: 产品ID
format: long
symbolName:
type: string
title: 产品名称
openAccountDigits:
type: integer
title: 开仓账户小数位
format: int32
openSymbolDigits:
type: integer
format: int32
title: 开仓产品小数位
openContractSize:
type: integer
format: int32
title: 合约大小
openPrice:
type: string
title: 开仓单价
openNum:
type: string
title: 开仓数量
closeAccountDigits:
type: integer
title: 平仓账户小数位
format: int32
closeSymbolDigits:
type: integer
title: 平仓产品小数位
format: int32
closePrice:
type: string
title: 平仓单价
closeFreeDigits:
type: string
title: 平仓手续费小数位
profit:
type: string
title: 盈亏
openMargin:
type: string
title: 开仓占用保证金
stopLoss:
type: string
title: 止损单价
description: 原始登记值,未处理
takeProfit:
type: string
title: 止盈单价
description: 原始登记值,未处理
remark:
type: string
title: 备注
margin:
type: string
title: 实时占用保证金
openTime:
type: integer
format: long
title: 开仓时间
description: 13位时间戳
closeTime:
type: integer
format: long
title: 平仓时间
description: 13位时间戳
openFee:
type: string
title: 开仓手续费
closeFee:
type: string
title: 平仓手续费
closeNum:
type: string
title: 平仓数量
openVolume:
type: string
title: 开仓手数
closeVolume:
type: string
title: 平仓手数
minVolume:
type: string
title: 单边最小手数
stopLossDecimal:
type: string
title: 止损单价
description: '`stopLoss`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
takeProfitDecimal:
type: string
title: 止盈单价
description: '`takeProfit`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
volume:
type: string
title: 手数
marginSetType:
type: string
title: 保证金类型
description: 1-比例;2-范围;
title: 数据体
headers: {}
security: []
/global/tradeapi.app.StockPositionApiService.queryPositionPage:
post:
summary: 持仓列表
deprecated: false
description: |-
说明:查询持仓列表
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.PositionApiService.queryPositionPage
```
tags:
- 交易接口/股票交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填6
format: long
accountId:
type: integer
title: 账户ID
format: long
status:
type: integer
format: int32
title: 仓位状态
description: 1-持仓中;3-部分平仓;
orderId:
type: integer
title: 订单ID
format: long
dealId:
type: integer
format: long
title: 成交单ID
symbolId:
type: integer
format: long
title: 产品ID
startTime:
type: integer
title: 开始时间
format: long
description: 13位时间戳
endTime:
type: integer
format: long
title: 结束时间
description: 13位时间戳
sortFieldName:
type: string
title: 排序字段名
description: orderId-订单Id;openTime-执行时间;symbolId-产品Id;pnl-盈亏;
sortType:
type: string
title: 排序方式
description: asc-升序;desc-降序;(默认desc)
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: array
items:
type: object
properties:
positionId:
type: integer
title: 仓位ID
format: long
orderId:
type: integer
title: 订单ID
format: long
dealId:
type: integer
title: 成交单ID
format: long
status:
type: string
title: 仓位状态
description: 0-初始化;1-持仓中;2-已完成;3-部分平仓;
direction:
type: integer
format: int32
title: 买卖方向
description: 1-买;2-卖;
symbolId:
type: integer
title: 产品ID
format: long
symbolName:
type: string
title: 产品名称
openAccountDigits:
type: integer
title: 开仓账户小数位
format: int32
openSymbolDigits:
type: integer
format: int32
title: 开仓产品小数位
openContractSize:
type: integer
format: int32
title: 合约大小
openPrice:
type: string
title: 开仓单价
openNum:
type: string
title: 开仓数量
closeAccountDigits:
type: integer
title: 平仓账户小数位
format: int32
closeSymbolDigits:
type: integer
title: 平仓产品小数位
format: int32
closePrice:
type: string
title: 平仓单价
closeFreeDigits:
type: string
title: 平仓手续费小数位
profit:
type: string
title: 盈亏
openMargin:
type: string
title: 开仓占用保证金
stopLoss:
type: string
title: 止损单价
description: 原始登记值,未处理
takeProfit:
type: string
title: 止盈单价
description: 原始登记值,未处理
remark:
type: string
title: 备注
margin:
type: string
title: 实时占用保证金
openTime:
type: integer
format: long
title: 开仓时间
description: 13位时间戳
closeTime:
type: integer
format: long
title: 平仓时间
description: 13位时间戳
openFee:
type: string
title: 开仓手续费
closeFee:
type: string
title: 平仓手续费
closeNum:
type: string
title: 平仓数量
openVolume:
type: string
title: 开仓手数
closeVolume:
type: string
title: 平仓手数
minVolume:
type: string
title: 单边最小手数
stopLossDecimal:
type: string
title: 止损单价
description: '`stopLoss`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
takeProfitDecimal:
type: string
title: 止盈单价
description: '`takeProfit`根据`closeSymbolDigits`处理后结果。用于前端直接展示'
volume:
type: string
title: 手数
marginSetType:
type: string
title: 保证金类型
description: 1-比例;2-范围;
title: 数据体
headers: {}
security: []
/global/tradeapi.app.StockOrderApiService.queryCapitalFlowList:
post:
summary: 资金流水
deprecated: false
description: |-
说明:分页查询账户资金流水
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.OrderApiService.queryCapitalFlowList
```
tags:
- 交易接口/股票交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填6
format: long
accountId:
type: integer
format: long
title: 账户ID
size:
type: integer
title: 每页数据条数
format: long
current:
type: integer
title: 当前页
format: long
businessType:
type: integer
format: int32
title: 业务类型
description: >-
0-不限制;601-存款;602-取款;603-额度调整;604-冻结;605-担保品;606-交易;607-借款;608-还款;609-划转;610-利息计算;611-利息结算;612-奖励;613-系统清零;614-公司行动;
status:
type: integer
format: int32
title: 状态
description: 0-不限制;1-初始化;2-处理成功;3-处理失败;
startTime:
type: integer
format: long
description: 13位时间戳
title: 起始时间
endTime:
type: integer
format: long
description: 13位时间戳
title: 结束时间
operate:
type: integer
format: int32
title: 资金流向
description: 0-不限制;1-增加;2-减少;
assetsId:
type: integer
format: long
title: 资产Id
lang:
type: string
title: 语种
required:
- tradeType
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
total:
type: integer
title: 总数
format: long
size:
type: integer
format: long
title: 每页条数
current:
type: integer
format: long
title: 当前页
records:
type: array
items:
type: object
properties:
remark:
type: string
title: 备注
createTime:
type: integer
title: 创建日期
description: 13位时间戳
format: long
updateTime:
type: integer
format: long
title: 更新时间
description: 13位时间戳
subjectId:
type: integer
format: long
title: 科目ID
bookkeepId:
type: integer
format: long
title: 凭证ID
amountIn:
type: string
title: 增加金额
amountOut:
type: string
title: 减少金额
status:
type: integer
format: int32
title: 状态
description: 1-初始化;2-处理成功;3-处理失败;
amountAfter:
type: string
title: 变动后余额
businessType:
type: integer
title: 业务类型
format: int32
description: >-
601-存款;602-取款;603-额度调整;604-冻结;605-担保品;606-交易;607-借款;608-还款;609-划转;610-利息计算;611-利息结算;612-奖励;613-系统清零;614-公司行动;
businessType1:
type: integer
format: int32
description: >-
60101-前端存款;60102-存款手续费;60201-前端取款;60202-取消取款;60203-取款手续费;60204-取消手续费;60205-确认转账;60301-额度调整_存款;60302-额度调整_取款;60303-额度调整_其他;60304-额度调整_赠金;60305-额度调整_释放不可提;60306-额度调整_不可提;60307-转入返佣;60401-冻结;60402-解冻;60501-担保品冻结;60502-担保品解冻;60601-成交入账金额;60602-成交出账金额;60603-交易手续费;60701-自动借款;60801-自动还款;60802-强平还款;60901-划入金额;60902-划出金额;61001-融资融券利息计算;61101-融资融券利息结算;61201-发放奖励;61202-扣回奖励;61203-发放返佣;61204-扣回返佣;61301-系统清零;61401-派息金额;61402-派息费用;
title: 业务子类型
customerNo:
type: string
title: 客户编号
digits:
type: string
title: 小数位
currency:
type: string
title: 币种
businessTypeName:
type: string
title: 业务类型名称
description: 按传入`lang`确认语种
businessType1Name:
type: string
title: 业务子类型名称
description: 按传入`lang`确认语种
accountId:
type: integer
title: 账户Id
format: long
title: 数据体
title: 流水集合
headers: {}
security: []
/global/tradeapi.app.StockAccountApiService.queryAccountAssetsInfo:
post:
summary: 资产信息
deprecated: false
description: |-
说明:查询账户资产信息
```
group=tradeApi
version=0.0.1
bizType=tradeapi.app.AccountApiService.queryAccountAssetsInfo
```
tags:
- 交易接口/股票交易
parameters:
- name: companyId
in: header
description: ''
required: false
example: '{{company}}'
schema:
type: string
- name: token
in: header
description: ''
required: false
example: '{{LoginResult.data.token}}'
schema:
type: string
- name: lang
in: header
description: ''
required: false
example: en-US
schema:
type: string
- name: group
in: header
description: ''
required: false
example: tradeApi
schema:
type: string
- name: trace
in: header
description: ''
required: false
example: '{{mock_trace}}'
schema:
type: string
- name: version
in: header
description: ''
required: false
example: 0.0.1
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
tradeType:
type: integer
title: 玩法ID
description: 本玩法下应填6
format: long
currencyCode:
type: string
title: 资产编码
required:
- tradeType
- currencyCode
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties:
companyId:
type: integer
title: 公司Id
format: long
tradeType:
type: integer
format: long
title: 玩法Id
accountId:
type: integer
format: long
title: 账户Id
customerNo:
type: string
title: 客户编号
customerId:
type: integer
format: long
title: 客户ID
digits:
type: integer
format: int32
title: 账户小数位
assetsId:
type: integer
format: long
title: 资产Id
currency:
type: string
title: 账户币种
balance:
type: string
title: 账户余额
lockAmount:
type: string
title: 锁定金额
positionMarketValue:
type: string
title: 持仓市值
positionBuyMarketValue:
type: string
title: 买入持仓市值
positionSellMarketValue:
type: string
title: 卖出持仓市值
equity:
type: string
title: 净值
pnl:
type: string
title: 账户盈亏
liabilitiesPrincipal:
type: string
title: 负债本金
margin:
type: string
title: 初始保证金
warningMargin:
type: string
title: 预警保证金
maintainMargin:
type: string
title: 维持保证金
maxDayPurchasePower:
type: string
title: 最大日内购买力
maxNightPurchasePower:
type: string
title: 最大隔夜购买力
withdrawAmount:
type: string
title: 现金可提
residualLiquidity:
type: string
title: 剩余流动性
riskLevel:
type: integer
format: int32
title: 风控状态
description: 1-安全;2-告警;3-危险;
crossLevel:
type: string
title: 杠杆倍数
headers: {}
security: []
components:
schemas:
BaseResultListSymbolVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/SymbolVO'
ok:
type: boolean
fail:
type: boolean
WithdrawCurrencyResDto:
type: object
properties:
list:
type: array
items:
$ref: '#/components/schemas/WithdrawCurrencyListResDto'
map:
type: object
additionalProperties:
type: object
additionalProperties:
type: string
properties: {}
BasePageVoSubjectWaterVo:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/SpotSubjectWaterVo'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
FundTrendChartTypeDto:
type: object
properties:
name:
type: string
title: 名称
type:
type: integer
title: 类型
description: 1:市场价 2:净值
columnList:
type: array
items: &ref_51
$ref: '#/components/schemas/FundTrendChartDto'
required:
- name
- columnList
SymbolVO:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
name:
type: string
description: 交易产品名称
code:
type: string
description: 交易产品代码
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈利货币
sourceId:
type: string
description: 行情源
tradeTypes:
type: string
description: 支持玩法数组
etf:
type: boolean
UpdateDTO: &ref_39
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
WithdrawCurrencyListResDto:
type: object
properties:
currency:
type: string
withdrawMethod:
type: string
BaseResultBasePageVoSpotSubjectWaterVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoSubjectWaterVo'
ok:
type: boolean
fail:
type: boolean
FundTrendChartDto:
type: object
properties:
time:
type: string
title: 日期
value:
type: string
title: y坐标值
required:
- time
- value
BaseResultListSymbolGroup:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/SymbolGroup'
ok:
type: boolean
fail:
type: boolean
BaseResultBlackCustomerAdminVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: &ref_50
$ref: '#/components/schemas/BlackCustomerAdminVO'
ok:
type: boolean
fail:
type: boolean
BaseResultWithdrawCurrencyResDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/WithdrawCurrencyResDto'
ok:
type: boolean
fail:
type: boolean
SpotSubjectWaterVo:
type: object
properties:
id:
type: integer
format: int64
remark:
type: string
createdBy:
type: integer
format: int64
createTime:
type: integer
format: int64
updateBy:
type: integer
format: int64
updateTime:
type: integer
format: int64
subjectId:
type: integer
format: int64
version:
type: integer
format: int64
bookkeepId:
type: integer
format: int64
amountIn:
type: string
amountOut:
type: string
status:
type: integer
format: int32
amountAfter:
type: string
businessType:
type: integer
format: int32
businessType1:
type: integer
format: int32
customerNo:
type: string
amount:
type: string
digits:
type: integer
format: int32
currency:
type: string
businessTypeName:
type: string
businessType1Name:
type: string
orderId:
type: string
description: 订单id
dealId:
type: string
description: 成交单Id
FundNetValueChangeQuoteChartVo: &ref_49
type: object
properties:
symbolId:
type: integer
format: int64
title: 产品id
description: 和fundId任选其一
fundId:
type: integer
format: int64
title: 基金id
description: 和symbolId任选其一
title: ''
SymbolGroup:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
revision:
type: integer
format: int32
description: 乐观锁
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
name:
type: string
description: 产品组名称
BlackCustomerAdminVO:
type: object
properties:
id:
type: object
description: id
properties: {}
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
phone:
type: string
description: 手机号码
email:
type: string
description: 邮箱
area:
type: string
description: 地域
resource:
type: string
description: 来源
remark:
type: string
description: 备注
ip:
type: string
description: ip
customerNo:
type: string
description: 客户编号
idCardArea:
type: string
description: 身份证所在地
ipArea:
type: string
description: IP所在地
phoneArea:
type: string
description: 手机所在地
QueryWithdrawLimitConfigReqDto:
type: object
required:
- tradeType
properties:
tradeType:
type: integer
format: int64
customerGroupId:
type: integer
format: int64
description: 客户组id
country:
type: string
description: 国家编码
accountCurrency:
type: string
description: 账户货币编码
withdrawCurrency:
type: string
description: 客户收款货币编码
withdrawMethod:
type: string
description: 取款方式,银行卡:bank,数字钱包:digit_wallet
withdrawType:
type: integer
format: int32
description: 取款类型,银行卡:1,数字钱包:2
blockchainName:
type: string
description: 链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
QueryWithdrawRiskLimitConfigReqDto:
type: object
required:
- tradeType
properties:
tradeType:
type: integer
format: int64
accountCurrency:
type: string
description: 账户货币编码
withdrawCurrency:
type: string
description: 客户收款货币编码
withdrawMethod:
type: string
description: 取款方式,银行卡:bank,数字钱包:digit_wallet
withdrawType:
type: integer
format: int32
description: 取款类型,银行卡:1,数字钱包:2
blockchainName:
type: string
description: 链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
QueryRemainWithdrawAmountReqDto:
type: object
required:
- withdrawType
- withdrawMethod
- accountCurrency
properties:
withdrawType:
type: integer
format: int32
description: 取款类型,银行卡:1,数字钱包:2
withdrawMethod:
type: string
description: 取款方式,coin_blockatmpay,coin_mdpay等
accountCurrency:
type: string
description: 账户货币编码
withdrawCurrency:
type: string
description: witdrawType为2时必填,客户收款货币编码
blockchainName:
type: string
description: >-
witdrawType为2时必填,链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
QueryRemainWithdrawAmountRespDto:
type: object
required:
- tradeType
- remainAmount
- limitAmount
- withdrawAmount
properties:
tradeType:
type: integer
format: int64
customerGroupId:
type: integer
format: int64
description: 客户组id
country:
type: string
description: 国家编码
accountCurrency:
type: string
description: 账户货币编码
withdrawCurrency:
type: string
description: 客户收款货币编码
withdrawMethod:
type: string
description: 取款方式,银行卡:bank,数字钱包:digit_wallet
withdrawType:
type: integer
format: int32
description: 取款类型,银行卡:1,数字钱包:2
blockchainName:
type: string
description: 链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
remainAmount:
type: string
description: 24小时累计剩余可取金额
limitAmount:
type: string
description: 24小时累计最高金额
withdrawAmount:
type: string
description: 24小时累计已经提取金额
SpotQueryWaterPageDto:
type: object
required:
- customerGroupId
- tradeType
properties:
tradeType:
type: integer
format: int64
minimum: 1
description: 玩法类型
customerGroupId:
type: integer
format: int64
description: 客户组Id
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
sortFieldName:
type: string
sortType:
type: string
businessType:
type: integer
format: int32
status:
type: integer
format: int32
customerNoStr:
type: string
startTime:
type: integer
format: int64
endTime:
type: integer
format: int64
operate:
type: integer
format: int32
FundBatchMarketPerfChartVo: &ref_53
type: object
properties:
symbolId:
type: integer
format: int64
title: 基金id
description: 和symbolId任选其一
fundId:
type: integer
format: int64
description: 和fundId任选其一
title: 产品id
days:
type: integer
title: 天数
type:
type: integer
title: 类型
description: ' 1-按天统计 2-按小时统计'
required:
- days
- type
title: ''
BaseResultSymbolDetailVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/SymbolDetailVO'
ok:
type: boolean
fail:
type: boolean
DetailDTO: *ref_39
QueryWithdrawLimitConfigRespDto:
type: object
properties:
enableWithdraw:
type: boolean
description: 是否允许取款
withdrawAmount:
type: string
description: 账户可取金额
digit:
type: integer
format: int32
withdrawConditionConfig: &ref_40
$ref: '#/components/schemas/CustomerGroupWithdrawConditionConfigDto'
withdrawTimeConfigList:
type: array
description: 取款时间限制配置
items: &ref_41
$ref: '#/components/schemas/CustomerGroupWithdrawTimeConfigDto'
withdrawAmountConfig: &ref_42
$ref: '#/components/schemas/CustomerGroupWithdrawAmountConfigDto'
withdrawFeeConfigList:
type: array
description: 取款手续费配置
items: &ref_43
$ref: '#/components/schemas/CustomerGroupWithdrawFeeConfigDto'
customerGroupEnable:
type: boolean
description: 客户组是否允许取款
timeEnable:
type: boolean
description: 取款时间否允许取款
accountActiveEnable:
type: boolean
description: 账户必须激活否允许取款
amountEnable:
type: boolean
description: 客户账户余额是否允许取款
hourIn24Enable:
type: boolean
description: 24小时内次数是否允许取款
walletEnable:
type: boolean
description: 是否允许提币
pwdModifyEnable:
type: boolean
description: 修改密码后间隔时长是否允许取款
loginModifyEnable:
type: boolean
description: 修改手机号/邮箱后间隔时长是否允许取款
QueryWithdrawRiskLimitConfigRespDto:
type: object
properties:
enableWithdraw:
type: boolean
description: 是否允许取款
withdrawRiskConfig: &ref_78
$ref: '#/components/schemas/WithdrawRiskConfigDto'
withdrawConditionConfig: *ref_40
withdrawTimeConfigList:
type: array
description: 取款时间限制配置
items: *ref_41
withdrawAmountConfigList:
type: array
items: *ref_42
withdrawFeeConfigList:
type: array
description: 取款手续费配置
items: *ref_43
customerGroupEnable:
type: boolean
description: 客户组是否允许取款
timeEnable:
type: boolean
description: 取款时间否允许取款
accountActiveEnable:
type: boolean
description: 账户必须激活否允许取款
hourIn24Enable:
type: boolean
description: 24小时内次数是否允许取款
required:
- withdrawRiskConfig
BaseResultSpotOrderAddVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/SpotOrderAddVo'
ok:
type: boolean
fail:
type: boolean
BaseResultMMBotConfVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/MMBotConfVo'
ok:
type: boolean
fail:
type: boolean
FundMarketPerfChartVo:
type: object
properties:
symbolId:
type: integer
format: int64
title: 产品id
description: 和fundId任选其一
fundId:
type: integer
format: int64
title: 基金id
description: 和symbolId任选其一
days:
type: integer
title: 天数
type:
type: integer
title: 类型
description: ' 1-按天统计 2-按小时统计'
required:
- days
- type
title: ''
SymbolDetailVO:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法
symbolId:
type: integer
format: int64
description: 产品Id
symbolName:
type: string
description: 产品名称
symbolCode:
type: string
description: 产品代码
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈亏货币
symbolDigits:
type: integer
format: int32
description: 产品小数位
numberDigits:
type: integer
format: int32
description: 数量小数位
priceBreadth:
type: integer
format: int32
description: 价格广度
earlyWarningProportion:
type: number
description: 预警比例
askSpread:
type: number
description: ASK点差
bidSpread:
type: number
description: BID点差
marginType:
type: integer
format: int32
description: 保证金计算公式
marginInfo:
$ref: '#/components/schemas/MarginInfoGroup'
description: 保证金信息
dailyMarginSet:
type: array
items: *ref_1
description: 平日保证金层级
holidayMarginSet:
type: array
items: *ref_1
description: 假期保证金层级
weekendMarginSet:
type: array
items: *ref_1
description: 周末保证金层级
beforeHolidayMarginSet:
type: array
items: *ref_1
description: 假期前保证金比例
beforeWeekendMarginSet:
type: array
items: *ref_1
description: 周末前保证金比例
usedMarginSet:
type: array
items: *ref_1
description: 当前使用保证金比例
tradeTimeList:
type: array
items: *ref_2
description: 交易时间
quoteTimeList:
type: array
items: *ref_44
description: 行情时间
holidayTimeList:
type: array
items: *ref_3
description: 假期时间
weekendLeadTime:
type: integer
format: int64
description: 周末提前时间(分)
holidayLeadTime:
type: integer
format: int64
description: 假期提前时间(分)
contractSize:
type: integer
format: int32
description: 合约大小
pointRatio:
type: integer
format: int64
description: 大点比率
volumeStep:
type: number
description: 手数步长
minVolume:
type: number
description: 单边最小手数
maxVolume:
type: number
description: 单边最大手数
stopLossMinPoint:
type: integer
format: int32
description: 止损最小距离
stopLossMaxPoint:
type: integer
format: int32
description: 止损最大距离
buyInterest:
type: number
description: 买入隔夜利息
sellInterest:
type: number
description: 卖出隔夜利息
priceMaxLimit:
type: number
description: 限价最大距离
priceMinLimit:
type: number
description: 限价最小距离
eodTime:
type: string
description: 结息时间
feeMethod:
type: string
description: 手续费收取方式
feeFormula:
type: string
description: 手续费计算公式
feeRate:
type: number
description: 手续费率
fee:
type: number
description: 手续费
startTime:
type: integer
format: int64
description: 产品开始时间
endTime:
type: integer
format: int64
description: 产品到期时间
leverRatio:
type: string
description: 杠杆倍数
borrowingLimitRatio:
type: number
description: 限制借款比例
multipleFreezeRatio:
type: number
description: 多冻比例
transferLimitRatio:
type: number
description: 限制划出资产比例
borrowInterestList:
type: array
items: *ref_45
description: 借款利息
borrowLimitList:
type: array
items: *ref_46
description: 借款限额
borrowStatusList:
type: array
items: *ref_47
description: 借款产品
totalCredit:
type: number
description: 总授信
dealMode:
type: integer
format: int32
description: 成交模式
etf:
type: boolean
description: 是否是ETF
fundId:
type: integer
format: int64
description: 关联基金ID
tradeEnable:
type: integer
format: int32
description: 是否可交易
newShare:
type: string
description: 最新份额
labels:
type: string
description: 标签
labelList:
type: array
items: *ref_4
description: 标签列表
minTradeUnit:
type: integer
format: int64
description: 最小交易单位(股/每手)
tradeDirection:
type: string
description: 交易方向
wholeYearDays:
type: integer
format: int64
description: 全年天数
accountReset:
type: string
description: 账户清零
accountPositionTotalVolumes:
type: integer
format: int64
description: 账户持仓总手数
withdrawalRatio:
type: number
description: 取款比例
enableShortLoan:
type: integer
format: int32
description: 是否可融券
enableLongLoan:
type: integer
format: int32
description: 是否可融资
accountDayLeverageRatio:
type: integer
format: int64
description: 账户日内杠杆倍数
accountOvernightLeverageRatio:
type: integer
format: int64
description: 账户日内杠杆倍数
buyMaxPositionVolumes:
type: number
description: 买入最大持仓手数
sellMaxPositionVolumes:
type: number
description: 卖出最大持仓手数
minFee:
type: number
description: 最低手续费金额
maxFee:
type: number
description: 最高手续费金额
daytimeBuyInitMarginRatio: *ref_1
daytimeBuyRemainingMarginRatio: *ref_1
daytimeBuyAlarmMarginRatio: *ref_1
daytimeSellInitMarginRatio: *ref_1
daytimeSellRemainingMarginRatio: *ref_1
daytimeSellAlarmMarginRatio: *ref_1
overnightBuyInitMarginRatio: *ref_1
overnightBuyRemainingMarginRatio: *ref_1
overnightBuyAlarmMarginRatio: *ref_1
overnightSellInitMarginRatio: *ref_1
overnightSellRemainingMarginRatio: *ref_1
overnightSellAlarmMarginRatio: *ref_1
overnightInAdvance:
type: integer
format: int64
description: 隔夜提前时间(分)
longLoanYearRatio:
type: array
items: *ref_48
description: 融资年利息率
shortLoanYearRatio:
type: number
description: 融券年利息率
liquidationFormula:
type: string
description: 强平计算公式
netAssetCurrency:
type: string
description: 净资产币种
limitOrderMaxVolume:
type: integer
format: int64
description: 限价订单最大数量
enableReverseTrade:
type: string
description: 是否支持反方向同时交易
dividendFee:
type: number
description: 派息费用(按比例)
minDividendFee:
type: number
description: 最低派息费用
corporateActionCode:
type: string
description: 公司行动临时代码
dividendFutureInfos:
type: array
items: *ref_5
description: 公司未来行动
dividendPastInfos:
type: array
items: *ref_5
description: 公司过去行动
stockStatus:
type: string
description: 股票状态(TRADING/CLOSED)
CustomerGroupWithdrawTimeConfigDto:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 公司客户组id
companyTimezone:
type: string
description: 公司运营所在时区
weekDay:
type: integer
format: int32
description: 星期几
openTime:
type: string
description: 取款时间,格式为01:00-12:00,13:00-18:00,19:00-22:59
withdrawMethod:
type: string
description: 取款方式,银行卡:bank,数字钱包:digit_wallet
SpotOrderAddVo:
type: object
properties:
orderId:
type: integer
format: int64
tradeVolume:
type: string
executePrice:
type: string
openDirection:
type: integer
format: int32
direction:
type: integer
format: int32
symbolName:
type: string
symbolId:
type: integer
format: int64
digits:
type: integer
format: int32
fee:
type: string
lockToken:
type: string
inCurrency:
type: string
inDigits:
type: integer
format: int32
inAmount:
type: number
FundInvestCombChartVo: *ref_49
DividendInfo:
type: object
properties:
dividendSymbolName:
type: string
description: 派息股票名称
dividendCurrency:
type: string
description: 派息币种
dividendDate:
type: integer
format: int64
description: 行动日期
dividendLeft:
type: string
description: 行动类型参数值
dividendRight:
type: string
description: 行动类型参数值
dividendActionType:
type: integer
format: int32
description: 行动类型
actionInfo:
type: string
description: 行动信息
description: 公司行动
BasePageVoBlackCustomerAdminVO:
type: object
properties:
records:
type: array
description: 结果列表
items: *ref_50
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
CustomerGroupWithdrawFeeConfigDto:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 公司客户组id
accountCurrency:
type: string
description: 账户币种
withdrawCurrency:
type: string
description: 取款币种
blockchainName:
type: string
description: 区块链名称
valueType:
type: string
description: >-
值类型,单笔取款金额:single_amount、开仓保证金总额/存款总额(比例):open_margin_rate、24小时取款次数:with24hour_times
leftOpenValue:
type: number
description: 区间左边值
rightCloseValue:
type: number
description: 区间右边值
feeType:
type: integer
format: int32
description: 手续费类型,固定金额:1、百分比率:2
feeValue:
type: number
description: 手续费固定金额值/比率值)
withdrawMethod:
type: string
description: 取款方式,银行卡:bank,数字钱包:digit_wallet
BaseResultSpotQueryOrderVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: &ref_54
$ref: '#/components/schemas/SpotQueryOrderVo'
ok:
type: boolean
fail:
type: boolean
BaseResultMapStringListFundTrendChartDto:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
description: 单位:毫秒
title: 处理时长
trace:
type: string
title: 跟踪码
msgParams:
type: string
description: 多个参数间以,分割
title: 返回描述中占位符参数串
data:
type: object
properties:
key:
type: string
value:
type: array
items: *ref_51
title: 数据体
required:
- key
- value
fail:
type: boolean
ok:
type: boolean
title: ''
BorrowAssetsInterest:
type: object
properties:
id:
type: integer
format: int64
description: ID
borrowInterestGroupId:
type: integer
format: int64
description: 借款利息分组ID
assetsId:
type: integer
format: int64
description: 资产ID
value:
type: number
description: 借款利息率
assetCode:
type: string
description: 资产CODE
description: 借款利息率
BaseResultBasePageVoBlackCustomerAdminVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoBlackCustomerAdminVO'
ok:
type: boolean
fail:
type: boolean
CustomerGroupWithdrawConditionConfigDto:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 公司客户组id
mustActive:
type: boolean
description: 客户是否必须激活,才可取款
maxCount:
type: integer
format: int32
description: 24小时取款次数
modifyPwdDisableWithdrawIntervals:
type: integer
format: int64
description: 修改密码后不可取款时间:单位分钟
modifyLoginDisableWithdrawIntervals:
type: integer
format: int64
description: 更改手机/邮箱后不可取款时间:单位分钟
withdrawMethod:
type: string
description: 取款方式,银行卡:bank,数字钱包:digit_wallet
SpotOrderAddDto:
type: object
required:
- bizType
- direction
- requestPrice
- symbolId
- tradeType
- requestNum
properties:
tradeType:
type: integer
format: int64
minimum: 1
description: 玩法类型,固定值5
bizType:
type: integer
format: int32
description: 订单业务类型(市价:12、限价:13)
direction:
type: integer
format: int32
description: 订单买卖方向(买方向:1;卖方向:2)
symbolId:
type: integer
format: int64
description: 产品ID
accountCurrency:
type: string
requestTime:
type: integer
format: int64
requestPrice:
type: number
description: 请求价格
requestNum:
type: number
description: 请求数量(买方向,当请求金额;卖方向,当请求数量)
accountDigits:
type: integer
format: int32
remark:
type: string
entryType:
type: integer
format: int32
description: 下单类型。1-按数量;2-按额;(如不传,默认 买按额,卖按量)
expiryType:
type: string
description: 到期类型。1-1天;2-7天;3-30天;4-90天。默认4
source:
type: string
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(限制最高255字符,枚举仅供参考,只能使用字母、数字、下划线)
title: 订单来源
thirdPartyOrder:
type: string
title: 三方订单标识
description: (限制最高255字符,只能使用字母、数字、下划线)
slippage:
type: string
title: 交易滑点
description: >-
仅市价单有效。可为百分比(仅支持2位小数,超出部分按四舍五入处理)也可以时浮点型仅支持4位小数,超出部分按四舍五入处理)。其他格式不支持。
RealTimeInvestCombinationDto:
type: object
properties:
asset:
type: string
title: 资产
range:
type: string
title: 排名
weight:
type: string
title: 权重
weightRealValue:
type: string
title: 权重真实值
previousPeriodRangeCompare:
type: string
title: 较上期排名变化
previousPeriodWeightCompare:
type: string
title: 较上期权重变化
title: ''
DictVO:
type: object
properties:
parentId:
type: integer
format: int64
description: 上级ID
id:
type: integer
format: int64
description: 主键id
name:
type: string
description: 字典名称
displayName:
type: string
description: 显示名称
nameTw:
type: string
description: 字典名称TW
nameEn:
type: string
description: 字典名称EN
code:
type: string
description: 字典代码
parentCode:
type: string
description: 上级代码
sort:
type: integer
format: int32
description: 排序
showType:
type: string
description: 字典显示类型
extend:
type: string
description: 扩展属性
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
revision:
type: integer
format: int32
description: 乐观锁
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
hasLeaf:
type: integer
format: int32
description: 是否有子节点
BlackCustomerQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
status:
type: integer
format: int32
description: 状态:1启用、2禁用
updateTimeFrom:
type: integer
format: int64
description: 更新时间,开始时间
updateTimeTo:
type: integer
format: int64
description: 更新时间,结束时间
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
email:
type: string
description: 邮箱
resource:
type: string
description: 来源
customerNo:
type: string
description: 客户编号
phone:
type: string
description: 手机号码
ip:
type: string
description: ip
area:
type: string
description: 地域
whiteCompanyId:
type: integer
format: int64
description: 白标公司Id
CustomerGroupWithdrawAmountConfigDto:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 公司客户组id
accountCurrency:
type: string
description: 账户币种
withdrawCurrency:
type: string
description: 取款货币(支付通道支持的货币)
blockchainName:
type: string
description: 链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
singleLowAmount:
type: number
description: 单笔最低取款金额
singleHighAmount:
type: number
description: 单笔最高取款金额
singleCheckLowAmount:
type: number
description: 需人工审核单笔最低取款金额
maxIn24hourAmount:
type: number
description: 24小时内最高取款金额
withdrawMethod:
type: string
description: 取款方式,银行卡:bank,数字钱包:digit_wallet
SpotQueryOrderVo:
type: object
properties:
busiiType:
type: integer
format: int32
title: 订单业务类型
description: 订单业务类型
direction:
type: integer
format: int32
title: 订单买卖方向
description: 订单买卖方向
status:
type: integer
format: int32
title: 订单状态
description: 订单状态
userGroupId:
type: integer
format: int64
title: 客户组ID
description: 客户组ID
symbolId:
type: integer
format: int64
title: 产品ID
description: 产品ID
digits:
type: integer
format: int64
title: 产品小数位
description: 产品小数位
contractSize:
type: integer
format: int32
title: 产品合约大小
description: 产品合约大小
requestPrice:
type: number
title: 请求价格
description: 请求价格
requestNum:
type: number
title: 请求数量
description: 请求数量
requestTime:
type: integer
format: int64
title: 请求时间
description: 请求时间
executeMarginRate:
type: integer
format: int32
title: 执行保证金比例
description: 执行保证金比例
executeMarginRateDigits:
type: integer
format: int32
title: 执行保证金比例小数位
description: 执行保证金比例小数位
spread:
type: integer
format: int32
title: 成交点差
description: 成交点差
pointRatio:
type: integer
format: int32
title: 成交大点比例
description: 成交大点比例
executePrice:
type: number
title: 成交价
description: 成交价
executeRate:
type: integer
format: int64
title: 成交汇率
description: 成交汇率
rateDigits:
type: integer
format: int64
title: 汇率小数位
description: 汇率小数位
fee:
type: number
title: 成交手续费
description: 成交手续费
feeDigits:
type: integer
format: int64
title: 成交手续费小数位
description: 成交手续费小数位
executeTime:
type: integer
format: int64
title: 成交时间
description: 成交时间
createTime:
type: integer
format: int64
title: 创建时间
description: 创建时间
updateTime:
type: integer
format: int64
title: 最后更新时间
description: 最后更新时间
positionId:
type: integer
format: int64
title: 仓位ID
description: 仓位ID
stopLoss:
type: number
title: 止损单价
description: 止损单价
takeProfit:
type: number
title: 止盈单价
description: 止盈单价
remark:
type: string
title: 备注
description: 备注
executeAvgPrice:
type: string
description: 成交均价
title: 成交均价
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
BaseResultListRealTimeInvestCombinationDto:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
description: 单位:毫秒
title: 处理时长
trace:
type: string
title: 跟踪码
msgParams:
type: string
description: 多个参数间以,分割
title: 返回描述中占位符参数串
data:
type: array
items:
$ref: '#/components/schemas/RealTimeInvestCombinationDto'
title: 数据体
fail:
type: boolean
ok:
type: boolean
title: ''
BorrowStatus:
type: object
properties:
id:
type: integer
format: int64
description: ID
borrowStatusGroupId:
type: integer
format: int64
description: 资产是否可借分组ID
assetsId:
type: integer
format: int64
description: 资产ID
value:
type: integer
format: int32
description: 资产是否可借 1、2、是、否
description: 资产是否可借
BlackCustomerAdminAddDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
phone:
type: string
description: 手机号码
email:
type: string
description: 邮箱
area:
type: string
description: 地域
resource:
type: string
description: 来源
remark:
type: string
description: 备注
customerNo:
type: string
description: 客户编号
ip:
type: string
description: ip
idCardArea:
type: string
description: 身份证所在地
ipArea:
type: string
description: IP所在地
phoneArea:
type: string
description: 手机所在地
BaseResultQueryWithdrawLimitConfigRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/QueryWithdrawLimitConfigRespDto'
ok:
type: boolean
fail:
type: boolean
BaseResultQueryWithdrawRiskLimitConfigRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: boolean
ok:
type: boolean
fail:
type: boolean
BaseResultQueryRemainWithdrawAmountRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/QueryRemainWithdrawAmountRespDto'
ok:
type: boolean
fail:
type: boolean
SpotOrderUpdateDto:
type: object
required:
- customerGroupId
- orderId
- tradeType
properties:
tradeType:
type: integer
format: int64
minimum: 1
customerGroupId:
type: integer
format: int64
description: 客户组Id
orderId:
type: integer
format: int64
remark:
type: string
IndexSingleAssetPerformanceVo:
type: object
properties:
xaxisName:
type: string
title: x轴名称
quoteChange:
type: string
title: 涨跌幅
title: ''
BorrowLimit:
type: object
properties:
id:
type: integer
format: int64
description: ID
borrowListGroupId:
type: integer
format: int64
description: 借款利息分组ID
assetsId:
type: integer
format: int64
description: 资产ID
value:
type: number
description: 最大借款限额
description: 最大借款限额
BlackCustomerAdminUpdateDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
phone:
type: string
description: 手机号码
email:
type: string
description: 邮箱
area:
type: string
description: 地域
resource:
type: string
description: 来源
remark:
type: string
description: 备注
customerNo:
type: string
description: 客户编号
ip:
type: string
description: ip
idCardArea:
type: string
description: 身份证所在地
ipArea:
type: string
description: IP所在地
phoneArea:
type: string
description: 手机所在地
BaseResultJSONArray:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
type: object
properties: {}
required:
- 01GV5DQ8AC3WJ1A2SWA5GE6FF3
ok:
type: boolean
fail:
type: boolean
BaseResultSpotTradeRecordVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/SpotTradeRecordVo'
ok:
type: boolean
fail:
type: boolean
BaseResultListIndexSingleAssetPerformanceVo:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长
description: 单位:毫秒
trace:
type: string
title: 跟踪码
msgParams:
type: string
description: 多个参数间以,分割
title: 返回描述中占位符参数串
data:
type: array
items:
$ref: '#/components/schemas/IndexSingleAssetPerformanceVo'
title: 数据体
fail:
type: boolean
ok:
type: boolean
title: ''
BorrowInterest:
type: object
properties:
id:
type: integer
format: int64
description: ID
borrowInterestGroupId:
type: integer
format: int64
description: 借款利息分组ID
assetsId:
type: integer
format: int64
description: 资产ID
value:
type: number
description: 借款利息率
description: 借款利息率
CancelCustomerAdminDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
remark:
type: string
description: 审核备注
BaseResultInteger:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: integer
format: int32
description: 数据体
ok:
type: boolean
fail:
type: boolean
SpotTradeRecordList:
type: object
properties:
symbolId:
type: integer
format: int64
orderId:
type: integer
format: int64
dealId:
type: integer
format: int64
bizType:
type: integer
format: int32
symbolName:
type: string
direction:
type: integer
format: int32
requestPrice:
type: string
executePrice:
type: string
requestNum:
type: string
loanAmount:
type: string
executeTime:
type: integer
format: int64
outCurrency:
type: string
inCurrency:
type: string
stopLoss:
type: string
takeProfit:
type: string
commission:
type: string
profitLoss:
type: string
overnightInterest:
type: string
numberStatisticMode:
type: integer
format: int32
accountCurrency:
type: string
moneyAmountCurrency:
type: string
symbolCode:
type: string
tradeAmount:
type: string
executeNum:
type: string
description: 成交额
executeAmount:
type: string
description: 成交额
source:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
IndexChartDto:
type: object
properties:
indexId:
type: integer
format: int64
title: 指数id
required:
- indexId
title: ''
HolidayTime:
type: object
properties:
startTime:
type: integer
format: int64
description: 开始时间,13位时间戳
endTime:
type: integer
format: int64
description: 结束时间,13位时间戳
description: 假期时间
BaseResultListWithdrawMethodQueryDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: *ref_19
ok:
type: boolean
fail:
type: boolean
SpotQueryOrderDto:
type: object
properties:
orderId:
type: integer
format: int64
IndexSymbolCombinationVo:
type: object
properties:
asset:
type: string
title: 产品基础货币
range:
type: integer
format: int32
title: 排名
weight:
type: string
title: 权重
previousPeriodRangeCompare:
type: string
title: 较上期排名变化
previousPeriodWeightCompare:
type: string
title: 较上期权重变化
title: ''
QuoteTime:
type: object
properties:
dayOfWeek:
type: integer
format: int32
description: 周几,1-7 星期一至星期日
startTime:
type: integer
format: int64
description: 开始时间,单位秒
endTime:
type: integer
format: int64
description: 结束时间,单位秒
description: 行情时间
CancelCustomerQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
email:
type: string
description: 邮箱
phone:
type: string
description: 手机号码
applyTimeFrom:
type: integer
format: int64
description: 申请时间,开始
applyTimeTo:
type: integer
format: int64
description: 申请时间,结束
customerNo:
type: string
description: 客户编号
QueryCustomerWithdrawExchangeRateDto:
type: object
properties:
accountId:
type: integer
format: int64
description: 账户ID
customerGroupId:
type: integer
format: int64
description: 客户组id
withdrawCurrency:
type: string
description: 客户收款货币编码
accountCurrency:
type: string
description: 账户货币编码
exchangeRate:
type: number
description: 汇率
withdrawType:
type: integer
format: int32
description: 取款类型,提现:1(提款到银行卡)、提币:2(提数字币到数字钱包)
withdrawMethod:
type: string
description: 取款方式,银行卡:bank,数字钱包:digit_wallet
blockchainName:
type: string
description: 链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
SpotTradeRecordVo:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
size:
type: integer
format: int64
current:
type: integer
format: int64
totalPage:
type: integer
format: int64
list:
type: array
items:
$ref: '#/components/schemas/SpotTradeRecordList'
bizTypeText:
type: object
additionalProperties:
type: string
properties: {}
BaseResultListIndexSymbolCombinationVo:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
description: 单位:毫秒
title: 处理时长
trace:
type: string
title: 跟踪码
msgParams:
type: string
description: 多个参数间以,分割
title: 返回描述中占位符参数串
data:
type: array
items:
$ref: '#/components/schemas/IndexSymbolCombinationVo'
title: 数据体
fail:
type: boolean
ok:
type: boolean
title: ''
TradeTime:
type: object
properties:
dayOfWeek:
type: integer
format: int32
description: 周几,1-7 星期一至星期日
startTime:
type: integer
format: int64
description: 开始时间,单位秒
endTime:
type: integer
format: int64
description: 结束时间,单位秒
description: 交易时间
BasePageVoCancelCustomerAdminPageVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/CancelCustomerAdminPageVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultQueryCustomerWithdrawExchangeRateDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: *ref_52
ok:
type: boolean
fail:
type: boolean
SpotQueryOrderRecordPageDto:
type: object
properties:
username:
type: string
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
downloadType:
type: integer
format: int32
description: 下载类型 1:直接下载,2:异步下载
sortFieldName:
type: string
sortType:
type: string
tradeType:
type: string
orderType:
type: string
symbolId:
type: integer
format: int64
executeStartTime:
type: integer
format: int64
executeEndTime:
type: integer
format: int64
direction:
type: string
accountIds:
type: string
querySource:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
FundNetValueCompareDto:
type: object
properties:
netValue:
type: string
marketPrice:
type: string
netValueChangeQuote:
type: string
marketPriceChangeQuote:
type: string
totalBalance:
type: string
currency:
type: string
latestShare:
type: string
title: ''
MarginSet:
type: object
properties:
id:
type: string
description: 保证金ID
groupId:
type: integer
format: int64
description: 保证金组ID
rangeLeft:
type: number
description: 范围开始
rangeRight:
type: number
description: 范围结束
percent:
type: number
description: 万分比
type:
type: string
description: 类型
values:
type: string
description: 数值
BaseResultBasePageVoCancelCustomerAdminPageVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoCancelCustomerAdminPageVO'
ok:
type: boolean
fail:
type: boolean
WithdrawAmountLimitReqDto:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 客户组id
country:
type: string
description: 国家
accountCurrency:
type: string
description: 账户货币(交易账号货币)
withdrawCurrency:
type: string
description: 取款货币(支付通道支持的货币)
withdrawType:
type: integer
format: int32
description: 取款类型,提现:1(提款到银行卡)、提币:2(提数字币到数字钱包)
withdrawMethod:
type: string
description: 取款方式,银行卡:bank、数字钱包:digit_wallet、skrill电子钱包:skrill_wallet、电汇:wire
blockchainName:
type: string
description: 链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
SpotQueryOrderPageDto:
type: object
required:
- customerGroupId
- tradeType
properties:
tradeType:
type: integer
format: int64
minimum: 1
customerGroupId:
type: integer
format: int64
description: 客户组Id
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
sortFieldName:
type: string
sortType:
type: string
orderIds:
type: string
symbolId:
type: integer
format: int64
bizType:
type: integer
format: int64
direction:
type: integer
format: int64
status:
type: integer
format: int64
positionId:
type: integer
format: int64
querySource:
type: string
title: 订单来源
description: >-
H5:移动端web;PC_Web:pcweb;System:系统;Android:安卓原生app;iOS:苹果原生app;HOS:鸿蒙OS;PC_Win:pcwindows客户端;PC_Mac:pcmac客户端;默认同登录来源。(枚举仅供参考)
thirdPartyOrder:
type: string
title: 三方订单标识
QryMMBotConfPageReqDto:
type: object
properties:
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
orderIds: &ref_60
description: 排序字段列表
$ref: '#/components/schemas/FieldOrderDto'
BaseResultFundNetValueCompareDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/FundNetValueCompareDto'
fail:
type: boolean
ok:
type: boolean
title: ''
MarginInfoGroup:
type: object
properties:
type:
type: string
description: 类型
values:
type: string
description: 数值
marginVoList:
type: array
description: 明细
items:
$ref: '#/components/schemas/MarginInfo'
CancelCustomerAdminPageVO:
type: object
properties:
id:
type: object
description: id
properties: {}
createTime:
type: integer
format: int64
description: 申请时间
updateTime:
type: integer
format: int64
description: 更新时间
remarkDestroy:
type: string
description: 销户原因
status:
type: integer
format: int32
description: 状态 1、2、3、未审核、审核同意、审核拒绝
pno:
type: string
description: 提案编号
accountIds:
type: string
description: 交易账户Ids
companyId:
type: integer
format: int64
description: 公司
customerNo:
type: string
description: 客户账号
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
idCardType:
type: string
description: 证件类型
idCard:
type: string
description: 证件号码
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
WithdrawAmountLimitRespDto:
type: object
required:
- tradeType
properties:
tradeType:
type: integer
format: int64
singleLowAmount:
type: string
description: 单笔最低取款金额
singleHighAmount:
type: string
description: 单笔最高取款金额
withdrawAmount:
type: string
description: 可取金额
withdrawCurrency:
type: string
description: 取款币种
BaseResultSpotQueryOrderPageVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
description: 数据体
$ref: '#/components/schemas/BasePageVoSpotQueryOrderVo'
ok:
type: boolean
fail:
type: boolean
FundMarketPerfQuoteChangeChartVo: *ref_53
MarginInfo:
type: object
properties:
id:
type: string
description: 保证金ID
groupId:
type: integer
format: int64
description: 保证金组ID
type:
type: string
description: 类型
values:
type: string
description: 数值
rangeLeft:
type: number
description: 范围开始
rangeRight:
type: number
description: 范围结束
percent:
type: number
description: 万分比
BasePageVoCancelCustomerAdminReviewPageVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/CancelCustomerAdminReviewPageVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultWithdrawAmountLimitRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/WithdrawAmountLimitRespDto'
ok:
type: boolean
fail:
type: boolean
BasePageVoSpotQueryOrderVo:
type: object
properties:
records:
type: array
description: 结果列表
items: *ref_54
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultMapLongListFundTrendChartTypeDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
description: 数据体
additionalProperties:
type: array
items:
type: object
properties: {}
properties:
key:
type: integer
value:
type: array
items:
$ref: '#/components/schemas/FundTrendChartTypeDto'
required:
- key
- value
fail:
type: boolean
ok:
type: boolean
title: ''
SearchSymbolDto:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法ID
customerGroupId:
type: integer
format: int64
description: 客户组ID
name:
type: string
description: 产品名称
required:
- tradeType
- customerGroupId
BaseResultBasePageVoCancelCustomerAdminReviewPageVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoCancelCustomerAdminReviewPageVO'
ok:
type: boolean
fail:
type: boolean
WithdrawMethodQueryDto:
type: object
required:
- tradeType
properties:
tradeType:
type: integer
format: int64
customerGroupId:
type: integer
format: int64
description: 客户组id
country:
type: string
description: 国家编码
withdrawCurrency:
type: string
description: 支持币种
withdrawMethod:
type: string
description: 取款方式编码
channelName:
type: string
description: 通道名称
CustGroupWithdrawMethodQueryReqDto: &ref_56
type: object
properties: {}
QueryWithdrawRiskConfigReqDto:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 客户组id
required:
- customerGroupId
WithdrawRiskConfigDto:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 客户组id
mustActive:
type: boolean
description: 客户是否必须激活,才可取款
maxCount:
type: integer
description: 24小时取款次数
modifyLoginDisableWithdrawIntervals:
type: integer
description: 更改手机/邮箱后不可取款时间:小时
firstSetLoginPwdDisableWithdrawIntervals:
type: integer
description: 首次设置登录密码后不可取款时间:小时
firstSetFundPwdDisableWithdrawIntervals:
type: integer
description: 首次设置资金密码后不可取款时间:小时
modifyPwdDisableWithdrawIntervals:
type: integer
description: 修改登录密码、忘记登录密码、修改资金密码、重置资金密码:小时
newAddressDisableIntervals:
type: integer
description: 新添加的提现地址禁用时间:小时
required:
- mustActive
- maxCount
- modifyLoginDisableWithdrawIntervals
- firstSetLoginPwdDisableWithdrawIntervals
- firstSetFundPwdDisableWithdrawIntervals
- modifyPwdDisableWithdrawIntervals
- newAddressDisableIntervals
SingeAssetPerformanceChartVo:
type: object
properties:
symbolId:
type: integer
format: int64
title: 产品id
description: 和fundId任选其一
fundId:
type: integer
format: int64
title: 基金id
description: 和symbolId任选其一
statisticType:
type: integer
description: 1:日 2:周 3:月
title: 统计类型
required:
- statisticType
title: ''
BaseResultListSymbolInfoVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/SymbolInfoVo'
ok:
type: boolean
fail:
type: boolean
CancelCustomerAdminReviewPageVO:
type: object
properties:
id:
type: object
description: id
properties: {}
createTime:
type: integer
format: int64
description: 申请时间
updateTime:
type: integer
format: int64
description: 更新时间
remarkDestroy:
type: string
description: 销户原因
status:
type: integer
format: int32
description: 状态 1、2、3、未审核、审核同意、审核拒绝
pno:
type: string
description: 提案编号
accountIds:
type: string
description: 交易账户Ids
companyId:
type: integer
format: int64
description: 公司
customerNo:
type: string
description: 客户账号
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
idCardType:
type: string
description: 证件类型
idCard:
type: string
description: 证件号码
approval:
type: string
description: 审批人
approvalTime:
type: integer
format: int64
description: 审批时间
remark:
type: string
description: 审核备注
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
WithdrawCurrencyListReqDto:
type: object
required:
- tradeType
properties:
tradeType:
type: integer
format: int64
customerGroupId:
type: integer
format: int64
country:
type: string
description: 国家编码
SingleAssetPerformanceDto:
type: object
properties:
type:
type: integer
format: int32
quoteChange:
type: string
xaxisName:
type: string
title: ''
SymbolInfoVo:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法
symbolId:
type: integer
format: int64
description: 产品ID
symbolCode:
type: string
description: 产品代码
symbolName:
type: string
description: 产品名称
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈利货币
customerGroupIds:
type: string
description: 客户组权限
symbolGroupIds:
type: string
description: 产品组关系
symbolDigits:
type: integer
format: int32
description: 小数位
askSpread:
type: string
description: askSpread
bidSpread:
type: string
description: bidSpread
pointRatio:
type: integer
format: int32
description: 大点比率
dealMode:
type: integer
format: int32
description: 成交模式
etf:
type: boolean
description: 是否是ETF
fundId:
type: integer
format: int64
description: 关联基金ID
labels:
type: string
description: 标签
sortNum:
type: integer
format: int32
description: 排序字段
enableShortLoan:
type: integer
format: int32
description: 是否可融券
enableLongLoan:
type: integer
format: int32
description: 是否可融资
dividend:
type: integer
format: int32
description: 是否可交易
inHolidayTime:
type: integer
description: 是否假期中
inTradeTime:
type: integer
description: 是否交易时间中
holidayTimeList: *ref_3
tradeTimeList: *ref_2
required:
- inHolidayTime
- inTradeTime
- holidayTimeList
- tradeTimeList
CancelCustomerReviewQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
email:
type: string
description: 邮箱
phone:
type: string
description: 手机号码
approvalTimeFrom:
type: integer
format: int64
description: 审批时间,开始
approvalTimeTo:
type: integer
format: int64
description: 审批时间,结束
customerNo:
type: string
description: 客户编号
status:
type: integer
format: int32
description: 状态 1、2、3、待审核、同意、拒绝
CustomerGroupWithdrawCurrencyConfigDto:
type: object
required:
- tradeType
properties:
tradeType:
type: integer
format: int64
customerGroupId:
type: integer
format: int64
description: 公司客户组id
country:
type: string
description: 国家编码
withdrawCurrency:
type: string
description: 取款币种
blockchainName:
type: string
description: 区块链名称
withdrawMethod:
type: string
description: 取款方式,银行卡:bank,数字钱包:digit_wallet
BaseResultListSingleAssetPerformanceDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/SingleAssetPerformanceDto'
fail:
type: boolean
ok:
type: boolean
title: ''
SearchSymbolBaseDto:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 客户组ID
required:
- customerGroupId
BaseResultListCustomerGroupWithdrawCurrencyConfigDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/CustomerGroupWithdrawCurrencyConfigDto'
ok:
type: boolean
fail:
type: boolean
SearchAssetsDto:
type: object
properties:
type:
type: integer
format: int32
description: 资产类型 0、全部资产1、通用资产 2、基金资产 默认0
required:
- type
BaseResultString:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: string
description: 数据体
ok:
type: boolean
fail:
type: boolean
BaseResultOpenFundsVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: &ref_57
$ref: '#/components/schemas/OpenFundsVo'
ok:
type: boolean
fail:
type: boolean
CreateCustomerWithdrawReqDto:
type: object
required:
- customerGroupId
- tradeType
- withdrawMethod
properties:
accountId:
type: integer
format: int64
description: 账户ID
tradeType:
type: integer
format: int64
customerGroupId:
type: integer
format: int64
description: 客户组id
country:
type: string
description: 国家
accountCurrency:
type: string
description: 账户货币(交易账号货币)
withdrawCurrency:
type: string
description: 取款货币(支付通道支持的货币)
amount:
type: number
description: 取款金额
withdrawCoinAmount:
type: number
description: 提币金额
withdrawRateSerialNo:
type: string
description: 取款费率流水号
rate:
type: number
description: 发送给平台CATS2使用的取款汇率
bankAccountName:
type: string
description: 银行卡持有者姓名
bankName:
type: string
description: 银行卡银行名称
bankCode:
type: string
description: 银行卡银行code
bankCardNo:
type: string
description: 银行卡号
remark:
type: string
description: 备注
withdrawType:
type: integer
format: int32
description: 取款类型WithdrawTypeEnum,提现:1(提款到银行卡)、提币:2(提数字币到数字钱包)
withdrawMethod:
type: string
description: >-
取款方式WithdrawMethodEnum,银行卡:bank、数字钱包:digit_wallet、skrill电子钱包:skrill_wallet、电汇:wire、OTC365:otc365
blockchainName:
type: string
description: 链名称,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
extend:
type: string
description: 扩展字段-手机号码等
fundPwd:
type: string
description: 资金密码字段,需要md5加密
googleCode:
type: string
description: 谷歌验证码
QueryWithdrawBankReqDto:
type: object
properties:
withdrawMethod:
type: string
description: 取款方式
withdrawCurrency:
type: string
description: 取款货币
OpenFundsVo:
type: object
properties:
fundId:
type: integer
format: int64
description: 基金Id
fundName:
type: string
description: 基金名称
fundType:
type: string
description: 基金类型
managerName:
type: string
description: 经理名称
preShare:
type: string
description: 发行份额
upDate:
type: string
description: 成立日期
shareToken:
type: integer
format: int64
description: 基金份额代币
shareTokenCode:
type: string
description: 基金份额代币Code
operationMode:
type: integer
format: int64
description: 运作方式
trackIndex:
type: integer
format: int64
description: 跟踪指数
trackIndexOut:
type: string
description: 外部跟踪指数
companyId:
type: integer
format: int64
description: 基金公司ID
customerNo:
type: string
description: 绑定基金净值账号
settlementCompanyId:
type: integer
format: int64
description: 基金结算公司ID
settlementCustomerNo:
type: string
description: 绑定基金结算账号
introduction:
type: string
description: 基金介绍
canPurchase:
type: integer
format: int32
description: 是否可申购。1-是;2-否;
purchaseFeeProportion:
type: number
description: 申购手续费率(小数。百分之一=0.01)
purchaseCurrencySetting:
type: array
description: 申购资产设置。JSON格式
items:
$ref: '#/components/schemas/PurchaseAssetsSet'
canRedemption:
type: integer
format: int32
description: 是否可赎回。1-是;2-否;
redemptionFeeProportion:
type: number
description: 赎回手续费率(小数。百分之一=0.01)
redemptionCurrencySetting:
type: array
description: 赎回可选币种列表
items:
$ref: '#/components/schemas/RedemptionAssetsSet'
minRedemptionNum:
type: number
description: 最小赎回份额数
newShare:
type: string
description: 最新份额
managementFee:
type: number
description: 基金管理费(年。小数。百分之一=0.01)
dailySettlementTime:
type: integer
format: int32
description: 管理费每日结算时间(UTC。分钟)
yearDays:
type: integer
format: int32
description: 全年天数
customerId:
type: integer
format: int64
description: 绑定基金净值账号ID
settlementCustomerId:
type: integer
format: int64
description: 绑定基金结算账号Id
purchaseType:
type: integer
format: int32
description: 申购方式。1-按金额申购;2-按份额申购;
fundCurrencyList:
type: array
description: 底层资产列表
items:
$ref: '#/components/schemas/BaseAssets'
shareTokenDigits:
type: integer
format: int32
description: 基金份额代币小数位
BaseResultCustomerWithdrawProposalDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: &ref_76
$ref: '#/components/schemas/CustomerWithdrawProposalDto'
ok:
type: boolean
fail:
type: boolean
BaseAssets:
type: object
properties:
currencyCode:
type: string
description: 币种编码
currencyName:
type: string
description: 币种名称
weight:
type: string
description: 权重
BaseResultCustomerSimpleVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: &ref_84
$ref: '#/components/schemas/CustomerSimpleVO'
ok:
type: boolean
fail:
type: boolean
ComputeWithdrawReqDto:
type: object
required:
- amount
- tradeType
- withdrawRateSerialNo
- withdrawType
properties:
tradeType:
type: integer
format: int64
customerGroupId:
type: integer
format: int64
description: 客户组id
country:
type: string
description: 国家
accountCurrency:
type: string
description: 账户货币(交易账号货币)
withdrawCurrency:
type: string
description: 取款货币(支付通道支持的货币)
amount:
type: string
description: 取款/提币金额
withdrawRateSerialNo:
type: string
description: 取款费率流水号
rate:
type: string
description: 发送给平台CATS2使用的取款汇率
withdrawType:
type: integer
format: int32
description: 取款类型,提现:1(提款到银行卡)、提币:2(提数字币到数字钱包)
withdrawMethod:
type: string
description: 取款方式,银行卡:bank、数字钱包:digit_wallet、skrill电子钱包:skrill_wallet、电汇:wire
blockchainName:
type: string
description: 链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
RedemptionAssetsSet:
type: object
properties:
currencyCode:
type: string
description: 币种编码
currencyName:
type: string
description: 币种名称
minRedemptionAmount:
type: number
description: 单笔最小赎回金额
minRedemptionNum:
type: number
description: 单笔最小申购份额
redemptionFeeProportion:
type: number
description: 赎回手续费率
CustomerSimpleVO:
type: object
properties:
customerNo:
type: string
description: 客户账号
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
idCardType:
type: string
description: 证件类型
idCard:
type: string
description: 证件号码
phoneArea:
type: string
description: 手机区号
emailArea:
type: string
description: 邮箱区号
id:
type: integer
format: int64
description: 客户Id
loginTime:
type: integer
format: int64
description: 最后登陆时间
firstCapitalInTime:
type: integer
format: int64
description: 首次入金时间
firstAccountActivateTime:
type: integer
format: int64
description: 交易账号首次激活时间
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
ComputeWithdrawFeeRespDto:
type: object
required:
- tradeType
properties:
tradeType:
type: integer
format: int64
finalAmount:
type: string
description: 预计到账(收款币种)
withdrawFee:
type: string
description: 取款手续费(账户币种)
coinFee:
type: string
description: 提币手续费(提币币种)
coinFinalAmount:
type: string
description: 预计到账(提币币种)
amount:
type: string
description: 账户扣减额度(账户币种)
PurchaseAssetsSet:
type: object
properties:
currencyCode:
type: string
description: 币种编码
currencyName:
type: string
description: 币种名称
minPurchaseAmount:
type: number
description: 单笔最小申购金额
minPurchaseNum:
type: number
description: 单笔最小申购份额
purchaseFeeProportion:
type: number
description: 申购手续费率
QueryCustomerDTO: &ref_83
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
BaseResultComputeWithdrawFeeRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/ComputeWithdrawFeeRespDto'
ok:
type: boolean
fail:
type: boolean
BaseResultQueryEquityPremiumRateVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/QueryEquityPremiumRateVo'
ok:
type: boolean
fail:
type: boolean
UpdateThirdAccountNoDTO:
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
thirdAccountNo:
type: string
description: 三方账户
SaveOrderExecuteStandardConfigReqDto:
type: object
required:
- configDtoList
- customerGroupId
properties:
customerGroupId:
type: integer
format: int64
description: 客户组id
configDtoList:
type: array
description: 下单执行标准配置数组
items: &ref_55
$ref: '#/components/schemas/OrderExecuteStandardConfigDto'
QueryEquityPremiumRateVo:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
tradeType:
type: integer
format: int64
description: 玩法Id
customerNo:
type: string
description: 客户编号
currency:
type: string
description: 币种
digits:
type: integer
format: int32
description: 资金小数位数
currentNav:
type: string
description: 实时净值
totalBalance:
type: string
description: 总资产
premiumRate:
type: string
description: 溢价率
accountInfoMap:
type: object
description: 附带账户信息
additionalProperties:
$ref: '#/components/schemas/PremiumRate'
properties: {}
newShare:
type: string
description: 最新份额
markerCustomer:
type: boolean
description: marker账号
BaseResultListKycAuthVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: *ref_11
ok:
type: boolean
fail:
type: boolean
QueryOrderExecuteStandardConfigReqDto:
type: object
required:
- customerGroupId
properties:
customerGroupId:
type: integer
format: int64
description: 客户组id
PremiumRate:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
tradeType:
type: integer
format: int64
description: 玩法Id
accountId:
type: integer
format: int64
description: 系统唯一账户标识
customerNo:
type: string
description: 客户编号
assetsId:
type: integer
format: int64
description: 资产Id
currency:
type: string
description: 开户币种
digits:
type: integer
format: int32
description: 资金小数位数
wholeWarehouseBalance:
type: string
description: 当前账号对全仓账户币种
wholeWarehouseRate:
type: string
description: 当前账号对全仓账户汇率
weight:
type: string
description: 权重
KycAuthElementVO:
type: object
properties:
elementCode:
type: string
description: KYC元素code
elementName:
type: string
description: KYC元素名称
showType:
type: string
description: KYC元素显示类型
extend:
type: string
description: KYC元素扩展属性
elementValue:
type: string
description: KYC元素值
elementValueInputGroup:
type: string
description: KYC元素值,组合
elementCodeInputGroup:
type: string
description: KYC元素code,组合
OrderExecuteStandardConfigDto: &ref_58
type: object
required:
- baseCurrency
- profitCurrency
- rate
- symbolId
properties:
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈利货币
rate:
type: number
description: 下单比例
symbolId:
type: integer
format: int64
description: 产品ID
symbolName:
type: string
description: 产品名称
QueryEquityPremiumRateDto:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
tradeType:
type: integer
format: int64
description: 玩法类型
tradeMode:
type: integer
format: int32
description: 成交模式
symbolId:
type: integer
format: int64
description: 货币ID(前端查询不能为空)
currencyCode:
type: string
description: 资产编码
profitCurrency:
type: string
description: 目标资产编码
KycAuthVO:
type: object
properties:
levelCode:
type: string
description: 等级code
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
levelName:
type: string
description: 等级名称
pathName:
type: string
description: KYC路径名称
pathCode:
type: string
description: KYC路径code
elementList:
type: array
description: KYC信息列表
items:
$ref: '#/components/schemas/KycAuthElementVO'
BaseResultListOrderExecuteStandardConfigDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: *ref_55
ok:
type: boolean
fail:
type: boolean
BaseResultBasePageVoOpenFundsVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoOpenFundsVo'
ok:
type: boolean
fail:
type: boolean
KycBizQueryV1v3v7DTO:
type: object
required:
- businessCode
- customerNo
properties:
lang:
type: string
description: 语言信息
businessCode:
type: string
description: 业务场景
customerNo:
type: string
description: 客户编号
QueryOrderExecuteStandardConfigSymbolListReqDto: *ref_56
BasePageVoOpenFundsVo:
type: object
properties:
records:
type: array
description: 结果列表
items: *ref_57
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
CustomerAminDetailDTO:
type: object
required:
- customerNo
- type
- whiteCompanyId
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
type:
type: string
description: >-
类型信息,用于详情标签页面,baseInfo=基础信息,tradeAccount=交易账户,kyc=kyc信息,allKyc=详情页面kyc信息,bankList=银行卡列表
customerNo:
type: string
description: 客户编号
whiteCompanyId:
type: integer
format: int64
description: 白标公司Id
OrderExecuteStandardConfigSymbolDto: *ref_58
SearchFundsDto:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
fundId:
type: integer
format: int64
description: 基金ID
customerGroupId:
type: integer
format: int64
description: 客户组ID
BasePageVoCustomerAdminPageVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/CustomerAdminPageVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultListOrderExecuteStandardConfigSymbolDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/OrderExecuteStandardConfigSymbolDto'
ok:
type: boolean
fail:
type: boolean
BaseResultListDictVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: *ref_4
ok:
type: boolean
fail:
type: boolean
BaseResultBasePageVoCustomerAdminPageVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoCustomerAdminPageVO'
ok:
type: boolean
fail:
type: boolean
QueryFundsApplyExecuteRecordDetailReqDto:
type: object
required:
- applyIds
properties:
applyIds:
type: array
description: 基金产品申购记录id列表
items:
type: integer
format: int64
BaseResultListCountryDictVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: *ref_0
ok:
type: boolean
fail:
type: boolean
CustomerAdminPageVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
customerGroupId:
type: integer
format: int64
description: 客户组Id
customerGroupName:
type: string
description: 客户组名称
firstAccountActivateTime:
type: integer
format: int64
description: 交易账号首次激活时间
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
companyId:
type: integer
format: int64
description: 公司
customerNo:
type: string
description: 客户账号
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
idCardType:
type: string
description: 证件类型
idCard:
type: string
description: 证件号码
companyName:
type: string
description: 白标公司
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
registerType:
type: integer
format: int32
description: 注册方式
BaseResultFundsApplyExecuteInfoDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: *ref_59
ok:
type: boolean
fail:
type: boolean
CountryDictVo:
type: object
properties:
parentId:
type: integer
format: int64
description: 上级ID
id:
type: integer
format: int64
description: 主键id
name:
type: string
description: 国家地区名称
displayName:
type: string
description: 显示名称
nameTw:
type: string
description: 国家地区名称TW
nameEn:
type: string
description: 国家地区名称EN
code:
type: string
description: 国家代码
parentCode:
type: string
description: 上级代码
nationalCode:
type: string
description: 国家简称
countryCode:
type: string
description: 电话区号
extend:
type: string
description: 扩展属性
sort:
type: integer
format: int32
description: 排序
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
revision:
type: integer
format: int32
description: 乐观锁
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
hasLeaf:
type: integer
format: int32
description: 是否有子节点
childs:
type: array
description: 子节点数据
items: *ref_0
CustomerQueryDTO:
type: object
required:
- whiteCompanyId
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
registerTimeFrom:
type: integer
format: int64
description: 首次注册时间,开始时间
registerTimeTo:
type: integer
format: int64
description: 首次注册时间,结束时间
firstAccountActivateTimeFrom:
type: integer
format: int64
description: 首次激活时间,开始
firstAccountActivateTimeTo:
type: integer
format: int64
description: 首次激活时间,结束
customerNo:
type: string
description: 客户编号
customerNoList:
type: array
description: 客户编号
items:
type: string
whiteCompanyId:
type: integer
format: int64
description: 白标公司Id
FundsApplyExecuteRecordDto:
type: object
properties:
amount:
type: number
description: 盈利货币金额
profitCurrency:
type: string
description: 盈利货币
QueryDictDto:
type: object
properties:
parentId:
type: integer
format: int64
description: 父级ID
parentCode:
type: string
description: 字典代码
BaseResultListCustomerTelegramVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/CustomerTelegramVo'
ok:
type: boolean
fail:
type: boolean
FundsApplyExecuteInfoDto:
type: object
required:
- fundsApplyExecuteRecordDto
properties:
applyIds:
type: array
description: 基金产品申购记录id列表
items:
type: integer
format: int64
fundsApplyExecuteRecordDto:
$ref: '#/components/schemas/FundsApplyExecuteRecordDto'
fundsApplyExecuteRecordDetailDtoList:
type: array
description: 基金产品申购执行明细记录列表
items: &ref_72
$ref: '#/components/schemas/FundsApplyExecuteRecordDetailDto'
BaseResultListTradeTypeVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/TradeTypeVo'
ok:
type: boolean
fail:
type: boolean
CustomerTelegramVo:
type: object
properties:
companyId:
type: integer
format: int64
id:
type: integer
format: int64
customerNo:
type: string
status:
type: integer
format: int32
thirdLoginSource:
type: string
thirdUserId:
type: string
BaseResultLong:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: integer
format: int64
description: 数据体
ok:
type: boolean
fail:
type: boolean
TradeTypeVo:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法ID
tradeTypeName:
type: string
description: 玩法名称
customerGroupList:
type: array
description: 客户组资产列表
items:
$ref: '#/components/schemas/CustomerAssets'
AdminQueryCustomerAssetsInfoDTO:
type: object
required:
- tradeType
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
tradeType:
type: integer
format: int64
description: 玩法Id
minimum: 1
FundRedeemQueryReqDto:
type: object
properties:
username:
type: string
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
downloadType:
type: integer
format: int32
description: 下载类型 1:直接下载,2:异步下载
orders:
type: array
description: 排序字段列表
items: *ref_60
proposalNoList:
type: array
description: 赎回编号
items:
type: string
currencyRedeem:
type: string
description: 客户接受的资产
customerCompanyId:
type: integer
format: int64
description: 客户白标公司ID
customerNoList:
type: array
description: 客户的编号
items:
type: string
sharesStatus:
type: integer
format: int32
description: 份额确认状态:0:待确认 1.已确认 2.确认失败
startTime:
type: integer
format: int64
description: 申请开始时间
endTime:
type: integer
format: int64
description: 申请结束时间
updateStartTime:
type: integer
format: int64
description: 最后更新-申请开始时间
updateEndTime:
type: integer
format: int64
description: 最后开始-申请结束时间
currencyShares:
type: string
description: 份额代币
CustomerAssets:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 客户组ID
customerGroupName:
type: string
description: 客户组ID
assetsVoList:
type: array
description: 资产列表
items: &ref_61
$ref: '#/components/schemas/Assets'
ApiReqDTO:
type: object
required:
- companyId
- timestamp
properties:
companyId:
type: integer
format: int64
trace:
type: string
lang:
type: string
description: 语言信息
apiKey:
type: string
timestamp:
type: integer
format: int64
recvWindow:
type: integer
format: int64
signature:
type: string
signParam:
type: string
ip:
type: string
resource:
type: string
BasePageVoCustomerFundRedeemDto:
type: object
properties:
records:
type: array
description: 结果列表
items: &ref_64
$ref: '#/components/schemas/CustomerFundRedeemDto'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
Assets:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
revision:
type: integer
format: int32
description: 乐观锁
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
name:
type: string
description: 资产名称
displayName:
type: string
description: 显示名称
code:
type: string
description: 资产代码
digits:
type: integer
format: int32
description: 小数位
initState:
type: integer
format: int32
description: 初始化状态 1、2、初始化中、初始化完毕
type:
type: integer
format: int32
description: 资产类型
fundId:
type: integer
format: int64
description: 关联基金
BaseResultCustomerApiVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: &ref_63
$ref: '#/components/schemas/CustomerApiVO'
ok:
type: boolean
fail:
type: boolean
FundRedeemSharesCheckRespDto:
type: object
properties:
sharesTotal:
type: string
description: 总赎回份额
currencyShares:
type: string
description: 份额代币币种
sharesNetValue:
type: string
description: 当前份额净值
currencyNet:
type: string
description: 净值币种
redeemAssetMap:
type: object
description: 赎回的资产列表
additionalProperties:
type: string
properties: {}
CustomerApiPermissionDTO:
type: object
required:
- status
properties:
code:
type: string
description: 权限code
name:
type: string
description: 权限名称
status:
type: integer
format: int32
description: 是否开启 1.开启 2.关闭
canEdit:
type: boolean
description: 是否可以编辑
paths:
type: array
description: 权限路径
items:
type: string
BaseResultBasePageVoCustomerFundRedeemDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoCustomerFundRedeemDto'
ok:
type: boolean
fail:
type: boolean
BaseResultListAssets:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: *ref_61
ok:
type: boolean
fail:
type: boolean
CustomerApiVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
apiKey:
type: string
description: access Key
customerNo:
type: string
description: customerNo
customerId:
type: integer
format: int64
description: 客户ID
customerGroupId:
type: integer
format: int64
description: 客户组ID
companyId:
type: integer
format: int64
description: companyId
secretKeyMd5:
type: string
description: secretKeyMd5
privateKey:
type: string
description: secretKey,只有申请时才返回
pubKey:
type: string
description: 公钥
tag:
type: string
description: 标签
permissionDTOList:
type: array
description: 权限列表
items: *ref_62
ipLimit:
type: boolean
description: 是否开启了IP限制
whiteIps:
type: string
description: IP白名单
sources:
type: array
description: 允许访问的权限路径
items:
type: string
expiredTime:
type: integer
format: int64
description: 失效时间
withdrawTime:
type: integer
format: int64
validityDays:
type: integer
format: int32
description: 有效期(天) -1 已失效 null 永久有效,
nextTag:
type: string
description: 下期续费标签
times:
type: string
description: 套餐时长类型。month-月;year-年;
nextTimes:
type: string
description: 下期续费套餐时长类型。month-月;year-年;
amountMonth:
type: string
description: 续费套餐月金额(单位USDT)
amountYear:
type: string
description: 续费套餐月金额(单位USDT)
FundRedeemSharesCheckReqDto:
type: object
required:
- fundIdList
properties:
fundIdList:
type: array
description: 基金ID
items:
type: integer
format: int64
checkTag:
type: boolean
description: 预览为false,确认份额为true
CustomerApiAddTDO:
type: object
required:
- tag
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
tag:
type: string
description: API标签
googleCode:
type: string
description: 谷歌验证码
phoneCode:
type: string
description: 手机验证码
emailCode:
type: string
description: 邮箱验证码
phoneSendToken:
type: string
description: 手机发送token
emailSendToken:
type: string
description: 邮箱发送token
customerNo:
type: string
description: 客户编号
ip:
type: string
description: 请求IP
BaseResultFundRedeemSharesCheckRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/FundRedeemSharesCheckRespDto'
ok:
type: boolean
fail:
type: boolean
BaseResult:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
type: object
properties: {}
title: 数据体
title: BaseResult
BaseResultAmmSymbolInfoVo:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
title: 数据体
$ref: '#/components/schemas/AmmSymbolInfoVo'
title: ''
BaseResultAmmSymbolAmountVo:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data: &ref_68
title: 数据体
$ref: '#/components/schemas/AmmSymbolAmountVo'
title: ''
BaseResultAmountTransferVo:
type: object
properties:
bizCode:
type: string
title: 模块标识码
code:
type: string
title: 状态返回码
msg:
type: string
title: 状态描述
tm:
type: integer
format: int64
title: 处理时长(毫秒)
trace:
type: string
title: 跟踪码
msgParams:
type: string
title: 返回描述中占位符参数串,多个参数间以,分割
ok:
type: boolean
fail:
type: boolean
data:
title: 数据体
$ref: '#/components/schemas/AmountTransferVo'
title: BaseResultAmountTransferVo
CustomerApiUpdateTDO:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
revision:
type: integer
format: int32
description: 乐观锁
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
googleCode:
type: string
description: 谷歌验证码
tag:
type: string
description: 标签
permissionList:
type: array
description: 开启权限
items: *ref_62
whiteIps:
type: string
description: 白名单IP
phoneCode:
type: string
description: 手机验证码
emailCode:
type: string
description: 邮箱验证码
phoneSendToken:
type: string
description: 手机发送token
emailSendToken:
type: string
description: 邮箱发送token
CreateFundRedeemReqDto:
type: object
required:
- currencyCode
- fundId
- shares
properties:
fundId:
type: integer
format: int64
description: 基金ID
shares:
type: number
description: 赎回的份额数
currencyCode:
type: string
description: 赎回的资产Code
BasePageVoCustomerApiVO:
type: object
properties:
records:
type: array
description: 结果列表
items: *ref_63
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
FundOperationInfoDto:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
revision:
type: integer
format: int32
description: 乐观锁
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
fundId:
type: integer
format: int64
description: 基金ID
sharesIssued:
type: number
description: 发行总份额
sharesApply:
type: number
description: 申购总份额
sharesConfirm:
type: number
description: 已确认总份额
sharesRedeem:
type: number
description: 已赎回总份额
sharesCurrent:
type: number
description: 当前最新份额
BaseResultBasePageVoCustomerApiVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoCustomerApiVO'
ok:
type: boolean
fail:
type: boolean
CustomerFundRedeemDto:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
proposalNo:
type: string
description: 提按编号
companyName:
type: string
description: 公司名称
customerNoFun:
type: string
description: 基金经理对应的客户编号
fundId:
type: integer
format: int64
description: 赎回的基金ID
currencyRedeem:
type: string
description: 赎回的币种
currencyShares:
type: string
description: 基金币种
currencyNet:
type: string
description: 净值币种
fees:
type: string
description: 手续费
amountRedeem:
type: string
description: 赎回金额
shares:
type: string
description: 份额数
sharesNet:
type: string
description: 份额的净值
sharesStatus:
type: integer
format: int32
description: 份额确认状态:0:待确认 1.已确认 2.确认失败
fundName:
type: string
description: 基金名称
basketTag:
type: boolean
CustomerApiPageQueryTDO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
tag:
type: string
description: API标签
customerNo:
type: string
description: 客户编号
BaseResultCustomerFundRedeemDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: *ref_64
ok:
type: boolean
fail:
type: boolean
FundInfoQueryReqDto:
type: object
required:
- fundId
properties:
fundId:
type: integer
format: int64
description: 基金ID
ComCustomerDTO: &ref_66
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
BaseResultFundOperationInfoDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/FundOperationInfoDto'
ok:
type: boolean
fail:
type: boolean
AddCustomerExtendDTO:
type: object
required:
- type
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
customerNo:
type: string
description: 客户编号
type:
type: integer
format: int32
value:
type: string
AddMMBotConfDto:
type: object
properties:
symbolId:
type: integer
description: 产品ID
format: int64
lastPrice:
type: string
description: 最新成交价
lastPriceAsBid:
type: boolean
description: 初始化盘口最新成交价是否作为bid一档
strategy:
type: string
description: 策略编码目前只支持fix_total_amount
maxLimitPrice:
type: string
description: 最高价格
minLimitPrice:
type: string
description: 最低价格
priceInterval:
type: string
description: 买方向最低价格
customerGroupId:
type: integer
description: maker客户组id
format: int64
accountId:
type: integer
format: int64
description: 做市资金账户ID
amount:
type: string
description: 做市资金金额
currency:
type: string
description: 做市资金账户币种
digits:
type: integer
description: 做市资金账户资产小数位数
required:
- symbolId
- lastPrice
- lastPriceAsBid
- strategy
- maxLimitPrice
- minLimitPrice
- priceInterval
- customerGroupId
- amount
- currency
- digits
- accountId
FundManagementFeesRecordDto:
type: object
properties:
username:
type: string
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
downloadType:
type: integer
format: int32
description: 下载类型 1:直接下载,2:异步下载
deductDate:
type: integer
format: int64
deductStatus:
type: integer
format: int32
BaseResultObject:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
description: 数据体
properties: {}
ok:
type: boolean
fail:
type: boolean
BasePageVoFundManagementFeesDto:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/FundManagementFeesDto'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
QueryCustomerExtendDTO:
type: object
required:
- type
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
type:
type: integer
format: int32
FundManagementFeesDto:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
deductDate:
type: integer
format: int64
description: 扣减日期
deductExcuteTime:
type: integer
format: int64
description: 扣减执行时间
fees:
type: string
description: 扣减金额
currencyFees:
type: string
description: 扣减的币种
deductStatus:
type: integer
format: int32
description: 扣除状态:1.扣除成功 2.扣除失败
BaseModelDto:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
revision:
type: integer
format: int32
description: 乐观锁
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
BaseResultListCustomerGroupVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: &ref_65
$ref: '#/components/schemas/CustomerGroupVO'
ok:
type: boolean
fail:
type: boolean
CustomerGroupVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
companyId:
type: integer
format: int64
description: 公司
name:
type: string
description: 组名称
defaultGroup:
type: integer
format: int32
description: 是否默认组,1是
type:
type: integer
format: int32
description: 组类型
deposit:
type: integer
format: int32
description: 可存款,1可存款
withdraw:
type: integer
format: int32
description: 可取款,1可取款
openAccountType:
type: integer
format: int32
description: 开户组类型,1是2否
transfer:
type: integer
format: int32
description: 可划转,1可划转
BaseResultBasePageVoFundManagementFeesDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoFundManagementFeesDto'
ok:
type: boolean
fail:
type: boolean
CustomerGroupQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
name:
type: string
description: 组名称
Void:
type: object
properties: {}
BaseResultCustomerGroupVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: *ref_65
ok:
type: boolean
fail:
type: boolean
BaseResultFundManagementFeesCalcDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/FundManagementFeesCalcDto'
ok:
type: boolean
fail:
type: boolean
QueryGroupDTO: *ref_66
BaseResultVoid:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/Void'
ok:
type: boolean
fail:
type: boolean
BaseResultListCustomerGroupBizVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/CustomerGroupBizVO'
ok:
type: boolean
fail:
type: boolean
FundExchangeRateBatchQueryDto:
type: object
required:
- companyId
- currencies
properties:
companyId:
type: integer
format: int64
description: 公司ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
currencies:
type: array
description: 兑换货币对列表,非空,列表最大长度50
items:
$ref: '#/components/schemas/CurrencyPair'
maxItems: 50
minItems: 1
CustomerGroupBizVO:
type: object
properties:
name:
type: string
description: 组名称
id:
type: integer
format: int64
description: id
type:
type: integer
format: int32
description: 组类型
openAccountType:
type: integer
format: int32
description: 开户组类型,1是2否
tradeType:
type: integer
format: int64
description: 玩法Id
assets:
type: string
description: 资产信息
FundManagementFeesDeductDto:
type: object
properties:
idList:
type: array
items:
type: integer
format: int64
TopCommonDTO:
type: object
properties:
lang:
type: string
description: 语言信息
FundManagementFeesCalcDto:
type: object
properties:
amount:
type: string
description: 合计金额
currency:
type: string
description: 币种
BaseResultListCustomerGroupTradeTypeVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/CustomerGroupTradeTypeVO'
ok:
type: boolean
fail:
type: boolean
CurrencyPair:
type: object
properties:
source:
type: string
description: 源货币编码
target:
type: string
description: 目标货币编码
CustomerGroupTradeTypeVO:
type: object
properties:
name:
type: string
description: 组名称
id:
type: integer
format: int64
description: id
assets:
type: string
description: 资产信息
ExchangeRateConvertDto:
type: object
properties:
rate:
type: string
description: 兑换比率
formulaSymbol:
type: string
description: 运算规则乘或除,取值为multiply或divide
sourceDigits:
type: integer
format: int32
description: 源货币小数位
targetDigits:
type: integer
format: int32
description: 目标货币小数位
sourceCurrency:
type: string
description: 源货币编码
targetCurrency:
type: string
description: 目标货币编码
CustomerGroupTradeTypeDTO:
type: object
required:
- tradeType
properties:
lang:
type: string
description: 语言信息
tradeType:
type: integer
format: int64
description: 玩法id
minimum: 1
BaseResultListExchangeRateConvertDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: *ref_67
ok:
type: boolean
fail:
type: boolean
BaseResultListCustomerGroupListVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/CustomerGroupListVO'
ok:
type: boolean
fail:
type: boolean
FundCurrencyQueryReqDto:
type: object
required:
- proposalNo
properties:
proposalNo:
type: string
description: 提案号
CustomerGroupListVO:
type: object
properties:
name:
type: string
description: 组名称
id:
type: integer
format: int64
description: id
BaseResultListCustomerFundCurrencyDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: &ref_70
$ref: '#/components/schemas/CustomerFundCurrencyDto'
ok:
type: boolean
fail:
type: boolean
BaseResultListTradeAssetsVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/TradeAssetsVO'
ok:
type: boolean
fail:
type: boolean
BaseResultBasePageVoCustomerFundApplyDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoCustomerFundApplyDto'
ok:
type: boolean
fail:
type: boolean
TradeAssetsVO:
type: object
properties:
assets:
type: string
description: 资产币种信息
tradeType:
type: integer
format: int64
description: 玩法Id
FundApplyRecordDto:
type: object
required:
- customerGroupId
properties:
username:
type: string
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
downloadType:
type: integer
format: int32
description: 下载类型 1:直接下载,2:异步下载
startTime:
type: integer
format: int64
endTime:
type: integer
format: int64
currencyPay:
type: string
customerCompanyId:
type: integer
format: int64
proposalNo:
type: array
items:
type: string
customerSelfNo:
type: array
items:
type: string
executeId:
type: array
items:
type: string
executeStatus:
type: integer
format: int32
currencyShares:
type: string
type:
type: integer
format: int32
customerGroupId:
type: integer
format: int64
description: 客户组id
BasePageVoCustomerGroupPageVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/CustomerGroupPageVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BasePageVoAmmSymbolInfoVo:
type: object
properties:
records:
type: array
description: 结果列表
items: *ref_68
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
CustomerFundCurrencyDto:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
proposalNo:
type: string
description: 提案号
fundId:
type: integer
format: int64
description: 基金ID
currency:
type: string
description: 币种
digits:
type: integer
format: int32
description: 资产小数位
amount:
type: string
description: 最终申购/赎回的金额
fees:
type: string
description: 手续费
total:
type: string
description: 支付的总金额
BaseResultBasePageVoCustomerGroupPageVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoCustomerGroupPageVO'
ok:
type: boolean
fail:
type: boolean
BaseResultBasePageVoMMBotConfVo: &ref_69
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoAmmSymbolInfoVo'
ok:
type: boolean
fail:
type: boolean
BaseResultBasePageVoAmmSymbolInfoVo: *ref_69
CreateFundApplyReqDto:
type: object
required:
- amountPay
- fundId
properties:
customerNo:
type: string
title: 客户编号
currencyPay:
type: string
description: 支付的币种 ,或者是一篮子
title: 支付币种
amountPay:
type: number
description: 按额为:支付的金额, 按份额:申购的份额
title: 支付额度
applyType:
type: integer
format: int32
description: 1.按金额,2.按份额
title: 申购类型
fundId:
type: integer
title: 基金id
CustomerGroupPageVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
companyId:
type: integer
format: int64
description: 公司
name:
type: string
description: 组名称
defaultGroup:
type: integer
format: int32
description: 是否默认组,1是
type:
type: integer
format: int32
description: 组类型
deposit:
type: integer
format: int32
description: 可存款,1可存款
withdraw:
type: integer
format: int32
description: 可取款,1可取款
transfer:
type: integer
format: int32
description: 可取款,1可划转
openAccountType:
type: integer
format: int32
description: 开户组类型,1是2否
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除 4 复制中 5复制失败
BasePageVoCustomerFundApplyDto:
type: object
properties:
records:
type: array
description: 结果列表
items: &ref_73
$ref: '#/components/schemas/CustomerFundApplyDto'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
CustomerGroupQueryListDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
name:
type: string
description: 客户组名称
FundApplyCalcDto:
type: object
properties:
fees:
type: string
description: 手续费
shares:
type: string
description: 预计得到的份额
sharesNet:
type: string
description: 净值
rate:
type: string
description: 汇率
currencyNet:
type: string
description: 净值的币种
currencyPay:
type: string
description: 手续费的币种
amountPay:
type: string
description: 需要支付的资产金额
list:
type: array
description: 一篮子资产列表
items: *ref_70
CustomerGroupAddDTO:
type: object
required:
- deposit
- name
- tradeTypeCurrencyList
- type
- withdraw
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
name:
type: string
description: 组名称
type:
type: integer
format: int32
description: 组类型
minimum: 0
deposit:
type: integer
format: int32
description: 可存款
minimum: 0
withdraw:
type: integer
format: int32
description: 可取款
minimum: 0
openAccountType:
type: integer
format: int32
description: 开户组类型,1是0否
minimum: 0
maximum: 1
tradeTypeCurrencyList:
type: array
description: 玩法币种信息
items: &ref_71
$ref: '#/components/schemas/InnerTradeAssetsDTO'
maxItems: 2147483647
minItems: 1
transfer:
type: integer
format: int32
description: 可划转,1可划转
minimum: 0
maximum: 1
BaseResultFundApplyCalcDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/FundApplyCalcDto'
ok:
type: boolean
fail:
type: boolean
InnerTradeAssetsDTO:
type: object
properties:
allCurrency:
type: string
description: 资产币种信息
tradeType:
type: string
description: 玩法Id
FundsApplyExecuteRecordDetailDto:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
amount:
type: number
description: 盈利货币金额
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈利货币
rate:
type: number
description: 下单比例
symbolId:
type: integer
format: int64
description: 产品ID
symbolName:
type: string
description: 产品名称
CustomerGroupUptDTO:
type: object
required:
- deposit
- name
- tradeTypeCurrencyList
- type
- withdraw
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
name:
type: string
description: 组名称
type:
type: integer
format: int32
description: 组类型
minimum: 0
deposit:
type: integer
format: int32
description: 可存款
minimum: 0
withdraw:
type: integer
format: int32
description: 可取款
minimum: 0
openAccountType:
type: integer
format: int32
description: 开户组类型,1是0否
minimum: 0
maximum: 1
tradeTypeCurrencyList:
type: array
description: 玩法币种信息
items: *ref_71
maxItems: 2147483647
minItems: 1
transfer:
type: integer
format: int32
description: 可划转,1可划转
minimum: 0
maximum: 1
CustomerFundApplyDto:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
proposalNo:
type: string
description: 提案号
companyName:
type: string
description: 白标公司名称
customerNoFun:
type: string
description: 基金经理对应的客户编号
fundId:
type: integer
format: int64
description: 基金ID
currencyPay:
type: string
description: 支付的币种
currencyShares:
type: string
description: 基金币种
fees:
type: string
description: 支付的手续费
amountPay:
type: string
description: 支付的金额
finalAmount:
type: string
description: 最终申购的金额
shares:
type: string
description: 确认的份额数
sharesNet:
type: string
description: 份额的净值
sharesStatus:
type: integer
format: int32
description: 份额确认状态:0:待确认 1.已确认 2.确认失败
executeStatus:
type: integer
format: int32
description: 申购执⾏状态: 0.未确认 1.待执⾏ 2.执⾏成功 3.执⾏失败
executeId:
type: string
description: 批次执⾏ID
currencyNet:
type: string
description: 净值的币种
fundName:
type: string
description: 基金名称
executeList:
type: array
description: 执行标准列表
items: *ref_72
AddOptionalDTO:
type: object
required:
- tradeType
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
symbolList:
type: array
description: 产品
items:
type: integer
format: int64
maxItems: 2147483647
minItems: 1
tradeType:
type: integer
format: int64
description: 玩法Id
minimum: 1
BaseResultCustomerFundApplyDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: *ref_73
ok:
type: boolean
fail:
type: boolean
AddBatchOptionalDTO:
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
tradeTypeCurrencyList:
type: array
description: 玩法币种集合
items:
$ref: '#/components/schemas/InnerAddBatchOptionalDTO'
FundPayChannelTypeDto:
type: object
properties:
name:
type: string
description: name
code:
type: string
description: code
InnerAddBatchOptionalDTO:
type: object
properties:
tradeType:
type: integer
format: int64
description: 玩法Id
symbolList:
type: array
description: 产品
items:
type: integer
format: int64
BaseResultListFundPayChannelTypeDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/FundPayChannelTypeDto'
ok:
type: boolean
fail:
type: boolean
DelOptionalDTO:
type: object
required:
- tradeType
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
symbolList:
type: array
description: 产品Ids
items:
type: integer
format: int64
maxItems: 2147483647
minItems: 1
tradeType:
type: integer
format: int64
description: 玩法Id
minimum: 1
QueryCustomerDepositProposalReqDto:
type: object
required:
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 玩法类型
proposalNo:
type: string
description: 提案号
BaseResultListSymbolBaseInfoVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/SymbolBaseInfoVO'
ok:
type: boolean
fail:
type: boolean
BaseResultCustomerDepositProposalDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: &ref_77
$ref: '#/components/schemas/CustomerDepositProposalDto'
ok:
type: boolean
fail:
type: boolean
SymbolBaseInfoVO:
type: object
properties:
askSpread:
type: number
description: ASK点差
bidSpread:
type: number
description: BID点差
pointRatio:
type: integer
format: int32
description: 大点比率
symbolDigits:
type: integer
format: int32
description: 产品小数位
tradeType:
type: integer
format: int64
description: 玩法Id
symbolCode:
type: string
description: 产品Code
symbolName:
type: string
description: 产品名称
symbolId:
type: integer
format: int64
description: 产品Id
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈利货币
ManualRepaymentDto: &ref_74
type: object
required:
- accountCurrency
- amount
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 玩法类型
accountCurrency:
type: string
description: 账户币种
amount:
type: number
description: 金额
FindSymbolBaseInfoDTO:
type: object
required:
- customerGroupId
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
symbolTradeTypeList:
type: array
description: 产品玩法集合
items:
$ref: '#/components/schemas/InnerSymbolBaseInfoDTO'
maxItems: 2147483647
minItems: 1
customerGroupId:
type: integer
format: int64
description: 客户组Id
minimum: 0
QueryCoinPayStatusReqDto:
type: object
required:
- accountCurrency
- blockchainName
- channelCode
properties:
accountCurrency:
type: string
description: 账户货币编码
channelCode:
type: string
description: 通道编码
blockchainName:
type: string
description: 链名称
address:
type: string
description: 支付地址
InnerSymbolBaseInfoDTO:
type: object
required:
- tradeType
properties:
symbolIds:
type: string
description: 产品Ids
tradeType:
type: integer
format: int64
description: 玩法Id
BaseResultQueryCoinPayStatusRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/QueryCoinPayStatusRespDto'
ok:
type: boolean
fail:
type: boolean
BaseResultMapLongListCustomerOptionalVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
description: 数据体
additionalProperties:
type: array
items: &ref_75
$ref: '#/components/schemas/CustomerOptionalVO'
properties: {}
ok:
type: boolean
fail:
type: boolean
ManualLoanDto: *ref_74
CustomerOptionalVO:
type: object
properties:
askSpread:
type: number
description: ASK点差
bidSpread:
type: number
description: BID点差
pointRatio:
type: integer
format: int32
description: 大点比率
symbolDigits:
type: integer
format: int32
description: 产品小数位
symbolCode:
type: string
description: 产品Code
symbolName:
type: string
description: 产品名称
symbolId:
type: integer
format: int64
description: 产品Id
QueryCustomerPaymentChannelRespV3Dto:
type: object
required:
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 玩法类型
customerGroupId:
type: integer
format: int64
description: 客户组id
paymentCode:
type: string
description: 支付通道编码
paymentType:
type: string
description: 支付通道类型
paymentTypeAlias:
type: string
description: 支付通道类型别名
clientType:
type: string
description: 支付通道支持终端类型pc、mobile
paymentCurrency:
type: string
description: 支付币种编码
merchantNo:
type: string
description: 通道商户号
channelConvertRate:
type: boolean
description: 支付通道完成汇率换算
openTime:
type: string
description: 存款时间,格式为01:00-12:00,13:00-18:00,19:00-22:00
sort:
type: integer
format: int32
description: 排序
extend:
type: object
description: 拓展数据
additionalProperties:
type: object
additionalProperties:
type: string
properties: {}
rechargeType:
type: string
description: 充值方式多个使用逗号分隔,1:直充,2:汇兑
limitConfigList:
type: array
items:
$ref: '#/components/schemas/CustomerGroupDepositLimitConfigV3Vo'
QueryOptionalDTO:
type: object
required:
- tradeTypeList
properties:
lang:
type: string
description: 请求语言
customerNo:
type: string
description: 客户编号
customerGroupId:
type: integer
format: int64
description: 客户组Id
tradeTypeList:
type: array
description: 玩法Id
items:
type: integer
format: int64
maxItems: 2147483647
minItems: 1
QueryCoinPayStatusRespDto:
type: object
properties:
accountCurrency:
type: string
description: 账户货币编码
channelCode:
type: string
description: 通道编码
blockchainName:
type: string
description: 链名称
address:
type: string
description: 支付地址
tradeStatus:
type: integer
format: int32
description: 交易状态 0:待支付、1:确认中、2:已完成,3:支付失败
txId:
type: string
description: 交易id
amount:
type: string
description: 交易金额
proposalNo:
type: string
description: 存款提案号
BaseResultListCustomerOptionalVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: *ref_75
ok:
type: boolean
fail:
type: boolean
QueryCustomerPaymentChannelReqV3Dto:
type: object
required:
- customerGroupId
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 玩法类型
customerGroupId:
type: integer
format: int64
description: 客户组id
clientType:
type: string
description: 支付通道支持终端类型pc、mobile
accountCurrency:
type: string
description: 账户币种编码
blockchainName:
type: string
description: 连名称
country:
type: string
description: 客户开户国家编码
QuerySymbolBaseInfoDTO:
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
symbolIds:
type: string
description: 产品Ids
tradeType:
type: integer
format: int64
description: 玩法Id
customerGroupId:
type: integer
format: int64
description: 客户组Id
CustomerGroupDepositLimitConfigV3Vo:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
companyId:
type: integer
format: int64
description: 公司id
depositBaseConfigId:
type: integer
format: int64
description: 公司客户组存款支付通道基础配置id
accountCurrency:
type: string
description: 账户币种
singleLowAmount:
type: string
description: 单笔最低存款金额
singleHighAmount:
type: string
description: 单笔最高存款金额
singleCheckLowAmount:
type: string
description: 人工审核单笔最低存款金额
feeType:
type: integer
format: int32
description: 手续费类型,固定金额fix、百分比率rate
fee:
type: string
description: 手续费
rechargeType:
type: string
description: 充值方式,多个使用逗号连接,1:直充,2:汇兑
BaseResultThirdLoginVerifyVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/ThirdLoginVerifyVo'
ok:
type: boolean
fail:
type: boolean
BaseResultListQueryCustomerPaymentChannelRespV3Dto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/QueryCustomerPaymentChannelRespV3Dto'
ok:
type: boolean
fail:
type: boolean
ThirdLoginVerifyVo:
type: object
properties:
userId:
type: string
action:
type: string
result:
type: boolean
failReason:
type: string
thirdSource:
type: string
email:
type: string
phone:
type: string
QueryCustomerPaymentChannelReqDto:
type: object
required:
- accountCurrency
- clientType
- country
- customerGroupId
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 玩法类型
customerGroupId:
type: integer
format: int64
description: 客户组id
paymentCode:
type: string
description: 支付通道编码
clientType:
type: string
description: 支付通道支持终端类型pc、mobile
paymentCurrency:
type: string
description: 支付币种编码
accountCurrency:
type: string
description: 账户币种编码
country:
type: string
description: 客户开户国家编码
rechargeType:
type: string
description: 充值方式,1:直充,2:汇兑
AppleLoginVerifyDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
openId:
type: string
identityToken:
type: string
email:
type: string
code:
type: string
idToken:
type: string
QueryCustomerPaymentChannelRespDto:
type: object
required:
- tradeType
properties:
tradeType:
type: integer
format: int64
customerGroupId:
type: integer
format: int64
description: 客户组id
paymentCode:
type: string
description: 支付通道编码
paymentType:
type: string
description: 支付通道类型
paymentTypeAlias:
type: string
description: 支付通道类型别名
clientType:
type: string
description: 支付通道支持终端类型pc、mobile
paymentCurrency:
type: string
description: 支付币种编码
merchantNo:
type: string
description: 通道商户号
channelConvertRate:
type: boolean
description: 支付通道完成汇率换算
openTime:
type: string
description: 存款时间,格式为01:00-12:00,13:00-18:00,19:00-22:00
accountCurrency:
type: string
description: 账户币种
accountCurrencyDigit:
type: integer
format: int32
description: 账户币种资产小数位
singleLowAmount:
type: number
description: 单笔最低存款金额
singleHighAmount:
type: number
description: 单笔最高存款金额
singleCheckLowAmount:
type: number
description: 人工审核单笔最低存款金额
feeType:
type: integer
format: int32
description: 手续费类型,固定金额fix、百分比率rate
fee:
type: number
description: 手续费
sort:
type: integer
format: int32
description: 排序
extend:
type: object
description: 拓展数据
additionalProperties:
type: object
additionalProperties:
type: string
properties: {}
rechargeType:
type: string
description: 充值方式多个使用逗号分隔,1:直充,2:汇兑
limitConfigList:
type: array
items:
$ref: '#/components/schemas/CustomerGroupDepositLimitConfigVo'
QueryCustomerPaymentChannelReqV2Dto:
type: object
required:
- clientType
- country
- customerGroupId
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 玩法类型
customerGroupId:
type: integer
format: int64
description: 客户组id
paymentCode:
type: string
description: 支付通道编码
clientType:
type: string
description: 支付通道支持终端类型pc、mobile
paymentCurrency:
type: string
description: 支付币种编码
accountCurrency:
type: string
description: 账户币种编码
country:
type: string
description: 客户开户国家编码
rechargeType:
type: string
description: 充值方式,1:直充,2:汇兑
CustomerGroupDepositLimitConfigVo:
type: object
properties:
id:
type: integer
format: int64
description: 主键id
companyId:
type: integer
format: int64
description: 公司id
depositBaseConfigId:
type: integer
format: int64
description: 公司客户组存款支付通道基础配置id
accountCurrency:
type: string
description: 账户币种
singleLowAmount:
type: number
description: 单笔最低存款金额
singleHighAmount:
type: number
description: 单笔最高存款金额
singleCheckLowAmount:
type: number
description: 人工审核单笔最低存款金额
feeType:
type: integer
format: int32
description: 手续费类型,固定金额fix、百分比率rate
fee:
type: number
description: 手续费
rechargeType:
type: string
description: 充值方式,多个使用逗号连接,1:直充,2:汇兑
ThirdLoginConfigDto:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
thirdSource:
type: string
BaseResultListQueryCustomerPaymentChannelRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/QueryCustomerPaymentChannelRespDto'
ok:
type: boolean
fail:
type: boolean
FacebookLoginVerifyDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
accessToken:
type: string
QueryDepositCoinListDto:
type: object
required:
- clientType
- country
- customerGroupId
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 玩法类型
customerGroupId:
type: integer
format: int64
description: 客户组id
clientType:
type: string
description: 支付通道支持终端类型pc、mobile
country:
type: string
description: 客户开户国家编码
GoogleLoginVerifyDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
idToken:
type: string
accessToken:
type: string
QueryDepositAccountCurrencyListV2Dto:
type: object
required:
- clientType
- country
- customerGroupId
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 玩法类型
customerGroupId:
type: integer
format: int64
description: 客户组id
clientType:
type: string
description: 支付通道支持终端类型pc、mobile
country:
type: string
description: 客户开户国家编码
paymentCodes:
type: string
description: 支付通道编码,多个通道编码
paymentTypes:
type: string
description: 支付通道类型,多个类型编码
BaseResultCustomerLoginVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/CustomerLoginVO'
ok:
type: boolean
fail:
type: boolean
QueryCustomerDepositExchangeRateDto:
type: object
properties:
paymentCurrency:
type: string
description: 支付货币编码
accountCurrency:
type: string
description: 账户货币编码
channelCode:
type: string
description: 支付通道编码
QueryCustomerDepositExchangeRateDtoResp:
type: object
properties:
paymentCurrency:
type: string
description: 支付货币编码
accountCurrency:
type: string
description: 账户货币编码
channelCode:
type: string
description: 支付通道编码
depositRateSerialNo:
type: string
description: 流水号
exchangeRate:
type: string
description: 汇率
formulaSymbol:
type: string
description: 汇率方向
sourceDigits:
type: string
description: 原币种资产小数位
targetDigits:
type: string
description: 目标币种资产小数位
required:
- depositRateSerialNo
- exchangeRate
- formulaSymbol
- sourceDigits
- targetDigits
CustomerLoginVO:
type: object
properties:
id:
type: integer
format: int64
description: 客户id
companyId:
type: integer
format: int64
description: 公司
customerGroupId:
type: integer
format: int64
description: 客户组
customerNo:
type: string
description: 客户账号
kycAuditStatus:
type: integer
format: int32
description: 注册KYC审核状态:0未认证跳转到认证页面,1待审核,2审核通过,3审核不通过
kycAuditRemark:
type: string
description: 注册KYC审核备注,审核拒绝不为空
kycStatus:
type: integer
format: int32
description: KYC状态
kycRemark:
type: string
description: KYC状态名称
accountList:
type: object
description: 交易账户列表
properties: {}
accountRemark:
type: string
description: 客户是否有交易账户备注
loginPassStatus:
type: string
description: 设置密码提醒标志,1需要设置密码,2不需要
payPassStatus:
type: string
description: 支付密码是否存在状态,1不存在,2存在
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
country:
type: string
description: 国家
type:
type: integer
format: int32
description: 组类型 <0真实,1模拟,2游客>
deposit:
type: integer
format: int32
description: 可存款,1可存款
withdraw:
type: integer
format: int32
description: 可取款,1可取款
optional:
type: integer
format: int32
description: 自选标志0未添加1已添加
activateStatus:
type: integer
format: int32
description: 激活状态
activateTime:
type: integer
format: int64
description: 激活时间
companyKycStatus:
type: integer
format: int32
description: 公司KYC开户状态,1开启2未开启
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
thirdServerCode:
type: string
description: 第三方系统唯一编号
source:
type: string
description: 来源
thirdLoginSource:
type: string
description: 第三方登录源 google,facebook,twitter
thirdUserId:
type: string
description: 第三方userId
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
thirdIntactMsg:
type: string
description: 第三方登录完整数据
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
isFund:
type: integer
format: int32
description: 是否为基金经理,1是,默认0否
assertPassStatus:
type: string
description: 设置资金密码提醒标志,1需要设置密码,2不需要
googleId:
type: integer
format: int64
description: 是否开启MFA,大于0,开启,其余未开启
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
loginTime:
type: integer
format: int64
description: 登陆时间
createTime:
type: integer
format: int64
description: 创建时间
relationCustomerId:
type: integer
format: int64
description: 关联账户id
companyType:
type: string
description: 公司类型
registerSource:
type: integer
format: int32
description: 注册来源
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
registerTime:
type: integer
format: int64
description: 注册时间
BaseResultQueryCustomerDepositExchangeRateDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/QueryCustomerDepositExchangeRateDtoResp'
ok:
type: boolean
fail:
type: boolean
ThirdLoginDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
thirdSource:
type: string
userId:
type: string
ip:
type: string
email:
type: string
phone:
type: string
BaseResultSetString:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
uniqueItems: true
items:
type: string
ok:
type: boolean
fail:
type: boolean
MetaMaskLoginVerifyDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
web3Signature:
type: string
address:
type: string
DepositAccountCurrencyRespV2Dto:
type: object
properties:
clientType:
type: string
description: 支付通道支持终端类型pc、mobile
accountCurrency:
type: string
description: 账户币种
blockchainNameList:
type: array
description: 账户币种
items:
type: string
BaseResultRegisterVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/RegisterVO'
ok:
type: boolean
fail:
type: boolean
BaseResultListDepositAccountCurrencyRespV2Dto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/DepositAccountCurrencyRespV2Dto'
ok:
type: boolean
fail:
type: boolean
RegisterVO:
type: object
properties:
customerNo:
type: string
description: 客户账号
list:
type: array
description: KYC认证列表信息
items: *ref_11
companyId:
type: integer
format: int64
description: 公司ID
ext1:
type: string
description: 扩展字段(无用)
ext2:
type: string
description: 扩展字段(无用)
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
loginPassStatus:
type: string
description: 设置密码提醒标志,1需要设置密码,2不需要
payPassStatus:
type: string
description: 支付密码是否存在状态,1不存在,2存在
customerGroupId:
type: integer
format: int64
description: 客户组
country:
type: string
description: 国家
id:
type: integer
format: int64
description: 客户id
optional:
type: integer
format: int32
description: 自选标志0未添加1已添加
companyKycStatus:
type: integer
format: int32
description: 公司KYC开户状态,1开启2未开启
thirdServerCode:
type: string
description: 第三方系统唯一编号
source:
type: string
description: 来源
capitalInStatus:
type: integer
format: int32
description: 入金状态:1已入金、2未入金
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
companyType:
type: string
description: 公司类型
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
registerTime:
type: integer
format: int64
description: 注册时间
QueryDepositAccountCurrencyListDto:
type: object
required:
- clientType
- country
- customerGroupId
- paymentCode
- rechargeType
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 玩法类型
customerGroupId:
type: integer
format: int64
description: 客户组id
clientType:
type: string
description: 支付通道支持终端类型pc、mobile
country:
type: string
description: 客户开户国家编码
paymentCode:
type: string
description: 支付通道编码
rechargeType:
type: string
description: 充值方式
ThirdRegisterDTO:
type: object
properties:
country:
type: string
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
thirdSource:
type: string
userId:
type: string
customerGroupId:
type: integer
format: int64
ip:
type: string
email:
type: string
phone:
type: string
verifyCode:
type: string
sendToken:
type: string
phoneArea:
type: string
registerSource:
type: integer
format: int32
utmSource:
type: string
utmMedium:
type: string
utmCampaign:
type: string
utmContent:
type: string
utmTerm:
type: string
BaseResultSetDepositAccountCurrencyRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
uniqueItems: true
items:
$ref: '#/components/schemas/DepositAccountCurrencyRespDto'
ok:
type: boolean
fail:
type: boolean
TelegramLoginVerifyDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
userJsonStr:
type: string
channelSource:
type: string
isWebApp:
type: boolean
DepositAccountCurrencyRespDto:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 客户组id
paymentCode:
type: string
description: 支付通道编码
paymentType:
type: string
description: 支付通道类型
paymentTypeAlias:
type: string
description: 支付通道类型别名
clientType:
type: string
description: 支付通道支持终端类型pc、mobile
accountCurrency:
type: string
description: 账户币种
singleLowAmount:
type: number
description: 单笔最低存款金额
singleHighAmount:
type: number
description: 单笔最高存款金额
singleCheckLowAmount:
type: number
description: 人工审核单笔最低存款金额
feeType:
type: integer
format: int32
description: 手续费类型,固定金额fix、百分比率rate
fee:
type: number
description: 手续费
rechargeType:
type: string
description: 充值方式多个使用逗号分隔,1:直充,2:汇兑
TwitterAuthResponse:
type: object
properties:
oauth_token:
type: string
oauth_token_secret:
type: string
user_id:
type: string
screen_name:
type: string
access_token:
type: string
state:
type: string
client_id:
type: string
network:
type: string
display:
type: string
redirect_uri:
type: string
scope:
type: string
oauth_proxy:
type: string
customEmail:
type: string
CryptoBlockchainReqDto:
type: object
required:
- currency
- paymentCode
- tradeType
properties:
tradeType:
type: integer
format: int64
paymentCode:
type: string
description: 支付通道编码
currency:
type: string
description: 支付币种
TwitterLoginVerifyDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
network:
type: string
authResponse:
$ref: '#/components/schemas/TwitterAuthResponse'
CryptoBlockchainRespDto:
type: object
properties:
paymentCode:
type: string
description: 支付通道编码
currency:
type: string
description: 支付币种
blockchainList:
type: array
description: 支付币种链列表
items:
type: string
AddWalletDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
customerNo:
type: string
description: 客户编号
currency:
type: string
description: 钱包币种
chainName:
type: string
description: 链名称
address:
type: string
description: 钱包地址
remark:
type: string
description: 钱包备注
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
phoneArea:
type: string
description: 手机区号
phone:
type: string
description: 手机号码
BaseResultCryptoBlockchainRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/CryptoBlockchainRespDto'
ok:
type: boolean
fail:
type: boolean
AddWalletV1v1v2DTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
customerNo:
type: string
description: 客户编号
currency:
type: string
description: 钱包币种
chainName:
type: string
description: 链名称
address:
type: string
description: 钱包地址
remark:
type: string
description: 钱包备注
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
googleCode:
type: string
description: 谷歌验证码
CapitalTransferDiffCurrReqDto:
type: object
required:
- amount
- currency
- toCurrency
- toCustomerNo
- toTradeType
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 划入账户玩法
accountDigit:
type: integer
format: int32
description: 划出账户小数位
toTradeType:
type: integer
format: int64
description: 划出账户玩法
toAccountId:
type: integer
format: int64
description: 划入账户id
toCustomerNo:
type: string
description: 划入客户编号
toAccountDigit:
type: integer
format: int32
description: 划入账户小数位
amount:
type: number
description: 滑动金额
currency:
type: string
description: 划出币种
toCurrency:
type: string
description: 划入币种
CapitalTransferForAgentReqDto:
type: object
required:
- amount
- currency
- toCustomerNo
- tradeType
properties:
tradeType:
type: integer
format: int64
description: 账户玩法,固定值7
toCustomerNo:
type: string
description: 划入客户编号
amount:
type: number
description: 滑动金额
currency:
type: string
description: 划出币种
DelDTO:
type: object
properties:
lang:
type: string
description: 语言信息
id:
type: integer
format: int64
description: 主键id
minimum: 1
customerNo:
type: string
description: 客户账号
BaseResultCreateCustomerDepositRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/CreateCustomerDepositRespDto'
ok:
type: boolean
fail:
type: boolean
BaseResultListCustomerWalletVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/CustomerWalletVO'
ok:
type: boolean
fail:
type: boolean
CapitalTransferRecordDto:
type: object
properties:
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
downloadType:
type: integer
format: int32
description: 下载类型 1:直接下载,2:异步下载
startTime:
type: integer
format: int64
description: 开始时间
endTime:
type: integer
format: int64
description: 结束时间
tradeType:
type: integer
format: int64
description: 玩法标识
assetsId:
type: integer
format: int64
description: 资产id
CustomerWalletVO:
type: object
properties:
id:
type: integer
format: int64
currency:
type: string
description: 钱包币种
chainName:
type: string
description: 链名称
address:
type: string
description: 钱包地址
remark:
type: string
description: 钱包备注
defaultType:
type: integer
format: int32
description: 默认钱包标志1是0否
CreateCustomerDepositReqDto:
type: object
required:
- customerGroupId
- paymentChannelCode
- paymentChannelType
- paymentMerchantNo
- tradeType
- accountCurrency
- paymentCurrency
- paymentChannelClientType
properties:
accountId:
type: integer
format: int64
description: 账户ID
tradeType:
type: integer
format: int64
description: 玩法类型
customerGroupId:
type: integer
format: int64
description: 客户组id
depositRateSerialNo:
type: string
description: 存款费率流水号
paymentCurrency:
type: string
description: 存款货币编码
blockchainName:
type: string
description: 链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
accountCurrency:
type: string
description: 账户货币编码
exchangeRate:
type: number
description: 汇率
paymentChannelCode:
type: string
description: 支付渠道编码
paymentChannelType:
type: string
description: 支付渠道类型
paymentMerchantNo:
type: string
description: 支付商户号
paymentChannelClientType:
type: string
description: 支付通道客户端类型pc、mobile
depositAmount:
type: number
description: 账户存款金额
thirdAmount:
type: number
description: 给第三方的请求金额,个别支付通道需要:PayRedeem
country:
type: string
description: 国家(客户账号开户所属国家)
channelCode:
type: string
description: 广告来源(客户账号开户渠道编码)
depositFrom:
type: string
description: >-
存款来源,取值H5、H5_Android、H5_IOS、PCUI_Windows、PCUI_Mac、APP_Android、APP_IOS
callbackUrl:
type: string
description: 前台回调地址
showUrl:
type: string
description: YUL1地址
extend:
type: string
description: 扩展字段
bankCode:
type: string
description: 出款银行编码
paymentChannelPayType:
type: string
description: 支付通道支付类型
thirdAccount:
type: string
description: 三方账号
remark:
type: string
description: 备注
chainId:
type: string
description: 网络链ID
QueryWalletDTO:
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
currency:
type: string
description: 钱包币种
chainName:
type: string
description: 链名称
CreateCustomerDepositRespDto:
type: object
properties:
submitType:
type: string
description: 数据提交方式 post_data,inner_browser_open,outer_browser_open
url:
type: string
description: 请求地址
contentType:
type: string
description: 数据类型Content-Type text/plain 或者 application/json
data:
type: string
description: 跳转到支付平台的http 请求参数
proposalNo:
type: string
description: 提案号
browserOpenUrl:
type: string
description: 直接跳转支付通道地址
amount:
type: string
description: 支付金额,仅`paymentChannelCode`为`blockatm_qr`返回
currency:
type: string
description: 支付币种,仅`paymentChannelCode`为`blockatm_qr`返回
toAddress:
type: string
description: 支付地址,仅`paymentChannelCode`为`blockatm_qr`返回
expireTime:
type: integer
description: 过期时间,仅`paymentChannelCode`为`blockatm_qr`返回
format: long
apiKey:
type: string
description: apiKey,仅`paymentChannelCode`为`blockatm_qr`返回
paymentChannelCode:
type: string
description: 支付渠道编码,仅`paymentChannelCode`为`blockatm_qr`返回
LoginPwdBindDTO:
type: object
required:
- pwd
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
pwd:
type: string
description: 密码
googleCode:
type: string
description: 谷歌验证码
CapitalTransferReqDto:
type: object
required:
- amount
- toCustomerNo
- toTradeType
- tradeType
properties:
accountId:
type: integer
format: int64
description: 账户ID
accountDigit:
type: integer
format: int32
description: 账户小数位
toTradeType:
type: integer
format: int64
description: 划入账户玩法
toAccountId:
type: integer
format: int64
description: 划入账户id
toCustomerNo:
type: string
description: 划入客户编号
toAccountDigit:
type: integer
format: int32
description: 划入账户小数位
amount:
type: number
description: amount
currency:
type: string
description: 划转的币种
tradeType:
type: string
description: 划出账户玩法
BindEmailDTO:
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
verifyCode:
type: string
description: 验证码
email:
type: string
description: 邮箱
sendToken:
type: string
description: 验证码发送票据
emailArea:
type: string
description: 邮箱区号
googleCode:
type: string
description: 谷歌验证码
CustomerRechargeWalletAddrReqDto:
type: object
required:
- accountCurrency
- blockchainName
- country
- customerGroupId
- paymentChannelClientType
- paymentChannelCode
- paymentChannelType
- paymentMerchantNo
properties:
customerGroupId:
type: integer
format: int64
description: 客户组id
paymentChannelCode:
type: string
description: 支付渠道编码
paymentChannelType:
type: string
description: 支付渠道类型
paymentMerchantNo:
type: string
description: 支付商户号
paymentChannelClientType:
type: string
description: 支付通道客户端类型pc、mobile
accountCurrency:
type: string
description: 账户货币编码
blockchainName:
type: string
description: 链名称
country:
type: string
description: 国家(客户账号开户所属国家)
extend:
type: string
description: 扩展字段
MarkOpenCardDepositRateDto:
type: object
required:
- paymentCurrency
- blockchainName
- depositRateSerialNo
properties:
depositRateSerialNo:
type: string
description: 存款汇率流水号
paymentCurrency:
type: string
description: 支付币种
blockchainName:
type: string
description: 链名称
address:
type: string
description: 收款地址
BindPhoneDTO:
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
phoneArea:
type: string
phone:
type: string
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
googleCode:
type: string
description: 谷歌验证码
CustomerRechargeWalletAddrRespDto:
type: object
properties:
paymentCode:
type: string
description: 支付通道编码
currency:
type: string
description: 支付币种
blockchainName:
type: string
description: 链名称
address:
type: string
description: 支付地址
expireTime:
type: integer
description: 地址失效时间
ChangeEmailV1v1v2DTO:
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
verifyCode:
type: string
description: 验证码
email:
type: string
description: 邮箱
sendToken:
type: string
description: 验证码发送票据
emailArea:
type: string
description: 邮箱区号
verifyCodeOld:
type: string
description: 原邮箱验证码
sendTokenOld:
type: string
description: 原邮箱验证码发送票据
googleCode:
type: string
description: 谷歌验证码
BaseResultCustomerRechargeWalletAddrRespDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/CustomerRechargeWalletAddrRespDto'
ok:
type: boolean
fail:
type: boolean
ChangeSettingLangDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
newLang:
type: string
description: 语言信息
CustomerWithdrawProposalDto:
type: object
required:
- tradeType
- withdrawViewStatus
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
tradeType:
type: integer
format: int64
proposalNo:
type: string
description: 提案号
country:
type: string
description: 国家
accountCurrency:
type: string
description: 账户货币(交易账号货币)
withdrawCurrency:
type: string
description: 取款货币(支付通道支持的货币)
amount:
type: string
description: 提案金额
rate:
type: string
description: 发送给平台CATS2使用的取款汇率
withdrawFee:
type: string
description: 取款手续费
finalAmount:
type: string
description: 最终取款金额
accountDeductAmount:
type: string
description: 账户减扣
bankAccountName:
type: string
description: 银行卡持有者姓名
bankName:
type: string
description: 银行卡银行名称
displayBankName:
type: string
description: 银行卡银行名称翻译
bankCardNo:
type: string
description: 银行卡号
checkBy:
type: string
description: 审批人
checkStatus:
type: integer
format: int32
description: 提案状态,等待人工审批:1、审批成功:2、审批失败:3
transferStatus:
type: integer
format: int32
description: 转账状态,待转账:1、转账成功:2、转账失败:3
amlRet:
type: integer
format: int32
description: aml校验结果AmlCheckRetEnum:通过1,失败2
amlFailReasion:
type: string
description: aml校验不通过原因
remark:
type: string
description: 备注
withdrawType:
type: integer
format: int32
description: 取款类型,提现:1(提款到银行卡)、提币:2(提数字币到数字钱包)
withdrawCoinStatus:
type: integer
format: int32
description: 提币状态,待提币:1、提币成功:2、提币失败:3、提交失败:4
withdrawMethod:
type: string
description: >-
收款方式,数据字典配置,如银行卡、数字钱包、skill、PayPal等,目前仅有银行卡和数字钱包,提现:bank(对应银行卡)、提币:coin(对应数字钱包)
blockchainName:
type: string
description: 链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
txid:
type: string
description: txid
customerGroupId:
type: integer
format: int64
description: 客户组id
thirdMessage:
type: string
description: 调用第三方响应消息
withdrawViewStatus:
type: integer
description: 取款状态码,待审批:1、审批失败:2、失败:3、已完成:4、处理中:5
transferRejectReason:
type: string
description: 转账拒绝原因
ChangePhoneV1v1v2DTO:
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
phoneArea:
type: string
phone:
type: string
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 验证码发送票据
verifyCodeOld:
type: string
description: 原手机验证码
sendTokenOld:
type: string
description: 验证码发送票据
googleCode:
type: string
description: 谷歌验证码
BaseResultBasePageVoCustomerWithdrawProposalDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoCustomerWithdrawProposalDto'
ok:
type: boolean
fail:
type: boolean
CustomerExistDTO:
type: object
required:
- type
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
loginName:
type: string
description: 账号:邮箱/手机号码
type:
type: integer
format: int32
description: >-
注册方式:1邮箱,2手机号码,3客户账号,4:apple,5:google,6:telegram,7:metamask,8:facebook,9:twitter
minimum: 1
maximum: 3
BasePageVoCustomerWithdrawProposalDto:
type: object
properties:
records:
type: array
description: 结果列表
items: *ref_76
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultCustomerStatusVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/CustomerStatusVO'
ok:
type: boolean
fail:
type: boolean
BasePageVoCustomerDepositProposalDto:
type: object
properties:
records:
type: array
description: 结果列表
items: *ref_77
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
CustomerStatusVO:
type: object
properties:
status:
type: integer
format: int32
description: 客户是否存在,1存在是2不存在,-1被禁用
country:
type: string
description: 国家
phoneArea:
type: string
description: 手机区号
CustomerDepositProposalDto:
type: object
required:
- tradeType
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
tradeType:
type: integer
format: int64
proposalNo:
type: string
description: 提案号
country:
type: string
description: 国家(客户账号开户所属国家)
depositCurrency:
type: string
description: 账户货币(交易账号货币)
paymentCurrency:
type: string
description: 存款货币(支付通道支持的货币)
blockchainName:
type: string
description: 链名称,数据字典配置,收款方式是数字钱包,显示对应的链名称(又叫转账网络),如Omin、ERC20、TRC20
intendAmount:
type: string
description: 提案金额(平台收到的金额)
toPaymentRate:
type: string
description: 发送给支付平台使用的存款汇率
toPaymentAmount:
type: string
description: 发送给支付平台金额(支付通道接收到的金额)
fromPaymentAmount:
type: string
description: 从支付平台收到金额(支付通道回调通知的金额)
paymentRate:
type: string
description: 生成存款提案时提交申请的存款汇率,等客户支付后收到通知时汇率要变更为支付时的汇率
actualAmount:
type: string
description: 实际存款金额
depositFee:
type: string
description: 存款手续费
finalAmount:
type: string
description: 最终入账金额
paymentCode:
type: string
description: 支付通道编码
paymentType:
type: string
description: 支付通道类型
clientType:
type: string
description: >-
存款来源(终端类型H5_Android、H5_IOS、PCUI_Windows、PCUI_Mac、APP_Android、APP_IOS)
channelCode:
type: string
description: 广告来源(客户账号开户渠道编码)
checkBy:
type: string
description: 审批人
remark:
type: string
description: 备注
checkStatus:
type: integer
format: int32
description: 提案状态,待审批:1、审批成功:2、审批失败:3、提案失效:4
depositStatus:
type: integer
format: int32
description: 存款状态,待存款:1、存款成功:2、审批失败:3
paymentStatus:
type: integer
format: int32
description: 支付状态,待支付:1、支付成功:2、支付失败:3
amlRet:
type: integer
format: int32
description: aml校验结果AmlCheckRetEnum:通过1,失败2
amlFailReasion:
type: string
description: aml校验不通过原因
refundRet:
type: integer
format: int32
description: 向支付通道退款:待退款1,提交成功2,提交返回失败3,调用异常4,退款成功5,退款失败6
notifyStatus:
type: boolean
description: 支付通知状态0:未通知、1:已通知
queryCount:
type: integer
format: int32
description: 补单已查询次数
queryMaxCount:
type: integer
format: int32
description: 补单最多查询次数
txid:
type: string
description: txid
rechargeType:
type: string
description: 充值方式,1:直充,2:汇兑
address:
type: string
description: 收款地址
thirdId:
type: string
description: 第三方记录id
callbackUrl:
type: string
description: 前台回调地址
refundToAddr:
type: string
description: 退款时的入账地址
customerGroupId:
type: integer
format: int64
description: 客户组id
thirdAccount:
type: string
description: 三方账号
CustomerAdminDestroyDTO:
type: object
required:
- remark
properties:
updateBy:
type: string
description: 更新人
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
remark:
type: string
description: 销户备注
ext:
type: string
FieldOrderDto:
type: object
properties:
column:
type: string
description: 排序字段列
asc:
type: boolean
description: 顺序方式
EnableOrForbidMFADTO:
type: object
required:
- googleId
- type
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
verifyCodeSMS:
type: string
description: 邮箱验证码
sendTokenSMS:
type: string
description: 邮箱验证码发送票据
verifyCodeEmail:
type: string
description: 手机验证码
sendTokenEmail:
type: string
description: 手机验证码发送票据
googleCode:
type: string
description: 谷歌验证码
type:
type: integer
format: int32
description: 类型,1启用 2禁用
minimum: 1
maximum: 2
googleId:
type: integer
format: int64
description: 谷歌Id
minimum: 1
BaseResultBasePageVoCustomerAdjustProposalDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoCustomerAdjustProposalDto'
ok:
type: boolean
fail:
type: boolean
AllKycUserReviewedVO:
type: object
properties:
id:
type: integer
format: int64
description: id
companyId:
type: integer
format: int64
description: 公司id
customerNo:
type: string
description: 客户账号
elementCode:
type: string
description: KYC元素Code
elementValue:
type: string
description: 认证项的值
approvalTime:
type: integer
format: int64
description: 审批时间
BaseResultBasePageVoCustomerDepositProposalDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoCustomerDepositProposalDto'
ok:
type: boolean
fail:
type: boolean
BaseResultListAllKycUserReviewedVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/AllKycUserReviewedVO'
ok:
type: boolean
fail:
type: boolean
QueryProposalPageReqDto:
type: object
properties:
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
downloadType:
type: integer
format: int32
description: 下载类型 1:直接下载,2:异步下载
orders:
type: array
description: 排序字段列表
items: *ref_60
startTime:
type: integer
format: int64
endTime:
type: integer
format: int64
withdrawType:
type: integer
format: int32
description: 取款类型,提现:1(提款到银行卡)、提币:2(提数字币到数字钱包)
depositCurrency:
type: string
description: 存款币种
paymentCurrency:
type: string
description: 支付币种
accountCurrency:
type: string
description: 账户币种(客户出账币种)
withdrawCurrency:
type: string
description: 取款币种(客户入账币种)
rechargeType:
type: string
description: 充值方式,1:直充,2:汇兑
txid:
type: string
description: 交易id
depositStatus:
type: string
description: 存款状态
paymentStatus:
type: string
description: 支付状态
businessType:
type: string
QueryWithdrawProposalPageReqDto:
type: object
properties:
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
orders:
type: array
description: 排序字段列表
items: *ref_60
startTime:
type: integer
format: int64
endTime:
type: integer
format: int64
withdrawType:
type: integer
format: int32
description: 取款类型,提现:1(提款到银行卡)、提币:2(提数字币到数字钱包)
accountCurrency:
type: string
description: 账户币种(客户出账币种)
withdrawCurrency:
type: string
description: 取款币种(客户入账币种)
txid:
type: string
description: 交易id
QueryDepositProposalPageReqDto:
type: object
properties:
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
orders:
type: array
description: 排序字段列表
items: *ref_60
startTime:
type: integer
format: int64
endTime:
type: integer
format: int64
depositCurrency:
type: string
description: 存款币种
paymentCurrency:
type: string
description: 支付币种
rechargeType:
type: string
description: 充值方式,1:直充,2:汇兑
txid:
type: string
description: 交易id
depositStatus:
type: string
description: 存款状态
paymentStatus:
type: string
description: 支付状态
BaseResultCustomerAllInfoVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/CustomerAllInfoVO'
ok:
type: boolean
fail:
type: boolean
CustomerAdjustProposalDto:
type: object
required:
- tradeType
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
tradeType:
type: integer
format: int64
proposalNo:
type: string
description: 提案号
businessType:
type: integer
format: int32
description: 业务类型编码
accountCurrency:
type: string
description: 账户货币(交易账号货币)
amount:
type: number
description: 提案金额
withdraw:
type: boolean
description: 是否可提取
operatorPassword:
type: string
description: 操作员的资金密码
checkBy:
type: string
description: 审批人
checkStatus:
type: integer
format: int32
description: 提案状态,等待人工审批:1、审批成功:2、审批失败:3
remark:
type: string
description: 备注
thirdOrderId:
type: string
description: 三方订单ID
resetAccount:
type: boolean
description: 是否清零
businessTypeText:
type: string
thirdAccount:
type: string
description: 三方账号
BaseResultBoolean:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: boolean
description: 数据体
ok:
type: boolean
fail:
type: boolean
CustomerAllInfoVO:
type: object
properties:
id:
type: integer
format: int64
description: 客户id
companyId:
type: integer
format: int64
description: 公司
customerGroupId:
type: integer
format: int64
description: 客户组
customerNo:
type: string
description: 客户账号
kycAuditStatus:
type: integer
format: int32
description: 注册KYC审核状态:0未认证跳转到认证页面,1待审核,2审核通过,3审核不通过
kycAuditRemark:
type: string
description: 注册KYC审核备注,审核拒绝不为空
kycStatus:
type: integer
format: int32
description: KYC状态
kycRemark:
type: string
description: KYC状态名称
accountList:
type: object
description: 交易账户列表
properties: {}
accountRemark:
type: string
description: 客户是否有交易账户备注
loginPassStatus:
type: string
description: 设置密码提醒标志,1需要设置密码,2不需要
payPassStatus:
type: string
description: 支付密码是否存在状态,1不存在,2存在
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
country:
type: string
description: 国家
type:
type: integer
format: int32
description: 组类型 <0真实,1模拟,2游客>
deposit:
type: integer
format: int32
description: 可存款,1可存款
withdraw:
type: integer
format: int32
description: 可取款,1可取款
optional:
type: integer
format: int32
description: 自选标志0未添加1已添加
activateStatus:
type: integer
format: int32
description: 激活状态
activateTime:
type: integer
format: int64
description: 激活时间
companyKycStatus:
type: integer
format: int32
description: 公司KYC开户状态,1开启2未开启
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
thirdServerCode:
type: string
description: 第三方系统唯一编号
source:
type: string
description: 来源
thirdLoginSource:
type: string
description: 第三方登录源 google,facebook,twitter
thirdUserId:
type: string
description: 第三方userId
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
thirdIntactMsg:
type: string
description: 第三方登录完整数据
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
isFund:
type: integer
format: int32
description: 是否为基金经理,1是,默认0否
assertPassStatus:
type: string
description: 设置资金密码提醒标志,1需要设置密码,2不需要
googleId:
type: integer
format: int64
description: 是否开启MFA,大于0,开启,其余未开启
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
loginTime:
type: integer
format: int64
description: 登陆时间
createTime:
type: integer
format: int64
description: 创建时间
relationCustomerId:
type: integer
format: int64
description: 关联账户id
companyType:
type: string
description: 公司类型
registerSource:
type: integer
format: int32
description: 注册来源
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
registerTime:
type: integer
format: int64
description: 注册时间
utmSource:
type: string
description: 广告来源
forceLevel:
type: object
description: 强平水平
properties: {}
earlyWarningLevel:
type: object
description: 预警水平
properties: {}
withdrawLevel:
type: object
description: 取款水平
properties: {}
CustomerMsgFindDTO:
type: object
required:
- customerNo
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
companyType:
type: string
description: 公司类型
associationCompanyIdTemp:
type: integer
format: int64
description: 关联公司Id
BasePageVoCustomerAdjustProposalDto:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/CustomerAdjustProposalDto'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResult1:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: object
description: 数据体
properties: {}
ok:
type: boolean
fail:
type: boolean
BaseResultWithdrawRiskConfigDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: *ref_78
ok:
type: boolean
fail:
type: boolean
BaseResultCapitalTransferRecordResDto:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
description: 数据体
$ref: '#/components/schemas/BasePageVoCapitalTransferRecordResDto'
ok:
type: boolean
fail:
type: boolean
AdminV1v3v0CustomerSimpleVO:
type: object
properties:
id:
type: integer
format: int64
description: 客户id
companyId:
type: integer
format: int64
description: 公司
customerGroupId:
type: integer
format: int64
description: 客户组
customerNo:
type: string
description: 客户账号
country:
type: string
description: 国家
relationCustomerId:
type: integer
format: int64
description: 关联账户id
companyType:
type: string
description: 公司类型
associationCompanyId:
type: integer
format: int64
description: 关联公司Id
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
BasePageVo:
type: object
properties:
records:
type: array
description: 结果列表
items:
type: object
properties: {}
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BasePageVoCapitalTransferRecordResDto:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/CapitalTransferRecordResDto'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultAdminV1v3v0CustomerSimpleVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/AdminV1v3v0CustomerSimpleVO'
ok:
type: boolean
fail:
type: boolean
BaseDto:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
FundBaseDto: *ref_56
LoginPwdForgetDTO:
type: object
required:
- newPwd
- type
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
loginName:
type: string
description: 账号:邮箱/手机号码
type:
type: integer
format: int32
description: >-
注册方式:1邮箱,2手机号码,3客户账号,4:apple,5:google,6:telegram,7:metamask,8:facebook,9:twitter
minimum: 1
maximum: 3
newPwd:
type: string
description: 新密码
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 发送票据
verifyCodeToken:
type: string
description: 验证票据
googleCode:
type: string
description: 谷歌验证码
AssertPwdForgetV1v1v2DTO:
type: object
required:
- newPwd
- type
properties:
lang:
type: string
description: 语言信息
newPwd:
type: string
description: 新密码
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 发送票据
type:
type: integer
format: int32
description: 注册方式:1邮箱,2手机号码,3客户账号
minimum: 1
maximum: 3
googleCode:
type: string
description: 谷歌验证码
LoginDTO:
type: object
required:
- type
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
loginName:
type: string
description: 账号:邮箱/手机号码
type:
type: integer
format: int32
description: >-
注册方式:1邮箱,2手机号码,3客户账号,4:apple,5:google,6:telegram,7:metamask,8:facebook,9:twitter
minimum: 1
maximum: 3
loginPwd:
type: string
description: 登录密码
verifyCode:
type: string
description: 验证码
sendToken:
type: string
description: 发送票据
ip:
type: string
description: 登录ip
device:
type: integer
format: int32
description: 登录设备
bindThirdUserId:
type: string
description: 绑定第三方userId
thirdSource:
type: string
description: 第三方源 google,facebook,twitter...
googleCode:
type: string
description: 谷歌验证码
checkVerifyCode:
type: boolean
ModifyCustomerDTO:
type: object
required:
- beginTime
- type
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
type:
type: integer
format: int32
description: 状态 1、2、首次入金,首次出金
minimum: 1
maximum: 2
beginTime:
type: integer
format: int64
description: 首次时间
AccountAdminAddDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
tradeTypeCurrencyList:
type: array
description: 玩法币种信息
items: *ref_71
maxItems: 2147483647
minItems: 1
QueryAccountAssetsInfoDTO:
type: object
required:
- customerGroupId
- tradeType
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
tradeType:
type: integer
format: int64
description: 玩法Id
minimum: 1
customerGroupId:
type: integer
format: int64
description: 客户组Id
minimum: 1
accountId:
type: integer
format: int64
description: 账户Id
accountCurrency:
type: string
description: 账户币种
QueryAccountDTO:
type: object
required:
- customerGroupId
- tradeType
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
tradeType:
type: integer
format: int64
description: 玩法Id
minimum: 1
customerGroupId:
type: integer
format: int64
description: 客户组Id
minimum: 1
accountId:
type: integer
format: int64
description: 账户Id
currency:
type: string
description: 开户币种
QueryCustomerAssetsDTO:
type: object
required:
- customerGroupId
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
customerGroupId:
type: integer
format: int64
description: 客户组ID
tradeType:
type: integer
format: int64
description: 玩法Id
QueryCustomerAssetsInfoDTO:
type: object
required:
- customerGroupId
- tradeType
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
tradeType:
type: integer
format: int64
description: 玩法Id
minimum: 1
customerGroupId:
type: integer
format: int64
description: 客户组Id
minimum: 1
accountCurrency:
type: string
description: 账户币种
QueryCustomerRiskLevelDTO:
type: object
required:
- tradeType
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
tradeType:
type: integer
format: int64
QueryLiabilitiesWaterPageDTO:
type: object
required:
- customerGroupId
- tradeType
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
customerNo:
type: string
description: 客户编号
tradeType:
type: integer
format: int64
description: 玩法Id
minimum: 1
customerGroupId:
type: integer
format: int64
description: 客户组Id
minimum: 1
liabilitiesType:
type: integer
format: int32
description: 1-借款;2-还款
startTime:
type: integer
format: int64
description: 开始时间
endTime:
type: integer
format: int64
description: 结束时间
accountId:
type: integer
format: int64
description: 账户Id
assetsId:
type: integer
format: int64
description: 资产Id
RegisterDTO:
type: object
required:
- registerSource
- type
properties:
country:
type: string
description: 国家
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
loginName:
type: string
description: 账号:邮箱/手机号码
type:
type: integer
format: int32
description: >-
注册方式:1邮箱,2手机号码,3客户账号,4:apple,5:google,6:telegram,7:metamask,8:facebook,9:twitter
minimum: 1
maximum: 3
phone:
type: string
description: 手机号码
registerDevice:
type: string
description: 注册的设备型号
email:
type: string
description: 邮箱
ip:
type: string
description: 操作ip
verifyCode:
type: string
description: 验证码
registerSource:
type: integer
format: int32
minimum: 1
utmSource:
type: string
description: 广告来源(开户链接参数source)
utmMedium:
type: string
description: 广告媒介(开户链接参数medium)
utmCampaign:
type: string
description: 广告系列(开户链接参数campaign)
utmContent:
type: string
description: 广告组(开户链接参数content)
utmTerm:
type: string
description: 关键词(开户链接参数term)
sendToken:
type: string
description: 验证码发送票据
customerGroupId:
type: integer
format: int64
description: 客户组ID
tradeTypeCurrencyList:
type: array
description: 玩法币种信息
items: *ref_71
maxItems: 2147483647
minItems: 1
thirdServerCode:
type: string
description: 第三方系统唯一编号
thirdServerSource:
type: string
description: 第三方系统来源
thirdLoginSource:
type: string
description: 第三方登录源 google,facebook,twitter
thirdUserId:
type: string
description: 第三方userId
thirdIntactMsg:
type: string
description: 从第三方获取的完整数据
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
pwd:
type: string
description: 密码
thirdLoginEmailFlag:
type: boolean
opType:
type: string
description: 操作类型,对前端不生效
checkVerifyCode:
type: boolean
LoginPwdUpdateDTO:
type: object
required:
- newPwd
- oldPwd
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
oldPwd:
type: string
description: 旧密码
newPwd:
type: string
description: 新密码
googleCode:
type: string
description: 谷歌验证码
GoogleCheckCodeDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: Id
customerNo:
type: string
description: 客户编号
code:
type: string
description: google验证码
BaseResultCustomerGoogleVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/CustomerGoogleVo'
ok:
type: boolean
fail:
type: boolean
CustomerGoogleVo:
type: object
properties:
id:
type: integer
format: int64
description: Id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
customerNo:
type: string
description: 客户编号
qrcode:
type: string
description: 二维码信息
code:
type: string
description: google验证码
GoogleQueryCodeDTO: &ref_79
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: Id
customerNo:
type: string
description: 客户编号
GoogleAddOrUpdateDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: Id
customerNo:
type: string
description: 客户编号
qrcode:
type: string
description: 二维码信息
GoogleUpdateStatusCodeDTO: *ref_79
InitDbDTO:
type: object
required:
- adminPassword
- adminUrl
- adminUserName
- companyId
- connectUrl
- dataBaseName
- password
- trace
- userName
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
adminUrl:
type: string
description: 管理员连接信息
adminUserName:
type: string
description: 用户名
adminPassword:
type: string
description: 管理员密码(密文,与DDS数据源保持一致)
dataBaseName:
type: string
description: 数据库名称
connectUrl:
type: string
description: 待创建连接信息
userName:
type: string
description: 待创建用户名
password:
type: string
description: 待创建密码(密文,与DDS数据源保持一致)
assets:
type: string
description: 资产信息,分割
tradeType:
type: integer
format: int64
description: 玩法ID
allTradeType:
type: string
description: 玩法ID信息,分割
tradeTypeCurrencyList:
type: array
description: 玩法币种信息
items:
$ref: '#/components/schemas/InnerInitDTO'
maxItems: 2147483647
minItems: 1
InnerInitDTO:
type: object
required:
- tradeType
properties:
allCurrency:
type: string
description: 资产币种信息,多个资产以,拼接
tradeType:
type: integer
format: int64
description: 玩法Id
minimum: 1
KycSettingAddDTO:
type: object
required:
- businessCodeList
- kycElementList
- levelCode
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
levelCode:
type: string
description: kyc等级
openAccountType:
type: integer
format: int32
description: kyc认证类型类型 0.个人 1.企业,默认 0
businessCodeList:
type: array
description: 业务场景
items:
type: string
maxItems: 2147483647
minItems: 1
kycElementList:
type: array
description: 路径与元素关系
items: &ref_81
$ref: '#/components/schemas/KycSettingAddInnerDTO'
maxItems: 2147483647
minItems: 1
sort:
type: integer
format: int32
description: kyc等级排序
KycSettingAddInnerDTO:
type: object
required:
- elementCodeList
- pathCode
properties:
pathCode:
type: string
description: 路径信息
elementCodeList:
type: array
description: KYC元素
items:
type: string
maxItems: 2147483647
minItems: 1
KycCompanyChannelConfigDTO:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
kycCode:
type: string
description: kyc通道编码
kycType:
type: string
description: kyc通道类型
status:
type: integer
format: int32
description: 状态,启用:1、禁用:2、删除:3
kycName:
type: string
description: 支付通道名称
merchantNo:
type: string
description: 账号
privateKey:
type: string
description: 商户私钥
keyFile1Name:
type: string
description: 密钥文件1名称
keyFile1Value:
type: string
description: 密钥文件1值
keyFile2Name:
type: string
description: 密钥文件2名称
keyFile2Value:
type: string
description: 密钥文件2值
id:
type: integer
format: int64
description: 主键id
BaseResultKycCompanyChannelConfigDTO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data: &ref_80
$ref: '#/components/schemas/KycCompanyChannelConfigDTO'
ok:
type: boolean
fail:
type: boolean
BaseResultListKycCompanyChannelConfigDTO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: *ref_80
ok:
type: boolean
fail:
type: boolean
BasePageVoKycSettingVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/KycSettingVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoKycSettingVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoKycSettingVO'
ok:
type: boolean
fail:
type: boolean
KycSettingDetailVO:
type: object
properties:
pathName:
type: string
description: 路径
pathCode:
type: string
description: 路径Id
elementNames:
type: array
description: kyc元素
items:
type: string
elementCodeList:
type: array
description: kyc元素code
items:
type: string
KycSettingVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
companyId:
type: integer
format: int64
description: 公司
levelName:
type: string
description: kyc等级
levelCode:
type: string
description: kyc等级code
openAccountType:
type: integer
format: int32
description: 开户类型 0.个人 1.企业
businessNames:
type: array
description: 业务场景
items:
type: string
businessCodeList:
type: array
description: 业务场景codeList
items:
type: string
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
kycElementList:
type: array
description: kyc元素
items:
$ref: '#/components/schemas/KycSettingDetailVO'
KycSettingQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
levelCode:
type: string
description: kyc等级code
pathCode:
type: string
description: 路径code
businessCode:
type: string
description: 业务场景code
openAccountType:
type: integer
format: int32
description: 开户类型 0.个人 1.企业
BaseResultListKycCompanyChannelDTO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/KycCompanyChannelDTO'
ok:
type: boolean
fail:
type: boolean
KycCompanyChannelDTO:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
kycCode:
type: string
description: kyc通道编码
kycType:
type: string
description: kyc通道类型
status:
type: integer
format: int32
description: 状态,启用:1、禁用:2、删除:3
id:
type: integer
format: int64
description: 主键id
BasePageVoKycCompanyChannelConfigPageVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/KycCompanyChannelConfigPageVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoKycCompanyChannelConfigPageVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoKycCompanyChannelConfigPageVO'
ok:
type: boolean
fail:
type: boolean
KycCompanyChannelConfigPageVO:
type: object
properties:
id:
type: object
description: id
properties: {}
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
companyId:
type: integer
format: int64
description: 公司ID
kycCode:
type: string
description: kyc通道编码
kycType:
type: string
description: kyc通道类型
status:
type: integer
format: int32
description: 状态,启用:1、禁用:2、删除:3
kycName:
type: string
description: 支付通道名称
merchantNo:
type: string
description: 账号
privateKey:
type: string
description: 商户私钥
keyFile1Name:
type: string
description: 密钥文件1名称
keyFile1Value:
type: string
description: 密钥文件1值
keyFile2Name:
type: string
description: 密钥文件2名称
keyFile2Value:
type: string
description: 密钥文件2值
BasePageVoKycCompanyChannelPageVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/KycCompanyChannelPageVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoKycCompanyChannelPageVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoKycCompanyChannelPageVO'
ok:
type: boolean
fail:
type: boolean
KycCompanyChannelPageVO:
type: object
properties:
id:
type: object
description: id
properties: {}
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
companyId:
type: integer
format: int64
description: 公司ID
kycCode:
type: string
description: kyc通道编码
kycType:
type: string
description: kyc通道类型
status:
type: integer
format: int32
description: 状态,启用:1、禁用:2、删除:3
KycSettingUpdateDTO:
type: object
required:
- businessCodeList
- kycElementList
- levelCode
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
levelCode:
type: string
description: kyc等级
businessCodeList:
type: array
description: 业务场景
items:
type: string
kycElementList:
type: array
description: 路径与元素关系
items: *ref_81
maxItems: 2147483647
minItems: 1
UpdateKycChannelStatusDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
kycCode:
type: string
kycType:
type: string
CheckCustomerKycDTO:
type: object
required:
- businessCode
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
businessCode:
type: string
KycBizQueryDTO:
type: object
required:
- businessCode
properties:
lang:
type: string
description: 语言信息
businessCode:
type: string
description: 业务场景
openAccountType:
type: integer
format: int32
description: 开户类型
BaseResultListKycCusAuthVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/KycCusAuthVO'
ok:
type: boolean
fail:
type: boolean
KycCusAuthVO:
type: object
properties:
levelCode:
type: string
description: KYC等级code
levelName:
type: string
description: KYC等级名称
status:
type: integer
format: int32
description: 认证状态,0认证,1审核中,2审核通过,3审核拒绝
statusName:
type: string
description: 认证状态名称,0认证,1审核中,2审核通过,3审核拒绝
sort:
type: integer
format: int32
description: 排序
preLevelName:
type: string
description: 前置等级信息
businessNameList:
type: array
description: 业务场景名称集合
uniqueItems: true
items:
type: string
companyType:
type: string
description: '企业类型 '
openAccountType:
type: string
description: '开户类型:0.个人 1.企业 '
pathCode:
type: string
description: 认证路径
QueryCustomerKycDTO:
type: object
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
KycLevelQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
levelCode:
type: string
description: KYC等级
customerNo:
type: string
description: 客户账号(每个公司下唯一,跨公司不唯一)
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
selectCountry:
type: string
description: 选择的国家
selectCompanyType:
type: string
description: 选择的企业类型
KycWebAddInnerDTO:
type: object
required:
- elementCode
- elementValue
properties:
elementValue:
type: string
description: KYC元素值
elementCode:
type: string
description: KYC元素
KycWebApplyDTO:
type: object
required:
- customerNo
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
levelCode:
type: string
description: KYC等级Code
businessCode:
type: string
description: 业务场景
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
customerNo:
type: string
description: 客户编号
elementList:
type: array
description: KYC元素集合
items: *ref_10
maxItems: 2147483647
minItems: 1
selectCompanyType:
type: string
description: 选择的企业类型
commitTag:
type: boolean
description: 是否提交
selectCountry:
type: string
description: 选择的国家
cardType:
type: string
description: 卡类型
KycLevelApplyDTO:
type: object
required:
- customerNo
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
levelCode:
type: string
description: KYC等级Code
customerNo:
type: string
description: 客户编号
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
elementList:
type: array
description: KYC元素集合
items: *ref_10
maxItems: 2147483647
minItems: 1
selectCountry:
type: string
description: 选择的国家
selectCompanyType:
type: string
description: 选择的企业类型
commitTag:
type: boolean
description: 是否提交
WhiteBlackCustomerAdminAddDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
phone:
type: string
description: 手机号码
email:
type: string
description: 邮箱
area:
type: string
description: 地域
resource:
type: string
description: 来源
remark:
type: string
description: 备注
customerNo:
type: string
description: 客户编号
ip:
type: string
description: ip
bankCardNumber:
type: string
description: 银行卡号
idCardArea:
type: string
description: 身份证所在地
ipArea:
type: string
description: IP所在地
phoneArea:
type: string
description: 手机所在地
hit:
type: string
description: 命中项,逗号隔开
BlackNoListDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 修改类型,黑名单=1,白名单=2
customerNo:
type: string
description: 客户编号
BasePageVoWhiteBlackCustomerAdminVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/WhiteBlackCustomerAdminVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoWhiteBlackCustomerAdminVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoWhiteBlackCustomerAdminVO'
ok:
type: boolean
fail:
type: boolean
WhiteBlackCustomerAdminVO:
type: object
properties:
id:
type: object
description: id
properties: {}
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
companyId:
type: integer
format: int64
description: 公司编号
customerNo:
type: string
description: 客户编号
customerGroupId:
type: integer
format: int64
description: 客户组编号
customerId:
type: integer
format: int64
description: 客户ID
phone:
type: string
description: 手机号码
email:
type: string
description: 邮箱
name:
type: string
description: 姓名
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
idCard:
type: string
description: 证件号码
idCardType:
type: string
description: 证件类型
ip:
type: string
description: ip
bankCardNumber:
type: string
description: 银行卡号
idCardArea:
type: string
description: 身份证所在地
ipArea:
type: string
description: IP所在地
phoneArea:
type: string
description: 手机所在地
remark:
type: string
description: 备注
hit:
type: string
description: 命中项(逗号隔开)
WhiteBlackCustomerQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
updateTimeFrom:
type: integer
format: int64
description: 更新时间,开始时间
updateTimeTo:
type: integer
format: int64
description: 更新时间,结束时间
customerNo:
type: string
description: 客户编号,多个逗号隔开
phone:
type: string
description: 手机号码,多个逗号隔开
idCardType:
type: string
description: 证件类型
email:
type: string
description: 邮箱,多个逗号隔开
idCard:
type: string
description: 证件号码,多个逗号隔开
ip:
type: string
description: ip,多个逗号隔开
status:
type: integer
format: int32
description: 查询类型,黑名单=1,白名单=2
WhiteBlackCustomerProposalUpdateDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
white:
type: boolean
description: 是否转移白名单
remark:
type: string
description: 拒绝备注
BasePageVoWhiteBlackCustomerProposalAdminVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/WhiteBlackCustomerProposalAdminVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoWhiteBlackCustomerProposalAdminVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoWhiteBlackCustomerProposalAdminVO'
ok:
type: boolean
fail:
type: boolean
WhiteBlackCustomerProposalAdminVO:
type: object
properties:
id:
type: object
description: id
properties: {}
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
customerNo:
type: string
description: 客户编号
phone:
type: string
description: 手机号码
email:
type: string
description: 邮箱
ip:
type: string
description: ip
status:
type: integer
format: int32
description: 状态:1启用、2禁用
updateBy:
type: string
description: 审批人
remark:
type: string
description: 备注
WhiteBlackCustomerProposalQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
updateTimeFrom:
type: integer
format: int64
description: 审批时间,开始时间
updateTimeTo:
type: integer
format: int64
description: 审批时间,结束时间
createTimeFrom:
type: integer
format: int64
description: 申请时间,开始时间
createTimeTo:
type: integer
format: int64
description: 申请时间,结束时间
customerNo:
type: string
description: 客户编号
phone:
type: string
description: 手机号码
email:
type: string
description: 邮箱
ip:
type: string
description: ip
status:
type: integer
format: int32
description: 查询类型,黑名单注册审核记录=0,待审核黑名单注册提案=1
BasePageVoWhiteBlackInfoAdminVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/WhiteBlackInfoAdminVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoWhiteBlackInfoAdminVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoWhiteBlackInfoAdminVO'
ok:
type: boolean
fail:
type: boolean
WhiteBlackInfoAdminVO:
type: object
properties:
id:
type: object
description: id
properties: {}
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
type:
type: string
description: 黑名单条件
val:
type: string
description: 条件值
updateBy:
type: string
description: 更新人
status:
type: integer
format: int32
description: 状态
WhiteBlackInfoQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
status:
type: integer
format: int32
description: 状态:1启用、2禁用
updateTimeFrom:
type: integer
format: int64
description: 更新时间,开始时间
updateTimeTo:
type: integer
format: int64
description: 更新时间,结束时间
type:
type: string
description: 黑名单条件
WhiteBlackInfoAdminAddDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态:1启用、2禁用、3删除
type:
type: string
description: 黑名单条件 phone=手机号 email=邮箱 certificateId=证件号 bankAccount=银行
val:
type: string
description: 条件值
AdminAddWalletDTO:
type: object
properties:
currency:
type: string
description: 钱包币种
chainName:
type: string
description: 链名称
address:
type: string
description: 钱包地址
remark:
type: string
description: 钱包备注
defaultWallet:
type: string
description: 默认钱包,1默认,其他非默认
CusWithdrawBankAddDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
bankAccountName:
type: string
description: 持卡人姓名
bankName:
type: string
description: 银行名称
bankCode:
type: string
description: 银行编码
bankCardNumber:
type: string
description: 银行卡号
phone:
type: string
description: 银行预留手机号码
bankCurrency:
type: string
bankAddress:
type: string
bankBranch:
type: string
internationalCode:
type: string
description: 国际汇款编码
bankOrder:
type: integer
format: int32
description: 银行次序, 由1开始
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
bankAccount:
type: string
swiftCode:
type: string
otherCode:
type: string
CustomerAdminKycDTO:
type: object
required:
- customerGroupId
- registerSource
properties:
country:
type: string
description: 国家
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
name:
type: string
description: 姓名
idCardType:
type: string
description: 证件类型
idCard:
type: string
description: 证件号码
birthday:
type: string
description: 出生日期
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
emailArea:
type: string
description: 邮箱区号
province:
type: string
description: 省
city:
type: string
description: 市
address:
type: string
description: 详细地址
remark:
type: string
description: 备注
customerGroupId:
type: integer
format: int64
description: 客户组id
registerSource:
type: integer
format: int32
description: >-
注册来源(1:H5、2:H5_Android、3:H5_IOS、4:PCUI_Windows、5:PCUI_Mac、6:APP_Andorid、7:APP_IOS)
pathCode:
type: string
description: 验证路径
businessCode:
type: string
description: 业务场景
levelCode:
type: string
description: KYC等级Code
elementList:
type: array
description: KYC元素集合
items: *ref_10
withdrawBankList:
type: array
description: 银行卡集合
items: &ref_85
$ref: '#/components/schemas/CusWithdrawBankAddDTO'
bankCardNumber:
type: string
description: 银行卡号
reservePhone:
type: string
description: 银行预留手机号码
identityNumber:
type: string
description: 身份证号
otherName:
type: string
description: 其他->姓名
tradeTypeCurrencyList:
type: array
description: 玩法币种信息
items: *ref_71
walletList:
type: array
description: 钱包集合
items: &ref_86
$ref: '#/components/schemas/AdminAddWalletDTO'
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
openAccountType:
type: integer
format: int32
description: 开户类型
pwd:
type: string
description: 密码
registerType:
type: integer
format: int32
description: >-
注册方式,1:email,2:phone,3:customerNo,4:apple,5:google,6:telegram,7:metamask,8:facebook,9:twitter
CustomerAdminChangeGroupDTO:
type: object
required:
- newCustomerGroupId
- remark
properties:
updateBy:
type: string
description: 更新人
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
newCustomerGroupId:
type: integer
format: int64
description: 新客户组
remark:
type: string
description: 转组备注
CheckPwdDTO:
type: object
required:
- pwd
- pwdType
properties:
lang:
type: string
description: 语言信息
pwd:
type: string
description: 密码
pwdType:
type: string
description: 密码类型
enum:
- LOGIN_PWD
- ASSERT_PWD
- TRADE_PWD
CustomerDetailDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
type:
type: string
description: >-
类型信息,用于详情标签页面,baseInfo=基础信息,tradeAccount=交易账户,kyc=kyc信息,allKyc=详情页面kyc信息,bankList=银行卡列表,walletList=钱包地址,otherInfo=其他
customerNo:
type: string
description: 客户编号
CustomerNoListDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
customerNo:
type: string
description: 客户编号
BaseResultPairListStringListWhiteCustomerAdminPageExcelVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/PairListStringListWhiteCustomerAdminPageExcelVO'
ok:
type: boolean
fail:
type: boolean
Pair:
type: object
properties:
left:
type: object
properties: {}
right:
type: object
properties: {}
value:
type: object
properties: {}
key:
type: object
properties: {}
PairListStringListWhiteCustomerAdminPageExcelVO:
type: object
properties:
left:
type: array
items:
type: string
right:
type: array
items: &ref_82
$ref: '#/components/schemas/WhiteCustomerAdminPageExcelVO'
value:
type: array
items: *ref_82
key:
type: array
items:
type: string
WhiteCustomerAdminPageExcelVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
customerGroupName:
type: string
description: 客户组名称
firstAccountActivateTime:
type: integer
format: int64
description: 交易账号首次激活时间
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
customerNo:
type: string
description: 客户账号
companyId:
type: integer
format: int64
description: 公司ID
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
idCardType:
type: string
description: 证件类型
idCard:
type: string
description: 证件号码
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
utmSource:
type: string
description: 广告来源
utmMedium:
type: string
description: 广告媒介
utmCampaign:
type: string
description: 广告系列
utmContent:
type: string
description: 广告组
utmTerm:
type: string
description: 关键词
country:
type: string
description: 国家
registerSource:
type: integer
format: int32
description: 开户来源
bitcoinAddress:
type: string
description: Bitcoin链钱包地址
bitcoinCurrency:
type: string
description: Bitcoin链币种
ethereumAddress:
type: string
description: Ethereum (ERC20)链钱包地址
ethereumCurrency:
type: string
description: Ethereum (ERC20)链币种
tronAddress:
type: string
description: Tron (TRC20)链钱包地址
tronCurrency:
type: string
description: Tron (TRC20)链币种
bnbAddress:
type: string
description: BNB Smart Chain(BEP20)链钱包地址
bnbCurrency:
type: string
description: BNB Smart Chain(BEP20)链币种
walletAccount:
type: string
description: OPS钱包账号
registerType:
type: integer
format: int32
description: 注册方式
WhiteCustomerQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
email:
type: string
description: 邮箱
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
idCard:
type: string
description: 证件号码
firstOpenAccountTimeFrom:
type: integer
format: int64
description: 首次开户时间,开始时间
firstOpenAccountTimeTo:
type: integer
format: int64
description: 首次开户时间,结束时间
firstAccountActivateTimeFrom:
type: integer
format: int64
description: 首次激活时间,开始
firstAccountActivateTimeTo:
type: integer
format: int64
description: 首次激活时间,结束
customerGroupId:
type: integer
format: int32
description: 客户组Id
customerNo:
type: string
phone:
type: string
description: 手机号码
firstRegisterTimeFrom:
type: integer
format: int64
description: 首次注册时间,开始时间
firstRegisterTimeTo:
type: integer
format: int64
description: 首次注册时间,结束时间
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
thirdAccountNo:
type: string
description: 三方账户
pass2Type:
type: string
description: 三方类型
registerSource:
type: integer
format: int32
description: 注册来源
BaseResultCustomerAllTimeVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/CustomerAllTimeVO'
ok:
type: boolean
fail:
type: boolean
CustomerAllTimeVO:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司
customerNo:
type: string
description: 客户账号
lastUpdatePwdTime:
type: integer
format: int64
description: 最后一次更新密码时间
lastUpdatePhoneTime:
type: integer
format: int64
description: 最后一次更新手机时间
lastUpdateEmailTime:
type: integer
format: int64
description: 最后一次更新邮箱时间
lastUpdateAssertTime:
type: integer
format: int64
description: 最后一次更新资金密码时间
firstAccountActivateTime:
type: integer
format: int64
description: 交易账号首次激活时间
CustomerBaseDTO: *ref_83
CommonCustomerNODTO: *ref_83
BaseResultListCustomerSimpleVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items: *ref_84
ok:
type: boolean
fail:
type: boolean
CustomerListQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
customerGroupId:
type: integer
format: int64
description: 客户组Id
rechargeTag:
type: boolean
description: 是否已充值
cutomerNos:
type: array
description: customerNos
items:
type: string
loginTimeBegin:
type: integer
format: int64
description: 登陆时间开始
activerTag:
type: boolean
BaseResultListCustomerSelectVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/CustomerSelectVo'
ok:
type: boolean
fail:
type: boolean
CustomerSelectVo:
type: object
properties:
companyId:
type: integer
format: int64
customerNo:
type: string
id:
type: integer
format: int64
BaseResultListCustomerVo:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/CustomerVo'
ok:
type: boolean
fail:
type: boolean
CustomerVo:
type: object
properties:
companyId:
type: integer
format: int64
customerGroupId:
type: integer
format: int64
customerNo:
type: string
id:
type: integer
format: int64
CustomerGroupDTO:
type: object
required:
- customerGroupId
properties:
lang:
type: string
description: 语言信息
customerGroupId:
type: integer
format: int64
description: 客户组Id
minimum: 1
BaseResultCustomerSimpleOtherVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/CustomerSimpleOtherVO'
ok:
type: boolean
fail:
type: boolean
CustomerSimpleOtherVO:
type: object
properties:
customerGroupId:
type: integer
format: int64
description: 客户组Id
nationCode:
type: string
description: 国家Code
customerNo:
type: string
description: 客户账号
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
emailArea:
type: string
description: 邮箱区号
QueryCustomerSimpleDTO:
type: object
required:
- type
properties:
lang:
type: string
description: 语言信息
loginName:
type: string
description: 账号:配合type使用,[邮箱、手机号码、客户账号]
type:
type: integer
format: int32
description: 查询方式:2[区号+手机号码]或邮箱,3客户账号
minimum: 2
maximum: 3
phoneArea:
type: string
description: 手机区号
CustomerAdminManMachineDTO:
type: object
required:
- manMachine
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
customerNo:
type: string
description: 客户编号
manMachine:
type: boolean
description: 人机验证开关,true开启
BasePageVoWhiteCustomerAdminPageVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/WhiteCustomerAdminPageVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoWhiteCustomerAdminPageVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoWhiteCustomerAdminPageVO'
ok:
type: boolean
fail:
type: boolean
WhiteCustomerAdminPageVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
customerGroupId:
type: integer
format: int64
description: 客户组Id
customerGroupName:
type: string
description: 客户组名称
firstAccountActivateTime:
type: integer
format: int64
description: 交易账号首次激活时间
status:
type: integer
format: int32
description: 状态:1正常、2禁用、3删除,4销户,5锁定,6销户中
companyId:
type: integer
format: int64
description: 公司
customerNo:
type: string
description: 客户账号
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
name:
type: string
description: 姓名
idCardType:
type: string
description: 证件类型
idCard:
type: string
description: 证件号码
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
thirdAccountNo:
type: string
description: 三方账户
registerSource:
type: integer
format: int32
description: 注册来源
CustomerAdminAddDTO:
type: object
required:
- registerSource
properties:
country:
type: string
description: 国家
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
name:
type: string
description: 姓名
idCardType:
type: string
description: 证件类型
idCard:
type: string
description: 证件号码
birthday:
type: string
description: 出生日期
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
province:
type: string
description: 省
city:
type: string
description: 市
address:
type: string
description: 详细地址
remark:
type: string
description: 备注
registerSource:
type: integer
format: int32
description: >-
注册来源(1:H5、2:H5_Android、3:H5_IOS、4:PCUI_Windows、5:PCUI_Mac、6:APP_Andorid、7:APP_IOS)
openAccountType:
type: integer
format: int32
description: 开户类型
UpdateMsgInnerDTO:
type: object
properties:
country:
type: string
description: 国家
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
name:
type: string
description: 姓名
idCardType:
type: string
description: 证件类型
idCard:
type: string
description: 证件号码
birthday:
type: string
description: 出生日期
province:
type: string
description: 省
city:
type: string
description: 市
address:
type: string
description: 详细地址
remark:
type: string
description: 备注
UpdateCustomerAdminKycDTO:
type: object
properties:
country:
type: string
description: 国家
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
name:
type: string
description: 姓名
idCardType:
type: string
description: 证件类型
idCard:
type: string
description: 证件号码
birthday:
type: string
description: 出生日期
email:
type: string
description: 邮箱
phone:
type: string
description: 手机
phoneArea:
type: string
description: 手机区号
emailArea:
type: string
description: 邮箱区号
province:
type: string
description: 省
city:
type: string
description: 市
address:
type: string
description: 详细地址
remark:
type: string
description: 备注
pathCode:
type: string
description: 验证路径
businessCode:
type: string
description: 业务场景
levelCode:
type: string
description: KYC等级Code
elementList:
type: array
description: KYC元素集合
items: *ref_10
withdrawBankList:
type: array
description: 银行卡集合
items: *ref_85
bankCardNumber:
type: string
description: 银行卡号
reservePhone:
type: string
description: 银行预留手机号码
identityNumber:
type: string
description: 身份证号
otherName:
type: string
description: 其他->姓名
walletList:
type: array
description: 钱包集合
items: *ref_86
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
UpdateCusActivateDTO:
type: object
required:
- activateTime
properties:
lang:
type: string
description: 语言信息
customerNo:
type: string
description: 客户编号
id:
type: integer
format: int64
description: 客户Id
activateTime:
type: integer
format: int64
description: 激活时间
CustomerKycAddDTO:
type: object
required:
- kycList
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
kycList:
type: array
description: KYC列表信息
items:
$ref: '#/components/schemas/CustomerKycDTO'
CustomerKycDTO:
type: object
required:
- code
- elementId
- elementName
- levelId
- value
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
elementName:
type: string
description: KYC元素名称
code:
type: string
description: KYC元素code
elementId:
type: integer
format: int64
description: KYC元素Id
value:
type: string
description: KYC元素值
levelId:
type: integer
format: int64
description: KYC等级Id
KycUserAgreeDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
approval:
type: string
description: 审核人
KycCallbackReqDto:
type: object
properties:
companyId:
type: integer
format: int64
description: 公司ID
customerId:
type: integer
format: int64
description: 客户ID
customerNo:
type: string
description: 客户编号
accountId:
type: integer
format: int64
description: 账户ID
trace:
type: string
description: 跟踪码
ip:
type: string
description: 操作ip
lang:
type: string
description: 请求语言
id:
type: integer
format: int64
description: 主键id
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
revision:
type: integer
format: int32
description: 乐观锁
createBy:
type: string
description: 创建人
createTime:
type: integer
format: int64
description: 创建时间
updateBy:
type: string
description: 更新人
updateTime:
type: integer
format: int64
description: 更新时间
proposalId:
type: integer
format: int64
description: 提案Id
callbackData:
type: object
description: 原始数据
additionalProperties:
type: object
properties: {}
KycUserQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
applyTimeFrom:
type: integer
format: int64
description: 申请时间,开始
applyTimeTo:
type: integer
format: int64
description: 申请时间,结束
customerNo:
type: string
description: 客户编号
phone:
type: string
description: 手机号码
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
kycApiStatus:
type: string
description: 第三方api调用状态
cardType:
type: string
description: 卡类型
thirdAccountNo:
type: string
description: 三方账户
pass2Type:
type: string
description: 三方类型
pno:
type: string
description: 提案编号
BasePageVoKycUserExcelVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/KycUserExcelVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoKycUserExcelVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoKycUserExcelVO'
ok:
type: boolean
fail:
type: boolean
KycShowInnerDTO:
type: object
required:
- elementCode
- elementName
- elementValue
properties:
elementValue:
type: string
description: KYC元素值
elementCode:
type: string
description: KYC元素code
elementName:
type: string
description: KYC元素名称
showType:
type: string
description: KYC元素显示类型
KycUserExcelVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
companyId:
type: integer
format: int64
description: 公司
customerNo:
type: string
description: 客户编号
status:
type: integer
format: int32
description: 状态,1待审核,2审核通过,3审核不通过
pno:
type: string
description: 提案编号
externalKycStatus:
type: string
description: 三方返回KYC结果:对应接口字段kycStatus
externalKycHit:
type: string
description: 三方返回命中HIT:对应接口字段kycHit
externalKycRiskScore:
type: string
description: 三方返回KYC分数:对应接口字段riskScore
kycApiStatus:
type: string
description: 第三方api调用状态 0 未提交 ,1 提交失败 ,2 已提交,待返回数据 ,3 已提交,已返回数据
elementList:
type: array
description: 用户KYC信息
items: &ref_87
$ref: '#/components/schemas/KycShowInnerDTO'
ext3:
type: string
description: 信用卡卡类型-》原始
ext4:
type: string
description: 三方账户-》原始
cardType:
type: string
description: 卡类型
thirdAccountNo:
type: string
description: 三方账户
idCard:
type: string
description: 证件号码
phone:
type: string
description: 手机号码
email:
type: string
description: 邮箱
BasePageVoKycUserReviewedExcelVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/KycUserReviewedExcelVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoKycUserReviewedExcelVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoKycUserReviewedExcelVO'
ok:
type: boolean
fail:
type: boolean
KycUserReviewedExcelVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
companyId:
type: integer
format: int64
description: 公司
customerNo:
type: string
description: 客户编号
status:
type: integer
format: int32
description: 状态,1待审核,2审核通过,3审核不通过
pno:
type: string
description: 提案编号
externalKycStatus:
type: string
description: 三方返回KYC结果:对应接口字段kycStatus
externalKycHit:
type: string
description: 三方返回命中HIT:对应接口字段kycHit
externalKycRiskScore:
type: string
description: 三方返回KYC分数:对应接口字段riskScore
kycApiStatus:
type: string
description: 第三方api调用状态 0 未提交 ,1 提交失败 ,2 已提交,待返回数据 ,3 已提交,已返回数据
elementList:
type: array
description: 用户KYC信息
items: *ref_87
ext3:
type: string
description: 信用卡卡类型-》原始
ext4:
type: string
description: 三方账户-》原始
cardType:
type: string
description: 卡类型
thirdAccountNo:
type: string
description: 三方账户
idCard:
type: string
description: 证件号码
phone:
type: string
description: 手机号码
email:
type: string
description: 邮箱
approval:
type: string
description: 审批人
approvalTime:
type: integer
format: int64
description: 审批时间
remark:
type: string
description: 审批备注
KycUserReviewedQueryDTO:
type: object
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
approvalTimeFrom:
type: integer
format: int64
description: 审批时间,开始
approvalTimeTo:
type: integer
format: int64
description: 审批时间,结束
customerNo:
type: string
description: 客户编号
phone:
type: string
description: 手机号码
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
openAccountType:
type: integer
format: int32
description: '开户类型:0.个人 1.企业 '
kycApiStatus:
type: string
description: 第三方api调用状态
cardType:
type: string
description: 卡类型
thirdAccountNo:
type: string
description: 三方账户
pass2Type:
type: string
description: 三方类型
pno:
type: string
description: 提案编号
createTimeFrom:
type: integer
format: int64
description: 申请时间,开始
createTimeTo:
type: integer
format: int64
description: 申请时间,结束
KycExternalValidationDTO: *ref_39
BasePageVoKycUserVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/KycUserVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoKycUserVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoKycUserVO'
ok:
type: boolean
fail:
type: boolean
KycUserVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 创建时间/申请时间
updateTime:
type: integer
format: int64
description: 更新时间
companyId:
type: integer
format: int64
description: 公司
customerNo:
type: string
description: 客户编号
status:
type: integer
format: int32
description: 状态,1待审核,2审核通过,3审核不通过
pno:
type: string
description: 提案编号
externalKycStatus:
type: string
description: 三方返回KYC结果:对应接口字段kycStatus
externalKycHit:
type: string
description: 三方返回命中HIT:对应接口字段kycHit
externalKycRiskScore:
type: string
description: 三方返回KYC分数:对应接口字段riskScore
kycApiStatus:
type: string
description: 第三方api调用状态 0 未提交 ,1 提交失败 ,2 已提交,待返回数据 ,3 已提交,已返回数据
elementList:
type: array
description: 用户KYC信息
items: *ref_87
ext3:
type: string
description: 信用卡卡类型-》原始
ext4:
type: string
description: 三方账户-》原始
cardType:
type: string
description: 卡类型
thirdAccountNo:
type: string
description: 三方账户
KycUserRefuseDTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
id:
type: integer
format: int64
description: 主键id
approval:
type: string
description: 审核人
remark:
type: string
description: 备注
BasePageVoKycUserReviewedVO:
type: object
properties:
records:
type: array
description: 结果列表
items:
$ref: '#/components/schemas/KycUserReviewedVO'
total:
type: integer
format: int64
description: 总数
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
BaseResultBasePageVoKycUserReviewedVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
$ref: '#/components/schemas/BasePageVoKycUserReviewedVO'
ok:
type: boolean
fail:
type: boolean
KycUserReviewedVO:
type: object
properties:
id:
type: integer
format: int64
description: id
createTime:
type: integer
format: int64
description: 申请时间
updateTime:
type: integer
format: int64
description: 更新时间
companyId:
type: integer
format: int64
description: 公司
customerNo:
type: string
description: 客户编号
status:
type: integer
format: int32
description: 状态,1待审核,2审核通过,3审核不通过
pno:
type: string
description: 提案编号
externalKycStatus:
type: string
description: 三方返回KYC结果:对应接口字段kycStatus
externalKycHit:
type: string
description: 三方返回命中HIT:对应接口字段kycHit
externalKycRiskScore:
type: string
description: 三方返回KYC分数:对应接口字段riskScore
kycApiStatus:
type: string
description: 第三方api调用状态 0 未提交 ,1 提交失败 ,2 已提交,待返回数据 ,3 已提交,已返回数据
elementList:
type: array
description: 用户KYC信息
items: *ref_87
ext3:
type: string
description: 信用卡卡类型-》原始
ext4:
type: string
description: 三方账户-》原始
cardType:
type: string
description: 卡类型
thirdAccountNo:
type: string
description: 三方账户
approval:
type: string
description: 审批人
approvalTime:
type: integer
format: int64
description: 审批时间
remark:
type: string
description: 审批备注
WithdrawBankAddDTO:
type: object
properties:
country:
type: string
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
customerNo:
type: string
bankAccountName:
type: string
bankCardNumber:
type: string
bankCurrency:
type: string
bankName:
type: string
bankAddress:
type: string
bankBranch:
type: string
province:
type: string
city:
type: string
bankCode:
type: string
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
WithdrawBankAddV1v2v8DTO:
type: object
properties:
lang:
type: string
description: 语言信息
status:
type: integer
format: int32
description: 状态 1、2、3、启用、禁用、删除
customerNo:
type: string
bankCurrency:
type: string
bankName:
type: string
bankCode:
type: string
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
bankAccount:
type: string
swiftCode:
type: string
otherCode:
type: string
BaseResultListCustomerWithdrawBankVO:
type: object
properties:
bizCode:
type: string
description: 模块标识码
code:
type: string
description: 状态返回码
msg:
type: string
description: 状态描述
tm:
type: integer
format: int64
description: 处理时长(毫秒)
trace:
type: string
description: 跟踪码
msgParams:
type: string
description: 返回描述中占位符参数串,多个参数间以,分割
data:
type: array
description: 数据体
items:
$ref: '#/components/schemas/CustomerWithdrawBankVO'
ok:
type: boolean
fail:
type: boolean
CustomerWithdrawBankVO:
type: object
properties:
companyId:
type: integer
format: int64
customerNo:
type: string
bankAccountName:
type: string
bankCardNumber:
type: string
bankCurrency:
type: string
bankName:
type: string
bankCode:
type: string
bankAddress:
type: string
bankBranch:
type: string
country:
type: string
province:
type: string
city:
type: string
firstName:
type: string
description: 名
lastName:
type: string
description: 姓
bankAccount:
type: string
swiftCode:
type: string
otherCode:
type: string
WithdrawBankQueryDTO:
type: object
required:
- customerNo
properties:
lang:
type: string
description: 语言信息
size:
type: integer
format: int64
description: 每页条数
current:
type: integer
format: int64
description: 当前页
customerNo:
type: string
description: 客户编号
bankAccount:
type: string
InnerSymbolBaseDto:
type: object
properties:
symbolIds:
type: string
description: 产品ID集合
tradeType:
type: string
description: 玩法
required:
- symbolIds
- tradeType
description: 查询产品
CapitalTransferRecordResDto:
type: object
properties:
outAccountId:
type: integer
description: 出账账户Id
outCurrencyCode:
type: string
description: 出账账户币种
outTradeType:
type: integer
description: 出账账户玩法类型
outAmount:
type: string
description: 出账金额
inAccountId:
type: integer
description: 入账账户Id
inCurrencyCode:
type: string
description: 入账账户币种
inTradeType:
type: integer
description: 入账账户玩法类型
inAmount:
type: string
description: 入账金额
createTime:
type: string
description: 创建时间
required:
- outAccountId
- outCurrencyCode
- outTradeType
- outAmount
- inAccountId
- inCurrencyCode
- inTradeType
- inAmount
- createTime
AmountTransferVo:
type: object
properties:
surplusAmount:
type: string
description: 变动金额
required:
- surplusAmount
QueryPayChannelTypeDto:
type: object
properties:
country:
type: string
description: 国家编码
paymentChannelCode:
type: string
description: 支付通道编码
paymentChannelType:
type: string
description: 支付通道类型
paymentMerchantNo:
type: string
description: 支付商户号
paymentChannelClientType:
type: string
description: 支付通道客户端类型pc、mobile
required:
- country
- paymentChannelCode
- paymentChannelType
- paymentMerchantNo
- paymentChannelClientType
MMBotConfVo:
type: object
properties:
symbolId:
type: integer
format: int64
description: 产品ID
symbolSourceCode:
type: string
description: 产品报价sorce编号
strategy:
type: string
description: 做市策略
baseCurrency:
type: string
description: 产品基础货币编码
profitCurrency:
type: string
description: 产品盈亏货币编码
lastPriceAsBid:
type: boolean
description: 初始化盘口最新成交价是否作为bid一档
lastPrice:
type: number
description: 最新成交价
maxLimitPrice:
type: number
description: 高价格
minLimitPrice:
type: number
description: 高低格
priceInterval:
type: number
description: 价格间隔值
minVolume:
type: number
description: 最小成交手数
contractSize:
type: integer
format: int64
description: 合约大小
symbolDigits:
type: string
description: 产品报价小数位
supplyHeight:
type: string
description: 盘口最低提供档数
cancelHeight:
type: string
description: 盘口最高撤掉档数
marketMaker:
$ref: '#/components/schemas/MarketMakerInfoVo'
description: 做市商账号信息
required:
- symbolId
- symbolSourceCode
- strategy
- baseCurrency
- profitCurrency
- lastPriceAsBid
- lastPrice
- maxLimitPrice
- minLimitPrice
- priceInterval
- minVolume
- contractSize
- symbolDigits
- supplyHeight
- cancelHeight
- marketMaker
MarketMakerInfoVo:
type: object
properties:
companyId:
type: integer
description: 公司ID
format: int64
customerNo:
type: string
description: 做市客户编号
customerId:
type: integer
description: 做市客户ID
format: int64
customerGroupId:
type: integer
description: 做市客户组ID
format: int64
accountId:
type: integer
description: 做市账户ID
format: int64
amount:
type: number
description: 做市金额
currency:
type: string
description: 账户资产币种
digits:
type: integer
description: 账户资产小数位
format: int32
createTime:
type: integer
format: uint64
description: 创建时间
paused:
type: boolean
description: 是否暂停
required:
- companyId
- customerNo
- customerId
- customerGroupId
- accountId
- amount
- currency
- digits
- createTime
- paused
AddAmmSymbolDto:
type: object
properties:
symbolId:
type: integer
description: 产品id
format: uint64
lastPrice:
type: string
description: 最新成交价(起始价格),必须在最高最低价格范围内
lastPriceAsBid:
type: boolean
description: 初始化盘口最新成交价是否作为bid一档
strategy:
type: string
const: fix_total_amount
description: 策略编码,目前固定值fix_total_amount
maxLimitPrice:
type: string
description: 最高价格
minLimitPrice:
type: string
description: 最低价格
priceInterval:
type: string
description: 每档价格间隔
amount:
type: string
description: 做市资金
accountId:
type: integer
format: int64
description: 账户Id
required:
- symbolId
- lastPrice
- lastPriceAsBid
- strategy
- maxLimitPrice
- minLimitPrice
- priceInterval
- amount
- accountId
AddAmmMakerDto:
type: object
properties:
symbolId:
type: integer
description: 产品id
format: uint64
strategy:
type: string
const: fix_total_amount
description: 策略编码,目前固定值fix_total_amount
maxLimitPrice:
type: string
description: 最高价格
minLimitPrice:
type: string
description: 最低价格
priceInterval:
type: string
description: 每档价格间隔
amount:
type: string
description: 做市资金
accountId:
type: integer
format: int64
description: 账户id
required:
- symbolId
- strategy
- maxLimitPrice
- minLimitPrice
- priceInterval
- amount
- accountId
AddAmmAmountDto:
type: object
properties:
symbolId:
type: integer
description: 产品id
format: uint64
amount:
type: string
description: 做市资金
accountId:
type: integer
description: 账户id
format: int64
required:
- symbolId
- amount
- accountId
AmmSymbolInfoVo:
type: object
properties:
symbolId:
type: integer
format: uint64
description: 产品ID
symbolSourceCode:
type: string
description: 产品报价sourceId
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈亏货币
symbolDigits:
type: integer
format: uint64
description: 产品报价小数位数
marketMaker:
$ref: '#/components/schemas/MarketMakerInfoVo2'
description: 市商配置信息
required:
- symbolId
- symbolSourceCode
- baseCurrency
- profitCurrency
- symbolDigits
- marketMaker
AmmSymbolAmountVo:
type: object
properties:
symbolId:
type: integer
format: uint64
description: 产品ID
symbolSourceCode:
type: string
description: 产品报价sourceId
baseCurrency:
type: string
description: 基础货币
profitCurrency:
type: string
description: 盈亏货币
symbolDigits:
type: integer
format: uint64
description: 产品报价小数位数
marketMaker:
type: object
properties:
companyId:
type: integer
format: uint64
description: 公司id
customerNo:
type: string
description: maker客户编号
customerId:
type: integer
format: uint64
description: maker客户id
customerGroupId:
type: integer
format: uint64
description: maker客户组id
accountId:
type: integer
format: uint64
description: maker账户id
lastPriceAsBid:
type: boolean
description: 初始化盘口最新成交价是否作为bid一档
lastPrice:
type: string
description: 最新成交价,为空时表示,该市商是二次新增的maker账号
maxLimitPrice:
type: string
description: 最高价格
minLimitPrice:
type: string
description: 最低价格
priceInterval:
type: string
description: 价格间隔
minVolume:
type: string
description: 最小交易手数
contractSize:
type: integer
format: uint64
description: 合约大小,用于计算下单数量
overHeightSize:
type: integer
format: uint32
description: 超过档数撤单的阈值
amount:
type: string
description: 做市资金金额
currency:
type: string
description: 做市资金币种
digits:
type: integer
format: uint32
description: 做市资金账户小数位数
perHeightAmount:
type: string
description: 做市策略每档金额
createTime:
type: integer
format: uint64
description: 创建时间
updateTime:
type: integer
format: uint64
description: 更新时间
status:
type: integer
format: uint32
description: 状态,0:停止、1:运行中、2:暂停
description: 市商配置信息
required:
- customerNo
- customerId
- customerGroupId
- accountId
- maxLimitPrice
- minLimitPrice
- priceInterval
- minVolume
- contractSize
- overHeightSize
- amount
- currency
- digits
- perHeightAmount
- createTime
- status
bidTotalAmount:
type: string
description: 做多资金金额(账户货币)
askTotalAmount:
type: string
description: 做空资金金额(账户货币)
bids:
type: array
items:
type: object
properties:
price:
type: string
description: 价格
amount:
type: string
description: 金额(账户货币)
quantity:
type: string
description: 数量
required:
- price
- amount
- quantity
description: 买档价格和资金金额明细
asks:
type: array
items:
type: object
properties:
price:
type: string
description: 价格
amount:
type: string
description: 金额(账户货币)
quantity:
type: string
description: 数量
required:
- price
- amount
- quantity
description: 卖档价格和资金金额明细
required:
- symbolId
- symbolSourceCode
- baseCurrency
- profitCurrency
- symbolDigits
- marketMaker
- bidTotalAmount
- askTotalAmount
- bids
- asks
MarketMakerInfoVo2:
type: object
properties:
companyId:
type: integer
format: uint64
description: 公司id
customerNo:
type: string
description: maker客户编号
customerId:
type: integer
format: uint64
description: maker客户id
customerGroupId:
type: integer
format: uint64
description: maker客户组id
accountId:
type: integer
format: uint64
description: maker账户id
lastPriceAsBid:
type: boolean
description: 初始化盘口最新成交价是否作为bid一档
lastPrice:
type: string
description: 最新成交价,为空时表示,该市商是二次新增的maker账号
maxLimitPrice:
type: string
description: 最高价格
minLimitPrice:
type: string
description: 最低价格
priceInterval:
type: string
description: 价格间隔
minVolume:
type: string
description: 最小交易手数
contractSize:
type: integer
format: uint64
description: 合约大小,用于计算下单数量
overHeightSize:
type: integer
format: uint32
description: 超过档数撤单的阈值
amount:
type: string
description: 做市资金金额
currency:
type: string
description: 做市资金币种
digits:
type: integer
format: uint32
description: 做市资金账户小数位数
perHeightAmount:
type: string
description: 做市策略每档金额
createTime:
type: integer
format: uint64
description: 创建时间
updateTime:
type: integer
format: uint64
description: 更新时间
status:
type: integer
format: uint32
description: 状态,0:停止、1:运行中、2:暂停
required:
- priceInterval
- minVolume
- maxLimitPrice
- minLimitPrice
- amount
- currency
- digits
- perHeightAmount
- createTime
- status
- customerNo
- customerId
- customerGroupId
- accountId
- contractSize
- overHeightSize
tradeTypeList:
type: array
items:
type: object
properties:
isWallet:
type: string
alias:
type: string
name:
type: string
title: 玩法名称
id:
type: string
title: 玩法ID
tradeType:
type: string
title: 玩法类型
allCurrency:
type: string
title: 资产币种
required:
- isWallet
- alias
- name
- id
- tradeType
- allCurrency
securitySchemes: {}
servers:
- url: https://prepc-utgl.cmfbl.com/api
description: PRE-UTGL-Defi-Staking