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

# Simulate cash-in auth commit

> Commit a previously-authorized simulated cash-in transaction (sandbox only).



## OpenAPI

````yaml /api-reference/openapi.yaml post /cash-ins/simulate/auth-commit
openapi: 3.0.3
info:
  title: Polygon OMS Public API
  version: v26.05.28-0001
  description: >-
    Unified API for moving money between crypto and fiat. Three ways to move
    money: Transactions (instant, wallet or card funded, including Cash-In for
    in-person cash deposits), Deposit Addresses (reusable crypto deposit
    configurations), and Virtual Accounts (dedicated bank accounts that
    auto-convert fiat to crypto). Standard transactions follow a two-step flow:
    create a Quote (pricing), then create a Transaction (execution). Cash-in
    codes generate a one-time deposit code for in-person cash deposits at retail
    locations.
  contact:
    name: Polygon OMS
    url: https://oms.polygon.technology
servers:
  - url: https://sandbox-api.polygon.technology/v0.9
    description: Sandbox
  - url: https://api.polygon.technology/v0.9
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Auth
    description: Authentication via FrontEgg
  - name: Customers
    description: Customer management and KYC
  - name: Customer
  - name: Wallet
  - name: Quote
  - name: Transaction
  - name: Webhook
  - name: CashIns
  - name: CashLocation
  - name: Sandbox
  - name: Simulation
paths:
  /cash-ins/simulate/auth-commit:
    post:
      tags:
        - Sandbox
      summary: Simulate cash-in auth commit
      description: >-
        Commit a previously-authorized simulated cash-in transaction (sandbox
        only).
      operationId: simulateAuthCommit
      parameters:
        - $ref: '#/components/parameters/IdempotencyKeyHeader'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SimulateAuthCommitRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimulateAuthCommitResponse'
          description: The request has succeeded.
components:
  parameters:
    IdempotencyKeyHeader:
      description: >-
        Required on POST and PUT requests. Use a unique value per logical
        mutation attempt, for example a UUID.
      in: header
      name: Idempotency-Key
      required: true
      schema:
        type: string
  schemas:
    SimulateAuthCommitRequest:
      properties:
        accountNumber:
          type: string
        accountReferenceNumber:
          type: string
        amount:
          $ref: '#/components/schemas/decimalString'
        customerId:
          description: >-
            Optional customer public ID (OMSX TypeID, cst_…). When provided, a

            minimal `transactions` row is synthesised on successful commit so
            the

            sandbox buy shows up in the transactions list. Temporary - the real

            path will be webhook-driven once the cash-in → transaction bridge
            lands.
          type: string
        description:
          type: string
        originalConfirmationId:
          type: string
      required:
        - accountNumber
        - accountReferenceNumber
        - amount
        - originalConfirmationId
      type: object
    SimulateAuthCommitResponse:
      properties:
        authorizedAmount:
          $ref: '#/components/schemas/decimalString'
        confirmationId:
          type: string
        responseCode:
          type: string
        responseId:
          type: string
        responseText:
          type: string
      required:
        - responseCode
        - responseText
        - confirmationId
        - authorizedAmount
        - responseId
      type: object
    decimalString:
      description: >-
        Wire-safe decimal string for financial float values (USD amounts,
        percentages).
      type: string
      x-go-type: decimal.Decimal
      x-go-type-import:
        path: github.com/shopspring/decimal
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Token from POST /auth/token

````