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

# Get the billing settings



## OpenAPI

````yaml get /v1/billing/settings
openapi: 3.1.0
info:
  title: Flextell API
  version: 0.0.1
  description: >-
    Flextell REST API referansı. Kimlik doğrulama, scope ve istek kuralları için
    API sekmesindeki rehberlere bakın.
servers:
  - url: https://app.flextell.ai/api
    description: Üretim
security:
  - oauth2: []
  - bearer: []
paths:
  /v1/billing/settings:
    get:
      tags:
        - Billing
        - BillingSettings
      summary: Get the billing settings
      operationId: billing.reachable.settings.show
      parameters:
        - name: X-Tenant
          in: header
          required: true
          description: >-
            Tenant identifier. Send the Tenant ID in the `X-Tenant` header to
            scope API requests to a specific tenant.
          schema:
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: string
                  data:
                    $ref: '#/components/schemas/TenantBillingSettingResource'
                required:
                  - success
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '403':
          $ref: '#/components/responses/AuthorizationException'
        '422':
          $ref: '#/components/responses/ValidationException'
components:
  schemas:
    TenantBillingSettingResource:
      type: object
      properties:
        tenant_id:
          type: integer
        billing_email:
          type:
            - string
            - 'null'
        legal_name_override:
          type:
            - string
            - 'null'
        tax_number_override:
          type:
            - string
            - 'null'
        tax_office_override:
          type:
            - string
            - 'null'
        effective_legal_name:
          type: string
        effective_tax_number:
          type:
            - string
            - 'null'
        effective_tax_office:
          type:
            - string
            - 'null'
        effective_billing_email:
          type:
            - string
            - 'null'
        billing_plan_code:
          type:
            - string
            - 'null'
        billing_plan_name:
          type: string
        billing_day:
          type:
            - integer
            - 'null'
        billing_started_at:
          type:
            - string
            - 'null'
        payment_term_days:
          type: integer
        is_billing_enabled:
          type: boolean
        extra_seats:
          type: integer
        plan_max_users:
          type:
            - integer
            - 'null'
          description: Base plan user limit; null when no plan is assigned.
        max_users_override:
          type:
            - integer
            - 'null'
          description: >-
            Server-managed override; null when the plan or tenant default
            applies.
        effective_max_users:
          type: string
          description: >-
            Effective user limit including extra seats; unconfigured tenants use
            tenant.max_users.
        storage_hard_limit_bytes:
          type:
            - integer
            - 'null'
        overage_alert_amount:
          type:
            - string
            - 'null'
      required:
        - tenant_id
        - billing_email
        - legal_name_override
        - tax_number_override
        - tax_office_override
        - effective_legal_name
        - effective_tax_number
        - effective_tax_office
        - effective_billing_email
        - billing_plan_code
        - billing_plan_name
        - billing_day
        - billing_started_at
        - payment_term_days
        - is_billing_enabled
        - extra_seats
        - plan_max_users
        - max_users_override
        - effective_max_users
        - storage_hard_limit_bytes
        - overage_alert_amount
      title: TenantBillingSettingResource
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    AuthorizationException:
      description: Authorization error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://dev.flextell.ai/oauth/authorize
          tokenUrl: https://dev.flextell.ai/oauth/token
          scopes:
            '*': all
    bearer:
      type: http
      scheme: bearer

````

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