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?
All amounts are in the "smallest common currency unit". While in most places this would be cents, in Japan there is no decimal for their currency so amount=1 (1 JPY), since ¥1 is the smallest currency unit.
Additional info can be found at this doc.