> ## 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 a Stripe onramp order

> Return the settlement status of one onramp order.

The settlement status of one onramp order, scoped to the wallet in the path.
Poll it after checkout until the order reaches a terminal state.


## OpenAPI

````yaml api/openapi.json GET /v1/stripe/order/{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/order/{id}:
    get:
      summary: Get a Stripe onramp order
      description: >-
        Returns the settlement status of one onramp order, scoped to the wallet
        in the path. Poll it after checkout until the order reaches a terminal
        state — `fulfillment_complete`, `rejected`, or `error`.
      operationId: getStripeOrder
      parameters:
        - in: path
          name: id
          required: true
          schema:
            format: uuid
            pattern: >-
              ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
            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:
                  address:
                    pattern: ^0x[a-fA-F0-9]{40}$
                    type: string
                  created_at:
                    format: date-time
                    type: string
                  destination_amount:
                    type:
                      - string
                      - 'null'
                  destination_chain:
                    description: >-
                      Chain id. Currently 1, 8453, 999, 1337, 4326, 143, 137,
                      42161 — additive; tolerate unknown values.
                    maximum: 9007199254740991
                    minimum: -9007199254740991
                    type: integer
                  destination_currency:
                    type: string
                  destination_network:
                    type: string
                  id:
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                    type: string
                  source_amount:
                    type:
                      - string
                      - 'null'
                  source_currency:
                    type: string
                  status:
                    enum:
                      - initialized
                      - requires_payment
                      - fulfillment_processing
                      - fulfillment_complete
                      - rejected
                      - error
                    type: string
                required:
                  - id
                  - status
                  - address
                  - source_currency
                  - destination_currency
                  - destination_network
                  - destination_chain
                  - source_amount
                  - destination_amount
                  - created_at
                type: object
          description: The onramp order.
        '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: order_not_found.'
        '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

````