Stripe Currency - Are all amounts in cents / 100ths, or does it depend on currency?

前端 未结 1 1630
情书的邮戳
情书的邮戳 2020-12-01 17:53

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

相关标签:
1条回答
  • 2020-12-01 18:51

    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.

    0 讨论(0)
提交回复
热议问题