Currency

Currency

Currency schema defines a currency, fiat or crypto, as well as the data needed for working with them.

KeyDescriptionTypeExample
typeCurrency naturestringfiat or crypto
nameCurrency human-readable namestringBitcoin, Real
symbolCurrency symbolstringR$,
codeCurrency ISO-4217 or alike codestringBRL, BTC. See remark #1.
separatorCurrency thousand separatorstring,
decimalCurrency decimal separatorstring.
precisionCurrency precision (number of places after comma)integer2, 8

Remarks

1. Currency codes

You can get a list of currencies by requesting Static > Get Currencies endpoint (read more on its documentation).