Skip to main content

List Plans

GET 

/plans/

Request

Query Parameters

    length integer

    Number of results to return per page.

    page integer

    A page number within the paginated result set.

Responses

Schema

    count integer

    Total number of results.

    page_total integer

    Total number of pages.

    page integer

    Number of the current page.
    The first page is 1.
    Defaults to 1 if no specific page is requested.

    length integer

    Number of results returned per page.

    results

    object[]

  • Array [

  • id stringrequired

    Possible values: <= 255 characters

    Plan identifier.

    name string

    Possible values: <= 50 characters

    Plan name.

    family stringnullable

    Plan family.

    description string

    Possible values: <= 500 characters

    Plan description.

    is_trial boolean

    Does plan include trial.

    charge_model stringrequired

    Possible values: [per_unit, flat_fee, volume, tiered]

    • per_unit - per_unit
    • flat_fee - flat_fee
    • volume - volume
    • tiered - tiered
    price integerrequired
    currency_code stringrequired

    Possible values: [USD, EUR, GBP]

    • USD - USD
    • EUR - EUR
    • GBP - GBP
    period integer

    Possible values: >= -2147483648 and <= 2147483647

    Plan billing is done every N units.

    period_unit string

    Possible values: [week, month, year]

    Unit for the plan billing cycle.

    • week - Week
    • month - Month
    • year - Year
    allowed_builtin_scan_profiles string[]required

    allowed_credits_packs

    object[]

    required

  • Array [

  • id stringrequired

    Possible values: <= 100 characters

    name string

    Possible values: <= 50 characters

    price integer

    Possible values: >= -2147483648 and <= 2147483647

    currency_code string

    Possible values: [USD, EUR, GBP, ``]

    • USD - USD
    • EUR - EUR
    • GBP - GBP
    pack_amount int64

    Possible values: <= 4294967295

    discount integerrequired
    savings integerrequired
  • ]

  • discount integerrequired
    savings integerrequired

    tiers

    object

    nullable

    property name* anynullable
  • ]

Loading...