#OptimalSurprise - subscription

1 messages · Page 1 of 1 (latest)

icy timber
#

Hi there!

#

What do you mean by "lifetime usage"?

novel island
#

Every month we'd like to bill our customers but not reset the usage for them

#

so for e.g. if they used 90k units in their lifetime we would like to charge them for the unit price that 90k is in instead of the usage records accrued in the billing month

icy timber
#

So you don't want to reset the usage records at the end of every month?

novel island
#

yes correct

icy timber
#

That's not something supported by Stripe. But you could start every month by sending a usage record with the total used by this customer.

novel island
#

ah interesting

#

that's actually a great solution

#

thank you

#

also another question, how do we query the total usage for the month?

novel island
#

great, thank you for your help