Skip to main content

Currenciesconfiguration

Represents the currencies configuration.

baseCurrency objectrequired

Represents the currency configuration.

codestring

The unique currency code.

currencyHolidays object[]

List of holidays for this currency.

  • Array [
  • datestring<date>

    The day of the holiday.

    Example: 1987-04-26
    idstring

    The id of the holiday.

    isAnnuallyRecurringboolean

    Specify if a holiday is recurring or not.

    namestring

    The name of the holiday.

  • ]
  • digitsAfterDecimalinteger<int32>

    The number of decimals of the currency.

    namestring

    The currency name.

    symbolstring

    The currency symbol.

    symbolPositionstring

    Model representation of the currency symbol position.

    Possible values: [BEFORE_NUMBER, AFTER_NUMBER]

    typestring

    Model representation of the currency type.

    Possible values: [FIAT_CURRENCY, CRYPTOCURRENCY, NON_TRADITIONAL_CURRENCY]

    foreignCurrencies object[]

    The list of all the foreign currencies. It is ordered by currency code in ascending order. It can be empty.

  • Array [
  • accountingRates object[]

    The accounting rate for the current currency and base currency. Ordered by start date in ascending order.

  • Array [
  • ratenumber

    The accounting rate.

    startDatestring<date-time>

    The accounting rate will apply starting with this date.

    Example: 2016-09-06T13:37:50+03:00
  • ]
  • currency object

    Represents the currency configuration.

    codestring

    The unique currency code.

    currencyHolidays object[]

    List of holidays for this currency.

  • Array [
  • datestring<date>

    The day of the holiday.

    Example: 1987-04-26
    idstring

    The id of the holiday.

    isAnnuallyRecurringboolean

    Specify if a holiday is recurring or not.

    namestring

    The name of the holiday.

  • ]
  • digitsAfterDecimalinteger<int32>

    The number of decimals of the currency.

    namestring

    The currency name.

    symbolstring

    The currency symbol.

    symbolPositionstring

    Model representation of the currency symbol position.

    Possible values: [BEFORE_NUMBER, AFTER_NUMBER]

    typestring

    Model representation of the currency type.

    Possible values: [FIAT_CURRENCY, CRYPTOCURRENCY, NON_TRADITIONAL_CURRENCY]

    exchangeRates object[]

    The exchange rate for the current currency and base currency. Ordered by start date in ascending order.

  • Array [
  • buyRatenumber

    The buy exchange rate.

    sellRatenumber

    The sell exchange rate.

    startDatestring<date-time>

    The exchange rate applies starting with this date.

    Example: 2016-09-06T13:37:50+03:00
  • ]
  • ]
  • startDatestring<date>

    The date starting from which the configuration is applied and/or returned, based on the organization timezone. It may be null if all the data is returned or updated.

    Example: 1987-04-26
    Currenciesconfiguration
    {
    "baseCurrency": {
    "code": "string",
    "currencyHolidays": [
    {
    "date": "1987-04-26",
    "id": "string",
    "isAnnuallyRecurring": true,
    "name": "string"
    }
    ],
    "digitsAfterDecimal": 0,
    "name": "string",
    "symbol": "string",
    "symbolPosition": "BEFORE_NUMBER",
    "type": "FIAT_CURRENCY"
    },
    "foreignCurrencies": [
    {
    "accountingRates": [
    {
    "rate": 0,
    "startDate": "2016-09-06T13:37:50+03:00"
    }
    ],
    "currency": {
    "code": "string",
    "currencyHolidays": [
    {
    "date": "1987-04-26",
    "id": "string",
    "isAnnuallyRecurring": true,
    "name": "string"
    }
    ],
    "digitsAfterDecimal": 0,
    "name": "string",
    "symbol": "string",
    "symbolPosition": "BEFORE_NUMBER",
    "type": "FIAT_CURRENCY"
    },
    "exchangeRates": [
    {
    "buyRate": 0,
    "sellRate": 0,
    "startDate": "2016-09-06T13:37:50+03:00"
    }
    ]
    }
    ],
    "startDate": "1987-04-26"
    }