Path parameters

  • id integer Required

    The order ID number.

Responses

  • 200 application/json

    License information.

    Hide response attributes Show response attributes object
    • serviceInfo object Required
      Hide serviceInfo attributes Show serviceInfo attributes object
      • license_id string Required

        License ID

      • license_type string Required

        License type

      • license_currency string Required

        License currency

      • license_order_date string(date-time) Required

        License order date

      • license_custid string Required

        Customer ID

      • license_ip string Required

        License IP

      • license_status string Required

        License status

      • license_hostname string

        License hostname

      • license_key string

        License key

      • license_invoice string Required

        License invoice

      • license_coupon string Required

        License coupon

      • license_extra string

        Additional license information

    • billingDetails object Required
      Hide billingDetails attributes Show billingDetails attributes object
      • service_last_invoice_date string

        Last invoice date

      • service_payment_status string

        Payment status

      • service_frequency string

        Service frequency

      • next_date string(date-time)

        Next date

      • service_next_invoice_date string

        Next invoice date

      • service_currency string

        Service currency

      • service_currency_symbol string

        Service currency symbol

      • service_coupon string

        Service coupon

      • service_cost_info string

        Service cost information

      • service_extra array[string]

        Additional service information

      • service_extra_json string

        Additional service information in JSON format

    • custCurrency string Required

      Customer's currency

    • custCurrencySymbol string Required

      Currency symbol for customer

    • package string Required

      Package name

    • serviceExtra array[string] Required

      Extra service information

    • extraInfoTables object Required
      Hide extraInfoTables attribute Show extraInfoTables attribute object
      • ip_info object
        Hide ip_info attributes Show ip_info attributes object
        • title string

          Table title

        • rows array[object]
          Hide rows attributes Show rows attributes object
          • desc string

            Row description

          • value string

            Row value

    • service_overview_extra string Required

      Extra service overview information

    • serviceType object Required
      Hide serviceType attributes Show serviceType attributes object
      • services_id string

        Service ID

      • services_name string

        Service name

      • services_cost string

        Service cost

      • services_category string

        Service category

      • services_buyable string

        Buyable status

      • services_type string

        Service type

      • services_field1 string

        Service field 1

      • services_field2 string

        Service field 2

      • services_module string

        Service module

    • license_key string Required

      License key

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /licenses/{id}
curl \
 --request GET 'https://my.interserver.net/apiv2/licenses/{id}' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
{
  "serviceInfo": {
    "license_id": "386522",
    "license_type": "5034",
    "license_currency": "USD",
    "license_order_date": "2020-01-14T10:48:14.000Z",
    "license_custid": "771282",
    "license_ip": "1.2.3.4",
    "license_status": "active",
    "license_hostname": "string",
    "license_key": "string",
    "license_invoice": "18704419",
    "license_coupon": "1836",
    "license_extra": "string"
  },
  "client_links": [
    {
      "label": "Invoices",
      "link": "invoices",
      "icon": "fas fa-file-invoice-dollar fa-w-12",
      "icon_text": "string",
      "help_text": "Invoice History",
      "other_attr": "string"
    }
  ],
  "billingDetails": {
    "service_last_invoice_date": "August 14, 2023",
    "service_payment_status": "Paid",
    "service_frequency": "Monthly",
    "next_date": "2023-09-14T09:39:46.000Z",
    "service_next_invoice_date": "September 14, 2023",
    "service_currency": "USD",
    "service_currency_symbol": "$",
    "service_coupon": "ACOUPONFORLICENSES",
    "service_cost_info": "0.00",
    "service_extra": [
      "string"
    ],
    "service_extra_json": "[\"\"]"
  },
  "custCurrency": "USD",
  "custCurrencySymbol": "$",
  "package": "KernelCare License",
  "serviceExtra": [
    "string"
  ],
  "extraInfoTables": {
    "ip_info": {
      "title": "IP Information",
      "rows": [
        {
          "desc": "Netmask",
          "value": "255.255.255.248"
        }
      ]
    }
  },
  "service_overview_extra": "string",
  "serviceType": {
    "services_id": "5034",
    "services_name": "KernelCare License",
    "services_cost": "2.95",
    "services_category": "508",
    "services_buyable": "1",
    "services_type": "508",
    "services_field1": "16",
    "services_field2": "string",
    "services_module": "licenses"
  },
  "license_key": "string"
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}