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.
Accept Example Content-Type Example setting string · enum required CCChargeAuto ClientNotifications GenerateSeparateInvoices value any · enum required off on success boolean timestamp string requestId string data object https://cloud.hostup.se/api/account/automation 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"
}' {
"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
}
}
} {
"setting": "CCChargeAuto",
"value": "off"
}