Currencies
Lango processes USD and ZWG. Three rules keep multi-currency handling honest:
1. Amounts are integers in minor units
USD 100.00 is 10000. ZWG 312.04 is 31204. Always two implied decimal places, never
floats. Send amount: 10000, read amount: 10000 — formatting is a display concern.
When displaying, put the currency code first (USD 1,240.50), because a bare $ is ambiguous
in Zimbabwe.
2. Currencies never blend
Balances, settlements, reports and totals are always per currency. Lango never sums USD and ZWG into one number, at any exchange rate, anywhere — and your integration shouldn’t either. A “total revenue” figure spanning both currencies is a fiction the moment the rate moves.
GET /v1/balance:
{ "available": [ { "currency": "USD", "amount": 125000 }, { "currency": "ZWG", "amount": 3120400 } ]}Two entries, two truths — deliberately not one.
3. A payment lives entirely in one currency
The order, the commission, the customer fee, the settlement — all in the payment’s currency. There is no cross-currency payment and no automatic conversion. If you price in USD and want to accept ZWG, create ZWG payments at your own rate, on your own terms, explicitly.
Statutory rates differ by currency
IMTT and other statutory charges can carry different rates per currency (and change by government notice). Preview quotes the rate in force; your settlement advice names the rate that was applied.