Appearance
GET
/config/currency/currenciesRequired scope:
currency:readSearches for currencies with optional filters and pagination. Results are sorted by currency code. Currencies without a code are left out, as they cannot be addressed by code.
Parameters ​
Query parameters
page integerThe page number to retrieve. The first page is 1. Cannot be less than 1.
Default value:
1pageSize integerThe size of the pages to retrieve. The default is 10. Cannot be less than 1 and larger than 100.
Default value:
10keywords stringWhitespace-separated keywords. Each token must match the currency code, name, numeric code or symbol (case-insensitive AND across tokens).
active enumFilter by the active status.
Enum:
ALLACTIVEINACTIVEDefault value:
ACTIVEResponse ​
The response contains the found currencies.
JSON
[
{
"currencyCode": "SEK",
"currencyName": "Swedish krona",
"numericCode": "752",
"symbol": "kr",
"roundingPrecision": 1,
"roundingDirection": 0,
"discountRoundingPrecision": 0.5,
"discountRoundingDirection": 0,
"active": true
}
]
| Error code | Description |
|---|---|
invalid-page | The given page is invalid. |
invalid-page-size | The given page size is invalid. |