> ## 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.

# Get the billing profile

> Returns the billing details of the account, plus whether any available gateway requires them and whether what is stored is already enough to check out. Requires the administrator role.



## OpenAPI

````yaml /openapi/application.json get /enterprise/api/v1/accounts/{account_id}/billing/profile
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/profile:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
    get:
      tags:
        - Billing
      summary: Get the billing profile
      description: >-
        Returns the billing details of the account, plus whether any available
        gateway requires them and whether what is stored is already enough to
        check out. Requires the administrator role.
      operationId: get-billing-profile
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/billing_profile'
              example:
                legal_name: Acme Atendimento LTDA
                email: financeiro@acme.example
                phone: '+5511998877665'
                country: BR
                tax_id: '12345678000199'
                tax_id_type: cnpj
                address:
                  street: Av. Paulista 1000
                  city: Sao Paulo
                  postal_code: 01310-100
                required: true
                complete: true
        '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_profile:
      type: object
      description: >-
        Billing details of the account, used to issue invoices and, for some
        gateways, to create the customer.
      properties:
        legal_name:
          type:
            - string
            - 'null'
        email:
          type:
            - string
            - 'null'
        phone:
          type:
            - string
            - 'null'
        country:
          type:
            - string
            - 'null'
          description: ISO 3166-1 alpha-2 country code.
          example: BR
        tax_id:
          type:
            - string
            - 'null'
        tax_id_type:
          type:
            - string
            - 'null'
          enum:
            - cpf
            - cnpj
            - other
            - null
        address:
          type: object
          description: Free-form address attributes.
          additionalProperties: true
        required:
          type: boolean
          description: Whether any available gateway requires the profile to be filled in.
        complete:
          type: boolean
          description: >-
            Whether the profile satisfies the requirements of the gateway of the
            account.
      example:
        legal_name: Acme Atendimento LTDA
        email: financeiro@acme.example
        phone: '+5511998877665'
        country: BR
        tax_id: '12345678000199'
        tax_id_type: cnpj
        address:
          street: Av. Paulista 1000
          city: Sao Paulo
          postal_code: 01310-100
        required: true
        complete: true
    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.