#Kamesh
1 messages · Page 1 of 1 (latest)
Stripe follows the smallest unit of the currency as the amount: https://stripe.com/docs/currencies
For example, the smallest unit of USD is cents, then the amount will be 100 cents for $1
when we handle multiple currencies, what is the best way to determine whether to multiple by 100 or not?
You'd need to check the smallest unit of the currencies supported. Another example will be that JPY's smallest unit is dollar, so the amount will be 500 dollar for JPY 500.
does stripe has this smallest unit value available somewhere?
whch we can use programatically>?
We don't have an API for it, but you can refer to the guide above for the smallest unit and currencies with different decimals: https://stripe.com/docs/currencies