#qualle-dashboard-pricecreation

1 messages · Page 1 of 1 (latest)

tender ruinBOT
runic lake
#

Hey @zenith charm ! The Dashboard definitely supports creating Products and Prices

tender ruinBOT
runic lake
#

qualle-dashboard-pricecreation

zenith charm
#

got it ok I see the "Usage is metered" option now

#

one more question

#

when we update a customer's usage records for metered based subscriptions

#

how do we check that their usage hasn't hit the limit?

#

is there a specific api or does it just throw an error if it's maxed out?

runic lake
#

I'm not fully sure what you mean by "max usage"

zenith charm
#

and we need to show their usage progress for that month in the UI

#

so say we allow up to 50 units of our service in a month at $50, and they have to upgrade for 50+ units

#

if they hit 50 units before the month ends, we need to notify the user to upgrade

#

does the subscription API just throw a message or do we have to implicitly check some other api

runic lake
#

you have to keep track of this yourself

zenith charm
#

ok so then what does the usage_records/create api do ?

runic lake
#

it creates a usage record on our end so that we can know how much to charge them for

zenith charm
#

just for invoicing I guess

runic lake
#

but there's no concept of "max"

zenith charm
#

I see

#

its just for the invoice yea

#

in our db we'll tick up the amount per transaction

#

thank you!

runic lake
#

sure thing!