Change automatic billing settings for the account

Modify automatic settings for your account, such as how invoices are generated. This API returns an ID that may be needed for subsequent calls, for example, to confirm a payment.

Headers

Accept Example
Content-Type Example

Body

required
application/json
setting string · enum required
CCChargeAuto
ClientNotifications
GenerateSeparateInvoices
value any · enum required
off
on

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/account/automation
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/account/automation" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "setting": "CCChargeAuto",
    "value": "off"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "settings": {
      "CCChargeAuto": "string",
      "DefaultTimezone": "string",
      "SupportDepartments": [
        "string"
      ],
      "SupportRates": [
        "string"
      ],
      "DiscountForms": [
        "string"
      ]
    },
    "settings_enabled": {
      "CCChargeAuto": true,
      "DefaultTimezone": true,
      "MergeInvoiceOptions": true
    }
  }
}
Request Body
{
  "setting": "CCChargeAuto",
  "value": "off"
}