Get all the billable items associated with your user.
The billables endpoint returns information about billable items related to an account. This includes all deployments and capsules that make up a deployment.
Returned JSON
Data is returned encapsulated in an _embedded
object which contains an array with the key of billables
. Each element of the array is a JSON object which contains the following key/value pairs.
Key | Description |
---|---|
id | The id of this billable record. |
account_id | The account_id to which this billable belongs. |
amount | The amount of this billable. |
start_at | The date and time at which this billable started being billable. |
end_at | The date and time at which this billable ended being billable. If still current, this value will be in the far future. |
description | A human readable description of what this billable is reflecting. |
identifier | A unique identifier for the resources that the billable is reflecting. |
resource_identifier | A unique identifier for the system that is providing the resources that the billable consumes. |
sku | A stock code unit value which identifies the class of the resource being billed for. |
units | The number of data or memory units. |
replaces_id | The id of the resource replaced by this billable where the resource was scaled up/down. |