late 0.0.1055

API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema). Request ids: responses carry an X-Request-Id header with the id we log the request under. Quote it when reporting a problem. A valid x-request-id you send is reused as that id.
Documentation
# UsageMetering

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**supported** | Option<**bool**> | False for legacy Stripe accounts (no usage-based invoice to split); `days` and `totals` are then empty/zero. | [optional]
**granularity** | Option<**Granularity**> |  (enum: day, month, total) | [optional]
**days** | Option<[**Vec<models::UsageMeteringDaysInner>**]UsageMeteringDaysInner.md> | One row per bucket. Empty when `granularity=total`. `date` is a UTC date (month buckets use the 1st). | [optional]
**totals** | Option<[**models::UsageMeteringTotals**]UsageMeteringTotals.md> |  | [optional]
**line_items** | Option<[**Vec<models::UsageMeteringLineItemsInner>**]UsageMeteringLineItemsInner.md> | Per-invoice-line-item rows (largest spend first) for a detailed breakdown. | [optional]
**peaks** | Option<[**models::UsageMeteringPeaks**]UsageMeteringPeaks.md> |  | [optional]
**call_usage** | Option<[**models::UsageMeteringCallUsage**]UsageMeteringCallUsage.md> |  | [optional]
**period** | Option<[**models::UsageMeteringPeriod**]UsageMeteringPeriod.md> |  | [optional]
**tax** | Option<[**models::UsageMeteringTax**]UsageMeteringTax.md> |  | [optional]
**attribution** | Option<[**models::UsageMeteringAttribution**]UsageMeteringAttribution.md> |  | [optional]
**scope** | Option<[**models::UsageMeteringScope**]UsageMeteringScope.md> |  | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)