GET ALL PLANS

Query for all subscriptions associated with the given EyeLevel partner API key

QUERY ALL

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

{
    "subscriptionPlans": [
        {
            "annual": {
                "amount":   INTEGER,
                "currency": "ENUMERATED STRING",
                "planId":   "STRING IDENTIFIER"
            },
            "monthly": {
                "amount":   INTEGER,
                "currency": "ENUMERATED STRING",
                "planId":   "STRING IDENTIFIER"
            },
            "name": "STRING"
        }
    ]
}

Response

{
    "subscriptionPlans": [
        {
            "annual": {
                "amount":   INTEGER,
                "currency": "ENUMERATED STRING",
                "planId":   "STRING IDENTIFIER"
            },
            "monthly": {
                "amount":   INTEGER,
                "currency": "ENUMERATED STRING",
                "planId":   "STRING IDENTIFIER"
            },
            "name": "STRING"
        }
    ]
}

amount

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

annual

Pricing information of the subscription plan on an annual basis.

currency

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

monthly

Pricing information of the subscription plan on a monthly basis.

name

The human readable name for the subscription plan.

planId

The unique identifier for the subscription plan. You can use this planId in other subscription API requests.

Last updated