I am currently writing the code to migrate to Stripe from a different payment processor.
I know that when the currency is USD, stripe uses cents. So stripe(1000 USD) == $10.00. Same for Euros I assume stripe(1000 EUR) == € 10.00.
But what about JPY? 100 JPY is roughly $1. So do I send Stripe 10000 JPY to get 100 Yen ~= $1. Do I send Stripe 100 JPY to get 100 Yen ~= $1?
Is there a special divisor? Is everything denominated in 100/ths for any currency? I can't find an answer in the documentation, and I don't want to charge Japanese people $0.1 or $1000 for a $10 USD service.
How is AED denominated. They use 1/10ths as the smallest unit / coinage. Should I multiply by 10?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…