Skip to main content

Retrieve Subscription Information

GET 

/account/

deprecated

This endpoint has been deprecated and may be replaced or removed in future versions of the API.

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

Responses

Schema
    status stringrequired

    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
    plan objectrequired
    id stringrequired

    Possible values: <= 255 characters

    Plan identifier.

    name stringrequired

    Possible values: <= 50 characters

    Plan name.

    family stringnullablerequired

    Plan family.

    description stringrequired

    Possible values: <= 500 characters

    Plan description.

    is_trial booleanrequired

    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 integerrequired

    Possible values: >= -2147483648 and <= 2147483647

    Plan billing is done every N units.

    period_unit stringrequired

    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 stringrequired

    Possible values: <= 50 characters

    price integerrequired

    Possible values: >= -2147483648 and <= 2147483647

    currency_code stringrequired

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

    • USD - USD
    • EUR - EUR
    • GBP - GBP
    pack_amount int64required

    Possible values: <= 4294967295

    discount integerrequired
    savings integerrequired
  • ]
  • discount integerrequired
    savings integerrequired
    tiers objectnullable
    property name* anynullablerequired
    plan_target_quantity integerrequired

    Subscribed target in account.

    pool_size integerrequired

    Subscribed pool size.

    auto_collection booleanrequired

    Auto-collection enabled.

    next_billing_at date-timenullablerequired

    Date and time for next billing cycle.

    next_billing_amount int64required

    Possible values: <= 4294967295

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

    trial_end date-timenullablerequired

    Date and time the trial period ends.

    balance integerrequired

    Possible values: >= -2147483648 and <= 2147483647

    Credit in clients account in cents.

    balance_currency_code stringrequired

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

    Currency unit for balance.

    • USD - USD
    • EUR - EUR
    • GBP - GBP
    has_used_trial booleanrequired
    heroku booleanrequired

    Heroku only account.

    plan_amount int64required

    Possible values: <= 4294967295

    Plan cost in cents.

    available_slots integernullablerequired

    Number of free slots of targets with unlimited scans.
    Calculated for targets with unlimited scans as follows:
    Free slots = Account slots - Slots in use - Slots reserved for teams

Loading...