Path parameters

  • id integer Required

    Website ID number

Responses

  • 200 application/json

    Get Invoices response

    At least 13 but not more than 13 elements.

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
GET /websites/{id}/invoices
curl \
 --request GET 'https://my.interserver.net/apiv2/websites/{id}/invoices' \
 --header "X-API-KEY: $API_KEY"
Response examples (200)
[
  [
    "22692427",
    "2023-09-06 04:10:34",
    "2722890",
    "(Repeat Invoice: 20477858) KVM Linux VPS Slice 1 Slices",
    "1",
    "0.00",
    "1",
    "2773",
    "20477858",
    "vps",
    "2023-09-20 04:10:34",
    "0",
    "$",
    [
      [
        "22692434",
        "6th Sep 2023",
        "2722890",
        "PayPal Payment",
        "10",
        "0.00",
        "0",
        "2773",
        "22692427",
        "vps",
        "0000-00-00 00:00:00",
        "0",
        "$"
      ]
    ]
  ]
]
Response examples (401)
{
  "code": "string",
  "message": "string"
}