> ## 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 AI Action packages

> Returns the one-off AI Action packages sold in the billing currency of the account. Requires the administrator role.



## OpenAPI

````yaml /openapi/application.json get /enterprise/api/v1/accounts/{account_id}/billing/credit_packages
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/credit_packages:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
    get:
      tags:
        - Billing
      summary: List AI Action packages
      description: >-
        Returns the one-off AI Action packages sold in the billing currency of
        the account. Requires the administrator role.
      operationId: list-billing-credit-packages
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/billing_credit_package'
              example:
                - id: 2
                  name: 5k AI Actions
                  ai_actions: 5000
                  validity_days: 180
                  amount_cents: 4000
                  currency: USD
        '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
      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_credit_package:
      type: object
      description: A one-off package of AI Actions, priced in the account currency.
      properties:
        id:
          type: integer
        name:
          type: string
        ai_actions:
          type: integer
          description: AI Actions granted when the package is paid.
        validity_days:
          type:
            - integer
            - 'null'
          description: Days until the granted credits expire. Null when they do not expire.
        amount_cents:
          type: integer
        currency:
          type: string
      example:
        id: 2
        name: 5k AI Actions
        ai_actions: 5000
        validity_days: 180
        amount_cents: 4000
        currency: USD
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    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.