用户交易查询接口
场外交易记录查询接口
POST
https://service.xxx.com/platformapi/chainup/open/user/otcTradeRecord
需要将参数表格中的数据包装成json字符串 利用rsa 进行参数加密和签名 作为body中的data和sign
Headers
Name | Type | Description |
---|---|---|
Content-Type * | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | 商家唯一编号 |
time* | String | 请求时间 |
sign* | String | 用rsa_third_pri对query中的数据签名 |
data* | String | rsa_saas_pub加密query中数据 |
以下为参与rsa加密的参数:
(openId,userId,mobileNumber,email)四选一必填
名称 | 类型 | 是否必需 | 例子 | 描述 |
---|---|---|---|---|
openId | String | NO | 收款用户的唯一id,开放平台授权给应用的用户唯一标识 | |
userId | String | NO | 收款用户uid(与openid必须存在一个) ||同时存在优先取openid | |
mobileNumber | String | NO | 09011223 | 手机号码 |
String | NO | xxxxx@.com | 用户邮箱 | |
pageSize | String | NO | 20 | 每页数量(默认,20,最大1000,可以等于1000) |
pageNumber | String | NO | 1 | 页数(默认1,第一页) |
币币成交记录查询
POST
https://service.xxx.com/platformapi/chainup/open/trade/getAll
需要将参数表格中的数据包装成json字符串 利用rsa 进行参数加密和签名 作为body中的data和sign
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | 商家app_id |
sign* | String | 用rsa_third_pri对query中的数据签名 |
data* | String | rsa_saas_pub加密query中数据 |
time* | String | 请求时间 |
以下为参与rsa加密的参数:
名称 | 类型 | 是否必需 | 例子 | 描述 |
---|---|---|---|---|
symbol | String | YES | btcusdt | 币对 |
startDate | String | YES | 2099-01-01 00:00:00 | 开始时间,精确到秒“yyyy-MM-dd HH:mm:ss” |
endDate | String | YES | 2099-01-01 00:00:00 | 结束时间,精确到秒“yyyy-MM-dd HH:mm:ss” |
pageSize | String | NO | 20 | 每页数量(默认,20,最大1000,可以等于1000) |
pageNumber | String | NO | 1 | 页数(默认1,第一页) |
币币订单记录查询接口
POST
https://service.xxx.com/platformapi/chainup/open/record/orderList
需要将参数表格中的数据包装成json字符串 利用rsa 进行参数加密和签名 作为body中的data和sign
Headers
Name | Type | Description |
---|---|---|
Content-Type | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
app_id* | String | 商家唯一编号app_id |
sign* | String | 用rsa_third_pri对query中的数据签名 |
time* | String | 请求时间 |
data* | String | rsa_saas_pub加密query中数据 |
以下为参与rsa加密的参数:
名称 | 类型 | 是否必需 | 例子 | 描述 |
---|---|---|---|---|
symbol | String | YES | btcusdt | 币对 |
uid | String | YES | 203000 | 用户id |
startDate | String | YES | 2099-01-01 00:00:00 | 开始时间,精确到秒“yyyy-MM-dd HH:mm:ss” |
endDate | String | YES | 2099-01-01 00:00:00 | 结束时间,精确到秒“yyyy-MM-dd HH:mm:ss” |
pageSize | String | NO | 20 | 每页数量(默认,20,最大1000,可以等于1000) |
pageNumber | String | NO | 1 | 页数(默认1,第一页) |
Last updated