Currencies
GET/v1/currencies
scope catalog.read
decimals is the exponent for the minor units every amount in this API uses: 12550 with decimals 2 is 125.50.
Response#
| Field | Type | Description |
|---|---|---|
count | integer | How many currencies. |
data | array | Every currency the platform knows. |
data[]. | string | ISO-4217, and the value every currency field in this API uses. |
data[]. | string | English name. |
data[]. | string | The symbol, for display. |
data[]. | integer | The exponent for the minor units this API speaks: with 2, the integer 12550 is 125,50. Read this rather than assuming two — not every currency has two. |
data[]. | boolean | Whether the symbol goes in front when you format an amount. |
Example
{
"count": 170,
"data": [
{
"code": "RON",
"name": "Romanian Leu",
"symbol": "lei",
"decimals": 2,
"symbol_before_amount": false
}
]
}