Amounts and currencies
Integers only. Never floats.
Every amount is an integer count of the currency's smallest unit.
| Amount | Currency | Send |
|---|---|---|
| €10.50 | EUR | 1050 |
| £1.00 | GBP | 100 |
| ¥1000 | JPY | 1000, no minor unit |
| KD 1.500 | KWD | 1500, three decimals |
Decimals are rejected. Floating point
cannot represent 0.1 exactly, and a payments ledger that drifts by a cent
cannot be reconciled. Do the conversion once, in integers, at the edge of
your system.
Zero-decimal currencies (JPY, KRW, VND and others) and three-decimal ones (KWD, BHD, TND) are handled correctly. Send the smallest unit and we do the rest.