Get customer past usage
lago_get_customer_past_usageRetrieve a customer's usage-based billing data for past periods. Lago API: GET /customers/{external_customer_id}/past_usage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periods_count | No | Number of past billing periods to return. | |
| billable_metric_code | No | Filter usage to a specific billable metric code. | |
| external_customer_id | Yes | The customer external unique identifier. | |
| external_subscription_id | Yes | The subscription's external unique identifier (required). |