Currency
This model represents currency.
| Property | Type | Description | Information |
|---|---|---|---|
id | int | Currency identifier | ISO 4217 alpha code unique for single currency. Read-only. |
name | string | Localized name of currency | Read-only. |
decimal_places | int | Number of decimal places | Number of decimal places currency uses. Number between 0 and 3. Read-only. |
numeric_code | int or null | Currency numeric code | ISO 4217 numeric code unique for single currency. Read-only. |
symbol | string or null | Currency symbol | Symbol of the currency. String between 1 and 5 characters (or null). Read-only. |
is_active | bool | Active state | Inactive currencies are not shown nor required on input. |
is_default | bool | Default state | Default currency is used as fallback currency. |
created_at | DateTime | Currency creation date and time | Read-only. |
Example:
{
"id": "USD",
"name": "United States dollar",
"decimal_places": 2,
"numeric_code": null,
"symbol": "$",
"is_active": true,
"is_default": false,
"created_at": "2019-08-07 14:33:46"
}