Skip to main content
GET

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

external_customer_id
string
required

The customer external unique identifier (provided by your own application).

Example:

"5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba"

Query Parameters

page
integer

Page number.

Example:

1

per_page
integer

Number of records per page.

Example:

20

external_subscription_id
string
required

The unique identifier of the subscription within your application.

Example:

"sub_1234567890"

billable_metric_code
string

Billable metric code filter to apply to the charge usage

Example:

"cpu"

periods_count
integer

Number of past billing period to returns in the result

Example:

5

Response

Customer past usage

usage_periods
object[]
required
meta
object
required