getlago / lago-go-client

Lago Go Client
MIT License
21 stars 19 forks source link

feat(past_usage): Expose route to fetch customer past usage #130

Closed vincent-pochet closed 11 months ago

vincent-pochet commented 11 months ago

Context

Some of our users want to retrieve usage in the past. The main problem they are facing is that at the beginning of a new period, they cannot compute usage in third party systems, or see if everything went well as usage for the past period has been removed.

Description

This PR adds a new route to fetch the past_usage for a customer/subscription.