获取收支明细列表
获取收支明细列表
Query Parameters
筛选条件 支持计费账号、流水编号、订单/账单号,如:billing_account_id= xxx AND id = yyy AND order_bill_id= zzz
排序
分页大小
分页
- 200
- default
OK
Schema
- Array [
- ]
income_statements object[]
收支明细记录
流水编号
交易时间
Possible values: [RECHARGE
, CONSUMPTION
, REFUND
, ADJUST
, WITHDRAW
]
交易类型
Possible values: [BALANCE
, OFFLINE_REMITTANCE
, THIRD_PARTY_ACCOUNT
]
交易渠道
渠道流水号
订单号/账单号
变动金额
账户余额
备注
Possible values: [TD_IN
, TD_OUT
]
收支类型 TD_IN: 收入, TD_OUT: 支出
计费账户ID
计费账户名称
下一页 more results in the list
总页数
页码
分页大小
{
"income_statements": [
{
"id": "string",
"trade_time": "2024-11-04T06:28:48.799Z",
"trade_type": "RECHARGE",
"trade_channel": "BALANCE",
"trade_channel_id": "string",
"order_bill_id": "string",
"adjust_amount": 0,
"balance": 0,
"comment": "string",
"trade_direction": "TD_IN",
"billing_account_id": "string",
"billing_account_display_name": "string"
}
],
"next_page_token": "string",
"total_size": 0,
"page_number": 0,
"page_size": 0
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}