#Oytun - subscriptions

1 messages · Page 1 of 1 (latest)

orchid schooner
cloud crescent
#

aaaaand, one other question is... should we come up with our own usage tracking and limiting flow, or should we rely on Stripe's subscription usage endpoints?

#

this is to decide, "hey, how much has this user so far consumed/used? can they still issue 5 more api requests?"

orchid schooner
#

Hi!

is it possible to have direct monetary value as usage in subscription?
I'm not sure I understand. Could you try to clarify, or share a subscription ID with exactly what you would like to do/see?

cloud crescent
#

it's a typical metered usage case. however, the metered unit on our side is "usd", not "number of hits" or "quantity of something else"

#

we can't say

100 words (unit) translated * 0.10 = $10

#

because $10 is calculated very very dynamically, meaning, there is no unit price

#

it's not tiered, it's configured

#

so i am asking, is it possible to get rid of unit price and let me enter the $ value for the usage

#

i am almost thinking of...an ugly hack

#

make unit price = $0.01

#

and if i need to meter $21.34 of usage

#

i'll record usage on stripe api for a quantity of 2134

#

quite ugly, but billing-wise it will sum up correctly

orchid schooner