Mayson Monorepo Documentation
    Preparing search index...

    A billing meter event summary represents an aggregated view of a customer's billing meter events within a specified timeframe. It indicates how much usage was accrued by a customer for that period.

    Note: Meters events are aggregated asynchronously so the meter event summaries provide an eventually consistent view of the reported usage.

    interface MeterEventSummary {
        id: string;
        object: "billing.meter_event_summary";
        aggregated_value: number;
        end_time: number;
        livemode: boolean;
        meter: string;
        start_time: number;
    }
    Index

    Properties

    id: string

    Unique identifier for the object.

    object: "billing.meter_event_summary"

    String representing the object's type. Objects of the same type share the same value.

    aggregated_value: number

    Aggregated value of all the events within start_time (inclusive) and end_time (inclusive). The aggregation strategy is defined on meter via default_aggregation.

    end_time: number

    End timestamp for this event summary (exclusive). Must be aligned with minute boundaries.

    livemode: boolean

    Has the value true if the object exists in live mode or the value false if the object exists in test mode.

    meter: string

    The meter associated with this event summary.

    start_time: number

    Start timestamp for this event summary (inclusive). Must be aligned with minute boundaries.