v2
latestOpenAPI 3.0.12026-07-262352981007.0 KBSubscriptions
Get subscription usage charges
Returns a paged list of usage charges across all usage products on the account's usage subscription, sorted by created date descending.
Results can be filtered via query parameters:
- From/To (created date range)
- Status
- MatterId
- UserId
- ProductId
get/subscriptions/{subscriptionId}/charges
Path parameters
subscriptionIdstring required
The unique identifier of the usage subscription
Query parameters
Fromstring date-time
Example:2022-04-01T00:00:00Z
Optional start date used to filter usage charges by created date.
Tostring date-time
Example:2022-04-30T23:59:59Z
Optional end date used to filter usage charges by created date.
Statusstring
Optional usage charge status filter.
Possible values: Pending, Succeeded, Failed, Canceled, Refunded.
MatterIdstring
Example:123456
Optional matter id used to filter usage charges.
UserIdstring
Example:3f44b470-5d39-41d0-a1ef-96e09e0eb5bb
Optional user id used to filter usage charges.
ProductIdstring
Example:6b07d1fc-a7ea-4da7-966f-eaa971f0e72c
Optional internal product id used to filter usage charges.
Offsetinteger
Limitinteger
Response
When request is successful. Returns a paged collection of 'Charge' objects.
Example response
{
"value": [
{
"id": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"quantity": 1,
"createdDate": "2022-04-23T14:00:00Z",
"updatedDate": "2022-04-23T14:00:00Z",
"occurredDate": "2022-04-23T14:00:00Z"
}
]
}