v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Account

Get Current Hosting Plan

Provides detailed information about your current hosting plan

get/v1/account/hosting_plan

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": {
    "current_plan": {
      "name": "Starter",
      "product_id": 880088,
      "created_at": "2024-01-01T02:00:00Z",
      "next_billing_date": "2024-01-01T02:00:00Z",
      "pricing": {
        "billing_cycle_type": "recurring",
        "billing_cycle": "Monthly",
        "cost": 30,
        "currency": "USD"
      }
    },
    "addons": [
      {
        "name": "5 additional sites",
        "type": "Private Node - Enterprise 1",
        "addon_id": 880088,
        "created_at": "2024-01-01T02:00:00Z",
        "next_billing_date": "2024-01-01T02:00:00Z",
        "pricing": {
          "billing_cycle_type": "recurring",
          "billing_cycle": "Monthly",
          "cost": 30,
          "currency": "USD"
        }
      }
    ]
  }
}