Retrieving currency by code
GET {{api-url}}/currency/{{tenant}}/currencies/EUR
Retrieves a currency by the currency code.
* If the Accept-Language is set to * each internationalized field should be provided as a map that contains all of translations in a format of key:value pairs, where the key is the language code and value is the translation.
* If the Accept-Language contains a single language then the translation should be passed as a string value.
* If the Accept-Language header is empty default language defined in the Configuration service is taken.
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept-Language | string | The Accept-Language request HTTP header defines which languages the client is able to understand, and which locale variant is preferred. If empty then default system language is returned. It can be a priority list working as a fallback mechanism. | |
Accept | string |
RESPONSES
status: OK
{"code":"USD","name":"Dollar"}