Skip to main content

Currencydetails

Represents a currency.

baseCurrencybooleanrequired

TRUE if the currency is the base currency, FALSE otherwise. It cannot be changed and it's a read-only field not required for update operations.

codestringrequired

The currency code, which cannot be changed once the currency is created.

creationDatedate-time

The date this currency was created. It cannot be changed and it's a read-only field not required for update operations.

Example: 2016-09-06T13:37:50+03:00
currencyHolidays object[]

The list of holidays for this currency.

  • Array [
  • creationDatedate-time

    The date when the holiday was created.

    Example: 2016-09-06T13:37:50+03:00
    datedate

    The date the holiday takes place.

    Example: 1987-04-26
    encodedKeystring

    The encoded key of the entity, generated, globally unique

    idint64

    The ID of the holiday.

    isAnnuallyRecurringboolean

    TRUE if a holiday is annually recurring, FALSE otherwise.

    namestring

    The name of the holiday.

  • ]
  • currencySymbolPositionstringrequired

    Model representation of the currency symbol position.

    Possible values: [BEFORE_NUMBER, AFTER_NUMBER]

    digitsAfterDecimalint32

    The number of digits that are supported for a given currency.

    lastModifiedDatedate-time

    The last date this currency was modified. It's updated automatically and it's a read-only field not required for update operations.

    Example: 2016-09-06T13:37:50+03:00
    namestringrequired

    The name of the currency.

    numericCodestring

    The currency numeric code.

    symbolstringrequired

    The currency symbol.

    typestringrequired

    Model representation of the currency type.

    Possible values: [FIAT_CURRENCY, CRYPTOCURRENCY, NON_TRADITIONAL_CURRENCY]

    Currencydetails
    {
    "baseCurrency": true,
    "code": "string",
    "creationDate": "2016-09-06T13:37:50+03:00",
    "currencyHolidays": [
    {
    "creationDate": "2016-09-06T13:37:50+03:00",
    "date": "1987-04-26",
    "encodedKey": "string",
    "id": 0,
    "isAnnuallyRecurring": true,
    "name": "string"
    }
    ],
    "currencySymbolPosition": "BEFORE_NUMBER",
    "digitsAfterDecimal": 0,
    "lastModifiedDate": "2016-09-06T13:37:50+03:00",
    "name": "string",
    "numericCode": "string",
    "symbol": "string",
    "type": "FIAT_CURRENCY"
    }