When a meter is deactivated, no more meter events will be accepted for this meter. You can’t attach a deactivated meter to a price.
Parameters
No parameters.
Returns
Returns a billing meter.
Response
{ "id": "mtr_test_61Q8nQMqIFK9fRQmr41CMAXJrFdZ5MnA", "object": "billing.meter", "created": 1704824589, "customer_mapping": { "type": "by_id", "event_payload_key": "stripe_customer_id" }, "default_aggregation": { "formula": "sum" }, "display_name": "Search API Calls", "event_name": "ai_search_api", "event_time_window": null, "livemode": false, "status": "active", "status_transitions": { "deactivated_at": 1704898330 }, "updated": 1704898330, "value_settings": { "event_payload_key": "value" }}