#Fraser

1 messages · Page 1 of 1 (latest)

quick pendantBOT
tidal ember
#

Hi 👋

All prices are integers in Stripe. So you will need to model your business such that you can use integer values

slow merlin
#

so if a customer uses 0.3 of a unit, I'd have to charge them for 1 whole unit?

tidal ember
#

The integer value represents the smallest denomination for the currency

#

So a price of 20 in USD represents 20 cents

slow merlin
#

Ah my question is not related the price, im talking about the units, in graduated/volume pricing

tidal ember
#

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