Create a new billable metric
Create a new billable metric for a merchant organization. A Billable Metric
represents a metric that can be used to measure the usage of a Product
. It contains information about the metric, such as its name, description, and units.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The name of the billable metric.
A brief description of the billable metric.
The unit of measurement for the billable metric.
The unique identifier of the merchant organization associated with the billable metric.
The unique identifier of the product associated with the billable metric.
The aggregation method to be used for the billable metric. Currently only SUM
is supported.
SUM
Response
billableMetric
Unique identifier for an organization
SUM
, MAX
, COUNT
, COUNT_UNIQUE
Unique identifier for a product