Current consumption and spending for a subscription meter.
Field | Type | Required | Description | Example |
---|---|---|---|---|
created_at |
date | ✔️ | Creation timestamp of the object. | |
modified_at |
date | ✔️ | Last modification timestamp of the object. | |
id |
str | ✔️ | The ID of the object. | |
consumed_units |
float | ✔️ | The number of consumed units so far in this billing period. | 25 |
credited_units |
int | ✔️ | The number of credited units so far in this billing period. | 100 |
amount |
int | ✔️ | The amount due in cents so far in this billing period. | 0 |
meter_id |
str | ✔️ | The ID of the meter. | d498a884-e2cd-4d3e-8002-f536468a8b22 |
meter |
models.Meter | ✔️ | N/A |