#abhishek_1234-metered_subs

1 messages · Page 1 of 1 (latest)

nimble grotto
north ridge
#

in 2 link reporting usage quantity field is given 100. If success api are send to this will it count quantity automatically

nimble grotto
#

you have to calculate the number of successful APIs in your own application and then send that number as the usage quantity

north ridge
#

okay

#

by any other means does stripe have this feature of calculating api call

#

one more thing need to create customers also within stripe

nimble grotto
north ridge
#

okay no worries.

#

calculate api call based on tenant => create customer for that tenant in stripe => pricing tiers will be set in stripe => stripe will then create invoice for us => last checkout method

#

is this correct flow of data?

nimble grotto
#

the flow would be create customer => create metered subscription for customer => record usage => stripe will automatically invoice at end of the billing cycle