GET INVOICES

Query for subscription invoices for the given customer API key

QUERY

GET https://api.eyelevel.ai/v1/partner/subscription/invoices/:apiKey

Path Parameters

NameTypeDescription

apiKey

string

EyeLevel customer key

{
    "invoices": [
        {
            "amount":     INTEGER,
            "created":    DATETIME,
            "currency":   "ENUMERATED STRING",
            "invoiceId":  "STRING IDENTIFIER",
            "invoiceUrl": "STRING",
            "isPaid":     BOOLEAN
        }
    ]
}

Response

{
    "invoices": [
        {
            "amount":     INTEGER,
            "created":    DATETIME,
            "currency":   "ENUMERATED STRING",
            "invoiceId":  "STRING IDENTIFIER",
            "invoiceUrl": "STRING",
            "isPaid":     BOOLEAN
        }
    ]
}

amount

The price in cents (represented as a whole integer if possible) of the subscription plan per month or per year.

created

The datetime in RFC3339 format when the invoice was created.

currency

Three-letter ISO currency code, in lowercase. Must be a supported currency.

invoiceId

The unique identifier for the invoice.

invoiceUrl

The URL where the invoice is hosted.

isPaid

A boolean that describes whether the invoice has been paid (true) or not (false).

Last updated