#Fraser
1 messages · Page 1 of 1 (latest)
Hi 👋
All prices are integers in Stripe. So you will need to model your business such that you can use integer values
so if a customer uses 0.3 of a unit, I'd have to charge them for 1 whole unit?
The integer value represents the smallest denomination for the currency
So a price of 20 in USD represents 20 cents
Ah my question is not related the price, im talking about the units, in graduated/volume pricing
We still use integers in all of these scenarios due to floating point number comparison issues. I would recommend modeling your volume measures by 10x to better fit this situation