Money & Currencies
Raisely supports over a hundred currencies, some of which are zero decimal.
Currency Formats
The Raisely API will always send and receive currency in the smallest unit the currency allows. In practice that means we will receive currencies in whole units, not decimals.
For a currency like dollars, we'll receive and send the dollar amount in cents. For example, to represent AUD $20 you would send and receive cents: amount: 2000
.
When working with zero decimal currencies (eg JPY, KRW, VND), then there is only one unit, so ¥500, is simply represented as amount: 500
.
Updated almost 4 years ago