Currencies
The currencies in play for the group: the ones its companies report in, and the ones a stored exchange rate exists for.
The endpoint
| Method | Path | Answers |
|---|---|---|
| GET | /api/v1/currencies | Each currency, and whether a rate is stored |
Needs a bearer token and the reference.read scope.
What it answers
{
"data": [
{ "code": "USD", "has_rate": false },
{ "code": "SGD", "has_rate": true },
{ "code": "GBP", "has_rate": true }
],
"page": 1, "per_page": 50, "total": 3, "has_more": false
}
| Field | What it says |
|---|---|
code | The three-letter code, upper case. |
has_rate | Whether at least one exchange rate is stored for it. A rate itself is read per month: Exchange rates. |
A company's own reporting currency is always in the list and never needs a stored rate, because it is
1 against itself.