The Meter Event Adjustment object ​
Attributes ​
object(string) String representing the object’s type. Objects of the same type share the same value.cancel(object, nullable) Specifies which event to cancel.cancel.identifier(string, nullable) Unique identifier for the event.The maximum length is 100 characters.
event_name(string) The name of the meter event. Corresponds with theevent_namefield on a meter.The maximum length is 100 characters.
livemode(boolean) If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse.status(enum) The meter event adjustment’s status. Possible enum values:completeThe event adjustment has been processed.pendingThe event adjustment is still being processed.
type(enum) 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:cancelCancel a single meter event by identifier.
The Meter Event Adjustment object ​
json
{
"object": "billing.meter_event_adjustment",
"livemode": false,
"status": "pending",
"event_name": "ai_search_api",
"type": "cancel",
"cancel": {
"identifier": "identifier_123"
}
}