Currencies
To generate a list of currencies, use a GET method and the following URL:
$ curl https://services.taxamo.com/api/v2/dictionaries/currencies?public_token=public_***********
Fields
The following fields are returned for each currency:
Field | Description |
---|---|
code | The 3 letter code that represents the currency. For example USD . |
minorunits | The amount of minor units. |
description | A text description for the currency. |
isocode | The ISO code for the currency. |
isonum | The ISO number. |
Example Response
Here is an example response:
{
"dictionary": [
{
"code": "AUD",
"minorunits": 2,
"description": "Australian Dollar",
"isocode": "AUD",
"isonum": 36
},
{
"code": "CAD",
"minorunits": 2,
"description": "Canadian Dollar",
"isocode": "CAD",
"isonum": 124
},
{
"code": "CNY",
"minorunits": 2,
"description": "Yuan Renminbi",
"isocode": "CNY",
"isonum": 156
},
{
"code": "HRK",
"minorunits": 2,
"description": "Croatian Kuna",
"isocode": "HRK",
"isonum": 191
},
{
"code": "CZK",
"minorunits": 2,
"description": "Czech Koruna",
"isocode": "CZK",
"isonum": 203
},
{
"code": "DKK",
"minorunits": 2,
"description": "Danish Kroner",
"isocode": "DKK",
"isonum": 208
},
{
"code": "HKD",
"minorunits": 2,
"description": "Hong Kong Dollar",
"isocode": "HKD",
"isonum": 344
},
{
"code": "HUF",
"minorunits": 2,
"description": "Forint",
"isocode": "HUF",
"isonum": 348
},
//...
]
}
Updated about 1 year ago