Skip to main content

Retrieve Subscription Information

GET 

/account/subscription/

Details about the accounts subscription (subscribed plan, billing cycle, etc..).

Responses

Schema

    plan

    object

    required

    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
    subscription_status string

    Possible values: [future, in_trial, active, non_renewing, cancelled, ``]

    Subscription status

    • future - Future
    • in_trial - In Trial
    • active - Active
    • non_renewing - Non Renewing
    • cancelled - Canceled
    has_used_trial boolean
    trial_end date-timenullable

    Date and time the trial period ends.

    next_billing_at date-timenullable

    Date and time for next billing cycle.

    next_billing_amount int64

    Possible values: <= 4294967295

    Amount to pay for next subscription renewal (in cents).

    plan_amount int64

    Possible values: <= 4294967295

    Plan cost in cents.

    auto_collection boolean

    Auto-collection enabled.

    number_free_ultd_targets int64

    Possible values: <= 4294967295

    Number of promotional targets with unlimited scans.

    max_ultd_targets integerrequired
    number_paid_ultd_targets int64

    Possible values: <= 4294967295

    Number of subscribed targets with unlimited scans. DO NOT change this for pro plans!!

    number_used_ultd_targets int64

    Possible values: <= 4294967295

    Number of targets with unlimited scans in use.

    number_available_ultd_targets int64

    Possible values: <= 4294967295

    Number of targets with unlimited scans available.

    number_available_ultd_targets_minus_team_quotas int64

    Possible values: <= 4294967295

    Number of targets with unlimited scans available and which have not been assigned to any team's quota.

    number_used_credit_targets integerrequired

    Return number of targets that can spend credits.

    number_available_credit_targets integerrequired
    past_year_ultd_target_changes integerrequired

    Number of unlimited scans' target changes in the past year.

    max_yearly_ultd_target_changes integerrequired

    Maximum number of allowed unlimited scans' target changes in a year.

    next_allowed_ultd_target_change date-timenullablerequired

    Date time when unlimited scans' target changes are next allowed (if already at maximum).

    channel stringnullable

    Possible values: [self-service, assisted-sales, partners, resellers, null]

    Customer channel

    • self-service - Self Service
    • assisted-sales - Assisted Sales
    • partners - Partners
    • resellers - Resellers
Loading...