Usage records
Get usage summary
See what the next period close will bill, before it bills it.
GET/v1/subscriptions/{subscription_id}/usage_summary
Parameters
| Parameter | Description |
|---|---|
| subscription_idstring · pathrequired | No description in the spec. |
Returns
Returns an UsageSummaryResponse object.
Errors
| Status | Cause |
|---|---|
| 401 | Missing or invalid API key. |
| 403 | Key is missing the usage_records:read scope. |
| 404 | No such object, or it belongs to the other mode. |
| 422 | Validation Error |
| 429 | Rate limited. Back off and retry. |
Other usage records operations
- List usage records GET /v1/subscriptions/{subscription_id}/usage_records
- Create usage record POST /v1/subscriptions/{subscription_id}/usage_records
BillKit