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

# Get onboarding status

> Return the bank-onboarding status for a wallet.

Where the wallet stands in bank onboarding: whether the registration form is
filled, the terms of service are accepted, and how far identity verification
has got. Poll it while a verification flow is on screen. Returns 404 until the
wallet has been registered.


## OpenAPI

````yaml api/openapi.json GET /v1/virtual-accounts/status
openapi: 3.1.0
info:
  description: Fiat-to-USDC onramp API. The URL prefix (`/v1`) is the version contract.
  license:
    identifier: LicenseRef-Proprietary
    name: Proprietary
  title: Calm API
  version: v1
servers:
  - description: Production
    url: https://api.calmtreasury.xyz
  - description: Sandbox
    url: https://api.sandbox.calmtreasury.xyz
security: []
paths:
  /v1/virtual-accounts/status:
    get:
      summary: Get onboarding status
      description: >-
        Returns the bank-onboarding facts for a wallet: verification status,
        terms acceptance, and event timestamps. 404 until the wallet has been
        through `POST /v1/virtual-accounts/register`.
      operationId: getVirtualAccountStatus
      parameters:
        - in: query
          name: wallet
          required: true
          schema:
            pattern: ^0x[a-fA-F0-9]{40}$
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  created_at:
                    format: date-time
                    type: string
                  form_filled_at:
                    format: date-time
                    type:
                      - string
                      - 'null'
                  has_accepted_terms_of_service:
                    type: boolean
                  identity_verification_status:
                    enum:
                      - not_started
                      - incomplete
                      - awaiting_questionnaire
                      - awaiting_ubo
                      - under_review
                      - active
                      - rejected
                      - paused
                      - offboarded
                    type: string
                  wallet:
                    pattern: ^0x[a-fA-F0-9]{40}$
                    type: string
                required:
                  - wallet
                  - identity_verification_status
                  - has_accepted_terms_of_service
                  - form_filled_at
                  - created_at
                type: object
          description: Wallet state.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            Bad Request — `error.code` includes: publishable_key_missing,
            validation_error.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: 'Unauthorized — `error.code` includes: invalid_publishable_key.'
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: 'Forbidden — `error.code` includes: origin_not_allowed.'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: 'Not Found — `error.code` includes: customer_not_registered.'
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: 'Too Many Requests — `error.code` includes: rate_limited.'
      security:
        - publishableKey: []
components:
  schemas:
    Error:
      properties:
        error:
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
  securitySchemes:
    publishableKey:
      description: Publishable key identifying the calling app.
      in: header
      name: x-calm-publishable-key
      type: apiKey

````