The customer usage object
This object represents the usage-based charges associated with one of your customers for a defined billing period. It allows you to monitor customer usage throughout the period.
Attributes
The lower bound of the billing period, expressed in the ISO 8601 datetime format in Coordinated Universal Time (UTC).
The upper bound of the billing period, expressed in the ISO 8601 datetime format in Coordinated Universal Time (UTC).
The date of creation of the invoice.
The amount in cents, tax excluded.
The currency of the customer’s current usage amount excluding tax.
The total amount in cents, tax included.
The currency of the customer’s current usage amount including tax.
The tax amount in cents.
The currency of the customer’s current usage tax.
A unique identifier associated with the invoice related to this particular usage record. In cases where no invoice has been generated for this particular usage, the field value will be null.
Was this page helpful?