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

# Get current user's customer



## OpenAPI

````yaml openapi/api-gateway.json GET /whoami/customer
openapi: 3.1.0
info:
  title: ax-api-gateway
  description: ''
  license:
    name: ''
  version: 17.9.1
servers:
  - url: https://gateway.architect.exchange/api
    description: Production
  - url: https://gateway.sandbox.architect.exchange/api
    description: Sandbox
security: []
tags:
  - name: api-gateway
    description: API gateway
paths:
  /whoami/customer:
    get:
      tags:
        - api-gateway
      operationId: whoami_customer
      responses:
        '200':
          description: The customer the current user belongs to
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetCustomerResponse'
        '404':
          description: The current user belongs to no customer
      security:
        - session_token: []
components:
  schemas:
    GetCustomerResponse:
      type: object
      description: >-
        A customer: the person or business that holds trading accounts.
        Onboarding

        and freezes apply to the customer. Orders are refused unless
        `is_onboarded`

        is true and `is_frozen` is false.
      required:
        - id
        - display_name
        - customer_type
        - is_onboarded
        - is_frozen
        - fiat_deposit_code
      properties:
        business_name:
          type:
            - string
            - 'null'
        customer_type:
          type: string
          description: '`individual` or `business`. More values may be added.'
        display_name:
          type: string
        doing_business_as:
          type:
            - string
            - 'null'
        fiat_deposit_code:
          type: string
          description: Reference code for fiat deposits into the customer's accounts.
        id:
          type: string
        is_frozen:
          type: boolean
        is_onboarded:
          type: boolean
  securitySchemes:
    session_token:
      type: http
      scheme: bearer
      description: User session token

````

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