diff --git a/internal/billing/metronome.go b/internal/billing/metronome.go index dc4fce926f..17074608cc 100644 --- a/internal/billing/metronome.go +++ b/internal/billing/metronome.go @@ -390,8 +390,8 @@ func (m MetronomeClient) ListCustomerCosts(ctx context.Context, customerID uuid. for _, customerCost := range result.Data { formattedCost := types.FormattedCost{ - StartTimestamp: startingOnTimestamp, - EndTimestamp: endingBeforeTimestamp, + StartTimestamp: customerCost.StartTimestamp, + EndTimestamp: customerCost.EndTimestamp, } for _, creditType := range customerCost.CreditTypes { formattedCost.Cost += creditType.Cost