The Meter Event Adjustment object 

Billing
Meter Event Adjustment
The Meter Event Adjustment object

Attributes

  • objectstring

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

  • cancelnullable object

    Specifies which event to cancel.

    • cancel.identifiernullable string

      Unique identifier for the event.

  • event_namestring

    The name of the meter event. Corresponds with the event_name field on a meter.

  • livemodeboolean

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

  • statusenum

    The meter event adjustment’s status.

    Possible enum values
    complete

    The event adjustment has been processed.

    pending

    The event adjustment is still being processed.

  • typeenum

    Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet.

    Possible enum values
    cancel

    Cancel a single meter event by identifier.

The Meter Event Adjustment object
{
"object": "billing.meter_event_adjustment",
"livemode": false,
"status": "pending",
"event_name": "ai_search_api",
"type": "cancel",
"cancel": {
"identifier": "identifier_123"
}
}