版本:202201
查询用量收费列表
GET/openapi/2022-01/recurring_application_charges/:recurring_charge_id/usage_charge
分页返回用量收费列表。
请求
Path参数
recurring_charge_id string必填
Query参数
per_page int32必填
每页记录数。
since_id string
The query results are in reverse order, and this parameter limits the results after the specified ID.
响应
- 200
- 404
- 422
200
- application/json
- 数据结构
- 示例
- Result
数据结构
- Array [
- ]
usage_charges object[]
balance_remainingstring
示例:
7.00balance_usedstring
示例:
3.00created_atstring
示例:
2024-04-23T06:53:17Zdescriptionstring
示例:
Descidstring
示例:
372276344521766903pricestring
示例:
3.00{
"usage_charges": [
{
"balance_remaining": "7.00",
"balance_used": "3.00",
"created_at": "2024-04-23T06:53:17Z",
"description": "Desc",
"id": "372276344521766903",
"price": "3.00"
}
]
}
{
"usage_charges": [
{
"balance_remaining": "7.00",
"balance_used": "3.00",
"created_at": "2024-04-23T06:53:17Z",
"description": "Desc",
"id": "372276344521766903",
"price": "3.00"
}
]
}
404
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"Record not found"
]
}
{
"errors": [
"Record not found"
]
}
422
- application/json
- 数据结构
- 示例
- Result
数据结构
errorsstring[]
{
"errors": [
"PerPage is required"
]
}
{
"errors": [
"PerPage is required"
]
}