Retrieve detailed information about a specific web hosting account, such as domain name, status, product, and next due date. Use the `accountId` obtained from `POST /api/transfers/details` to identify the account.
/ accountId from POST /api/transfers/details Accept Example Content-Type Example accountId string required
· Example: 20000 data object required data.details object required Optional validation details (field-level errors).
data.details.billingcycle string · enum required
· Example: Annually Annually Free Monthly data.details.currency object required data.details.currency.code string · enum required
· Example: kr Machine-readable error code.
USD kr data.details.currency.decimal string required
· Example: 2 data.details.currency.enable string
· Example: 1 data.details.currency.format string · enum required
· Example: 1 234,56 1 234,56 1,234.56 data.details.currency.id integer | string
· Example: 0 data.details.currency.iso string · enum
· Example: SEK SEK USD data.details.currency.last_changes string
· Example: 2026-02-10 00:00:00 data.details.currency.rate integer | string
· Example: 1 data.details.currency.rounding string
· Example: 2 data.details.currency.rounding_mode string
· Example: HALF_UP data.details.currency.sign string · enum
· Example: $ data.details.currency.update string
· Example: 0 data.details.domain string required
· Example: example.com data.details.id string
· Example: 8249 data.details.ip string · nullable
· Example: 192.0.0.1 Nullable: may be null when not applicable.
data.details.next_due string
· Example: 2026-10-16 data.details.product_name string
· Example: Start (cpanel) data.details.product_stats object data.details.product_stats.addon_domains integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.bandwidth_limit integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.databases integer · nullable required
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.disk_limit integer · nullable
· Example: 50 Nullable: may be null when not applicable.
data.details.product_stats.email_accounts integer · nullable
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.ftp_accounts integer · nullable
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.mailing_lists integer · nullable
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.memory_limit integer · nullable
· Example: 2048 Nullable: may be null when not applicable.
data.details.product_stats.parked_domains integer · nullable
· Example: -1 Nullable: may be null when not applicable.
data.details.product_stats.subdomains integer · nullable
· Example: -1 Nullable: may be null when not applicable.
data.details.server_id string
· Example: 25 data.details.status string · enum
· Example: Active Active Terminated data.details.total string · enum
· Example: 708.00 0 1188 138.6 data.details.username string
· Example: user1 data.details.vpsip string · nullable
· Example: 192.0.0.1 Nullable: may be null when not applicable.
requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
success boolean required
· Example: true True for successful responses.
timestamp string
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
code string required
· Example: NOT_FOUND Machine-readable error code.
error string required
· Example: Not Found HTTP status title (e.g. 'Bad Request').
message string required
· Example: Service not found not found Human-readable message.
requestId string
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
timestamp string
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
https://cloud.hostup.se/api/get-account-details curl -X POST "https://cloud.hostup.se/api/get-account-details" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accountId": "20000"
}' {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"details": {
"id": "10001",
"domain": "example.com",
"username": "user1",
"server_id": "25",
"status": "Active",
"product_name": "Start (cpanel)",
"billingcycle": "Annually",
"next_due": "2026-10-16",
"ip": "192.0.0.1",
"vpsip": "192.0.0.1",
"product_stats": {
"disk_limit": 50,
"memory_limit": 2048,
"bandwidth_limit": -1,
"addon_domains": -1,
"subdomains": -1,
"email_accounts": -1,
"databases": -1,
"ftp_accounts": -1,
"mailing_lists": -1,
"parked_domains": -1
},
"total": "708.00",
"currency": {
"code": "kr",
"iso": "SEK",
"sign": "",
"format": "1 234,56",
"decimal": "2",
"rounding": "2",
"rounding_mode": "HALF_UP",
"id": 0,
"rate": 1
}
}
}
} {
"accountId": "20000"
}