Update a billing meter

Changed on

Updates a billing meter.

post/v1/billing/meters/{id}

Request

  • Base URL: https://api.stripe.com
  • URL: https://api.stripe.com/v1/billing/meters/{id}
  • Auth: one of:
    • HTTP basic
    • HTTP bearer

Path parameters

idstring required

Response

Successful response.

createdinteger required

Time at which the object was created. Measured in seconds since the Unix epoch.

display_namestring required

The meter's name.

event_namestring required

The name of the meter event to record usage for. Corresponds with the event_name field on meter events.

event_time_window'day' | 'hour' nullable

The time window which meter events have been pre-aggregated for, if any.

idstring required

Unique identifier for the object.

livemodeboolean required

If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.

object'billing.meter' required

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

status'active' | 'inactive' required

The meter's status.

updatedinteger required

Time at which the object was last updated. Measured in seconds since the Unix epoch.

Changes

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    This list may be incomplete.

    • breaking

      removed the required property //////////// from the response with the status

    • breaking

      removed the required property ////////// from the response with the status

    • breaking

      removed the required property ////////// from the response with the status

    This list may be incomplete.

Some revisions have not been checked yet.