> ## Documentation Index
> Fetch the complete documentation index at: https://docsapi.wiseapp360.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List available add-ons

> Returns the add-ons the current plan allows, priced in the currency and interval of the subscription, with the quantity already active and the maximum the plan permits. Returns an empty list when the account has no subscription. Requires the administrator role.



## OpenAPI

````yaml /openapi/application.json get /enterprise/api/v1/accounts/{account_id}/billing/addons
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /enterprise/api/v1/accounts/{account_id}/billing/addons:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
    get:
      tags:
        - Billing
      summary: List available add-ons
      description: >-
        Returns the add-ons the current plan allows, priced in the currency and
        interval of the subscription, with the quantity already active and the
        maximum the plan permits. Returns an empty list when the account has no
        subscription. Requires the administrator role.
      operationId: list-billing-addons
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/billing_addon'
              example:
                - id: 7
                  slug: extra_agents
                  name: Extra agents
                  description: One more agent seat on top of the plan.
                  kind: agent
                  billing_type: recurring
                  feature: null
                  unit_quantity: 1
                  unit_amount_cents: 1500
                  currency: USD
                  interval: month
                  quantity: 3
                  scheduled_quantity: null
                  max_quantity: 20
        '401':
          description: Unauthorized. The user is not an administrator of the account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Unauthorized
        '404':
          description: >-
            Native billing is not enabled on this installation, or the account
            was not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Resource not found
        '422':
          description: >-
            The account is billed through Shopify, where add-ons are managed
            outside the API.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/billing_error'
              example:
                message: Validation failed
                attributes:
                  - name cannot be blank
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
  schemas:
    billing_addon:
      type: object
      description: >-
        An add-on available for the current plan, priced in the subscription
        currency and interval.
      properties:
        id:
          type: integer
        slug:
          type: string
          description: Key used in the `items` payload when updating add-ons.
        name:
          type: string
        description:
          type: string
        kind:
          type: string
          enum:
            - agent
            - inbox
            - feature
            - custom
          description: >-
            `agent` and `inbox` raise that limit, `feature` turns `feature` on
            while subscribed (one unit at most, hidden on plans that already
            include it) and `custom` is a service the operator delivers.
        billing_type:
          type: string
          enum:
            - recurring
            - one_time
          description: >-
            `one_time` add-ons (only `custom`) are bought with a single payment
            through the purchase endpoint and priced with the `one_time`
            interval; the rest are charged with the subscription.
        feature:
          type:
            - string
            - 'null'
          description: Account feature a `feature` add-on turns on.
        scope:
          type: string
          enum:
            - account
            - inbox
          description: >-
            `inbox` (only for `waha_voice_calls`) sells the feature per inbox:
            each unit turns it on in one inbox. `account` switches it on for the
            whole account.
        includes_inbox:
          type: boolean
          description: >-
            Only for WhatsApp provider features (`whatsapp_waha`,
            `whatsapp_evolution`, `whatsapp_uazapi`): each unit adds one inbox
            that only that provider can use, on top of the plan limit.
        unit_quantity:
          type: integer
          description: How much of the resource one unit of the add-on grants.
        unit_amount_cents:
          type: integer
        currency:
          type: string
        interval:
          type: string
          enum:
            - month
            - semester
            - year
            - one_time
        quantity:
          type: integer
          description: Units currently active on the subscription.
        scheduled_quantity:
          type:
            - integer
            - 'null'
          description: >-
            Units that take effect at the end of the paid period, when a
            decrease was requested.
        purchasable:
          type: boolean
          description: >-
            False for an add-on the account holds but can no longer buy
            (deactivated, left out of the plan, its feature granted another
            way): it is listed only so it can be reduced, and `max_quantity` is
            the current quantity.
        in_use:
          type:
            - integer
            - 'null'
          description: >-
            For add-ons bought per inbox or with inboxes, the units in use now.
            Null for the rest.
        max_quantity:
          type:
            - integer
            - 'null'
          description: Maximum allowed by the plan. Null when unlimited.
      example:
        id: 7
        slug: extra_agents
        name: Extra agents
        description: One more agent seat on top of the plan.
        kind: agent
        billing_type: recurring
        feature: null
        unit_quantity: 1
        unit_amount_cents: 1500
        currency: USD
        interval: month
        quantity: 3
        scheduled_quantity: null
        max_quantity: 20
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    billing_error:
      type: object
      description: >-
        A billing error, with a stable machine-readable code next to the
        translated message.
      properties:
        error:
          type: string
          description: Message already translated to the locale of the account.
        code:
          type: string
          enum:
            - addon_not_available
            - addon_max_exceeded
            - invalid_quantity
            - billing_profile_required
            - provider_action_unavailable
            - price_unavailable
            - gateway_unavailable
            - subscription_required
            - cancellation_not_scheduled
            - payment_refused
            - invalid_profile
            - gateway_error
            - invalid_record
            - invalid_source
            - invalid_date
            - parameter_missing
      example:
        error: An active subscription is required.
        code: subscription_required
    request_error:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.