Retrieve Supported Currencies
Returns a list of currency codes, their numeric ISO‑4217 identifiers, and the number of decimal places used for each currency.
URL test:
Method:
GET
Path items:
/trancore/currencies
Parameters:
None
Example:
Responses:
200 - OK
Status Code: 200 OK
[
{
"code": "XDR",
"number": 960
},
{
"code": "XSU",
"number": 994
},
{
"code": "XUA",
"number": 965
},
{
"code": "AED",
"number": 784,
"decimalPlaces": 2
},
{
"code": "AFN",
"number": 971,
"decimalPlaces": 2
},
{
"code": "ALL",
"number": 8,
"decimalPlaces": 2
},
{
"code": "AMD",
"number": 51,
"decimalPlaces": 2
},
{
"code": "ANG",
"number": 532,
"decimalPlaces": 2
},
{
"code": "AOA",
"number": 973,
"decimalPlaces": 2
},
{
"code": "ARS",
"number": 32,
"decimalPlaces": 2
}
// ...additional currencies omitted for brevity...
]
| Parameter | Location | Type | Description |
|---|---|---|---|
| code | root | string | ISO‑4217 alphabetic currency code (e.g., USD, EUR). |
| number | root | integer | Numeric ISO‑4217 identifier. |
| decimalPlaces | root | integer | Number of decimal digits used for amounts in this currency. |
500 - Internal error
Status Code: 500 Internal error
{
"timestamp": "2025-07-22T13:09:02.348+02:00",
"status": 500,
"error": "Internal Server Error",
"path": "/cms/v1/trancore/currencies"
}
| Parameter | Location | Type | Description |
|---|---|---|---|
| timestamp | root | string | ISO‑8601 timestamp when the error occurred. |
| status | root | integer | HTTP status code (500). |
| error | root | string | Short description of the error. |
| path | root | string | The request path that caused the error. |