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

# Create the Stripe billing customer

> Enqueues the creation of the Stripe customer of the account when it does not have one yet. Legacy Stripe billing only; accounts on the native catalog subscribe through the billing endpoints.



## OpenAPI

````yaml /openapi/application.json post /enterprise/api/v1/accounts/{account_id}/subscription
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}/subscription:
    parameters:
      - $ref: '#/components/parameters/account_id'
        schema:
          type: string
        example: sample
    post:
      tags:
        - Billing
      summary: Create the Stripe billing customer
      description: >-
        Enqueues the creation of the Stripe customer of the account when it does
        not have one yet. Legacy Stripe billing only; accounts on the native
        catalog subscribe through the billing endpoints.
      operationId: create-stripe-billing-customer
      responses:
        '204':
          description: Accepted. The customer is created in the background.
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Unauthorized
        '404':
          description: Account not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Resource not found
        '422':
          description: The account is not billed through the default provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_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:
    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.