Create Meter
Create a new meter for usage-based billing.
Meters define how to track and aggregate usage events for billing. Each meter must have a unique event_name within an account.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
account_id
Request
This endpoint expects an object.
display_name
event_name
aggregation_formula
event_payload_customer_mapping_key
event_payload_value_key
Response
Successful Response
id
account_id
display_name
event_name
aggregation_formula
event_payload_customer_mapping_key
event_payload_value_key
is_active
created_at
updated_at
Errors
422
Unprocessable Entity Error