View billing period

Displays the current billing period and available options to change the payment cycle. Returns the current period and a list of monthly and annual options with prices.

Path Parameters

accountId integer · min: 1 required Example

Unique account identifier

Headers

Accept Example
Content-Type Example

Responses

200 Successful response
current string
currentName string
cycles string
productId string
accountId string
accountDetails string
GET https://cloud.hostup.se/api/hosting/{accountId}/billing-cycle
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/hosting/17457/billing-cycle" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "current": "string",
  "currentName": "string",
  "cycles": "string",
  "productId": "string",
  "accountId": "string",
  "accountDetails": "string"
}