View the current currency for your account and available currencies. The response includes an ID for the current currency, which may be needed for other API calls, such as invoicing or service management. You can also change your account currency.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/account/currency curl -X GET "https://cloud.hostup.se/api/account/currency" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"success": true,
"currentCurrencyId": "string",
"currentCurrency": {
"id": "string",
"code": "string",
"sign": "string",
"iso": "string",
"rate": "string",
"last_changes": "string",
"update": "string",
"enable": "string",
"format": "string",
"decimal": "string",
"rounding": "string"
},
"currencies": [
{
"code": "string",
"iso": "string",
"sign": "string",
"format": "string",
"decimal": "string",
"rounding": "string",
"rounding_mode": "string",
"id": "string",
"rate": 0
}
],
"canChangeCurrency": true,
"unpaidInvoiceCount": 0,
"changeLimit": {
"used": 0,
"limit": 0,
"remaining": 0,
"nextReset": "string"
}
}
}