Get billing periods for a domain

Retrieve billing period and pricing information for a specific domain. This also returns IDs needed for subsequent billing and administration API calls.

Path Parameters

id integer · min: 1 required Example

Unique id identifier

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
400
error string
message string
code string
timestamp string
requestId string
existing_invoice boolean
order_id string
order_number string
invoice_id string
invoice_status string
total string
date_created string
GET https://cloud.hostup.se/api/domains/{id}/billing-cycle
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/domains/11762/billing-cycle" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "current": "string",
    "periods": [
      {
        "id": "string",
        "years": 0,
        "registerPrice": "string",
        "renewPrice": "string",
        "transferPrice": "string",
        "isCurrent": true
      }
    ],
    "domainId": "string",
    "domainName": "string",
    "productId": "string"
  }
}