Update account currency for pricing

Change the currency used for pricing on your account. After updating the currency, a `currencyId` is returned, which may be needed for subsequent API calls related to invoicing or account information. This updates the currency for your services.

Headers

Accept Example
Content-Type Example

Body

required
application/json
currencyId string required

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/account/currency
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/account/currency" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "currencyId": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "message": "string",
    "currencyId": "string",
    "currency": {
      "id": "string",
      "code": "string",
      "sign": "string",
      "iso": "string",
      "rate": "string",
      "last_changes": "string",
      "update": "string",
      "enable": "string",
      "format": "string",
      "decimal": "string",
      "rounding": "string"
    },
    "pricingRecalcJobId": "string"
  }
}
Request Body
{
  "currencyId": "string"
}