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

# Poll a crypto customer's status

> Return the buyer's identity-verification progress.

The buyer's identity-verification progress. Poll it while a verification step is
on screen; it performs no writes, so polling is free.


## OpenAPI

````yaml api/openapi.json GET /v1/stripe/customer/{crypto_customer_id}
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/stripe/customer/{crypto_customer_id}:
    get:
      summary: Poll a Stripe crypto customer's status
      description: >-
        Reads the crypto customer's KYC and document-verification statuses (the
        two the SDK branches on) plus its provided fields — the same projection
        as the customer POST, but a pure read with no persistence. The SDK polls
        it while the verifying step is on screen.
      operationId: getStripeCustomerStatus
      parameters:
        - in: path
          name: crypto_customer_id
          required: true
          schema:
            minLength: 1
            type: string
        - in: query
          name: wallet
          required: true
          schema:
            pattern: ^0x[a-fA-F0-9]{40}$
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  id_document_status:
                    type: string
                  kyc_status:
                    type: string
                  provided_fields:
                    items:
                      type: string
                    type: array
                required:
                  - kyc_status
                  - id_document_status
                  - provided_fields
                type: object
          description: The customer's verification statuses.
        '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: resource_missing.'
        '429':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: 'Too Many Requests — `error.code` includes: rate_limited.'
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            Bad Gateway — an upstream dependency failed; the body carries the
            standard error envelope with a cause-specific `error.code`.
      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

````