查询交易账单
拥有此API的权限集 |
---|
资产管理-查询 |
请求方式及url
- 请求方式:
POST
- 请求头:
Content-Type:application/json
- 接口地址:
https://api.xiaoe-tech.com/xe.trade.bill_summary_list/1.0.0
- 频率限制:
10秒300次
在线调试工具
请求
响应
请求参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
access_token | 是 | string | 专属token |
sub_mchid | 否 | string | 商户号 |
type | 否 | string | 筛选类型 day year quarter month |
page_index | 否 | string | 页数 |
page_size | 否 | string | 条数 |
date | 否 | string | 日期 |
请求示例
{
"access_token": "xe_xxxxx",
"sub_mchid": "2088260512157470",
"type": "day",
"page_index": "1",
"page_size": "10",
"date": "2025-02"
}
返回参数
参数名 | 类型 | 说明 |
---|---|---|
code | int | 状态码:0-成功,其他为错误 |
msg | string | 对返回码的文本描述内容 |
data.list | object | 数据列表 |
data.list
数据列表
参数名 | 类型 | 说明 |
---|---|---|
trade_date | string | 时间点 |
income_money | int (int64/long) | 收入 |
expense_money | int (int64/long) | 支出 |
sub_mchid | string | 商户号 |
last_day | string | 最后一天 |
account_amount | int (int64/long) | 账户余额 |
data.count
数据总数
返回示例
{
"code": 0,
"msg": "ok",
"data": {
"list": [{
"trade_date": "2025-02-18",
"income_money": 54900,
"expense_money": 296,
"income_deal_count": 6,
"expense_deal_count": 6,
"sub_mchid": "1702319139",
"last_day": "2025-02-18",
"available_amount": 196238,
"unsettle_amount": 468064,
"not_divide_amount": 0,
"account_amount": 664302
}, {
"trade_date": "2025-02-17",
"income_money": 68800,
"expense_money": 156823,
"income_deal_count": 7,
"expense_deal_count": 8,
"sub_mchid": "1702319139",
"last_day": "2025-02-17",
"available_amount": 47443,
"unsettle_amount": 562255,
"not_divide_amount": 0,
"account_amount": 609698
}, {
"trade_date": "2025-02-16",
"income_money": 115700,
"expense_money": 623,
"income_deal_count": 9,
"expense_deal_count": 9,
"sub_mchid": "1702319139",
"last_day": "2025-02-16",
"available_amount": 116867,
"unsettle_amount": 580854,
"not_divide_amount": 0,
"account_amount": 697721
}],
"count": 3
}
}