Skip to Content
Paycose Docs
Meters

Meters

The billing.meter_event_summary object

Usage of one meter aggregated over one time window, from the events you reported, the same as Stripe's billing meter event summary.

Attributes

  • idstringRequired

    Unique identifier for the object.

  • objectstringRequired

    String naming the object's type.

  • livemodebooleanRequired

    true when the object exists in live mode, false in test mode.

  • aggregated_valuenumberRequired

    Usage in the window, aggregated as the meter's default_aggregation.formula says (for example the sum of event values). With an event_time_window, only the latest event per customer and UTC hour or day counts toward the sum.

  • start_timetimestampRequired

    Start of the window.

  • end_timetimestampRequired

    End of the window (exclusive).

  • meterstringRequired

    ID of the meter the usage was counted for.