In the SpectroCoin API, all currency codes, both FIAT and cryptocurrency, must be specified using uppercase letters (e.g., "SOL", "BTC", "EUR", "USD"). If a request is made to an endpoint with a currency code in an incorrect format (e.g., lowercase or mixed case), the API will return an error response. The response includes details about the validation failure, structured as follows:
{
"errorCode": "GEN_8",
"category": "validation",
"key": "entity_not_found",
"defaultMessage": "Requested entity was not found.",
"spanId": "382ec2e29d50544a",
"traceId": "1ae3a8bb1d1bf7d3",
"errorParameters": [
{
"key": "Id",
"value": "id"
}
]
}