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

# Submit deposit proof

> Attach a deposit transaction to a quote when automatic detection missed it. Returns the existing order if one exists. Hermod screens newly created orders and verified deposit senders; in enforcement mode a hit, invalid subject or missing address evidence holds the admitted order with awaiting_approval status for operator review. Hermod service failures and unverified chain coverage log and continue. Log-only mode records the result without a Hermod hold. A screening hold never initiates a refund.

**/v1/orchestration/submit**


## OpenAPI

````yaml https://orchestration.flashnet.xyz/openapi.json POST /v1/orchestration/submit
openapi: 3.1.0
info:
  title: Flashnet Orchestrator API
  version: 0.1.0
  description: >-
    Partner API for quotes, orders, standing deposits, webhooks, and affiliates.
    Operations marked x-excluded are omitted from the documentation navigation;
    internal, pay-link, SSE, and provider-integration routes are outside this
    registry.
servers:
  - url: https://orchestration.flashnet.xyz
security: []
tags:
  - name: Orchestration
    description: >-
      Routes, limits, estimates, quotes, orders, onramp, and ZeroConf decisions
      for one-off swaps.
  - name: Standing Deposit Addresses
    description: >-
      Permanent per-customer deposit addresses bound to one immutable conversion
      instruction.
  - name: Webhooks
    description: >-
      Registration of HTTPS endpoints for order status events and recovery
      events.
  - name: Affiliates
    description: Registered fee recipients, their accrued balances, and claims.
  - name: Accumulation Addresses
    description: >-
      Legacy reusable addresses that convert one source asset into Spark BTC or
      USDB.
  - name: Liquidations
    description: >-
      Legacy Bitcoin L1 deposit addresses that convert each output to a
      configured destination.
  - name: System
  - name: Explorer
  - name: Dashboard
  - name: Affiliate Dashboard
paths:
  /v1/orchestration/submit:
    post:
      tags:
        - Orchestration
      summary: Submit deposit proof
      description: >-
        Attach a deposit transaction to a quote when automatic detection missed
        it. For shielded quotes, submit is only an authenticated status lookup:
        verified private receipt publication must already bind the order,
        otherwise 409 shielded_receipt_pending is returned. A caller-supplied
        transaction hash never credits a shielded deposit. Returns the existing
        order if one exists. New directly controlled standard EVM ERC-20 orders
        require a verified positive deposit; pending or unavailable proof
        returns 503 without an orderId. Retry the same body and idempotency key
        after Retry-After seconds. Positive underpayments remain subject to the
        worker's amount and delivery-floor checks. Terminal order replay does
        not restart execution. Hermod screens newly created orders and verified
        deposit senders; in enforcement mode a hit, invalid subject or missing
        address evidence holds the admitted order with awaiting_approval status
        for operator review. Hermod service failures and unverified chain
        coverage log and continue. Log-only mode records the result without a
        Hermod hold. A screening hold never initiates a refund.
      operationId: postV1OrchestrationSubmit
      parameters:
        - schema:
            type: string
            minLength: 1
          required: true
          name: X-Idempotency-Key
          in: header
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrchestrationSubmitRequest'
      responses:
        '200':
          description: Order created or replayed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrchestrationSubmitResponse'
              examples:
                success:
                  summary: Deposit awaiting confirmation
                  value:
                    orderId: ord_b91bbf90-42dc-4fe3-9b15-1d2c7e19cce6
                    status: confirming
        '400':
          description: >-
            Invalid request or a transaction without a positive matching deposit
            (`xchain_deposit_mismatch`).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: >-
            Rate limited (`rate_limited`); see the [rate-limits
            guide](/api/rate-limits). Retry after Retry-After seconds when
            present (per-key limiter only), otherwise at X-RateLimit-Reset, an
            absolute epoch timestamp in milliseconds; both limiters also return
            X-RateLimit-Limit and X-RateLimit-Remaining.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: >-
            Deposit is not yet confirmed (`xchain_deposit_pending`) or
            verification is unavailable
            (`xchain_deposit_verification_unavailable`). Unverified deposits do
            not create an order. A retry may also reconcile an already funded
            order after interrupted materialization. Retry with the same body
            and idempotency key after Retry-After seconds; these responses are
            not cached.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    OrchestrationSubmitRequest:
      type: object
      properties:
        quoteId:
          type: string
          minLength: 1
        txHash:
          type: string
          minLength: 1
          description: >-
            Source transaction reference; native Hedera transfers require their
            native transaction ID.
        sourceAddress:
          type: string
          minLength: 1
          description: >-
            Expected source-chain sender; a verified mismatch pauses the order
            for review.
        sparkTxHash:
          type: string
          minLength: 1
        sourceSparkAddress:
          type: string
          minLength: 1
          description: Expected Spark sender address; sanctioned addresses are rejected.
        bitcoinTxid:
          type: string
          minLength: 1
        bitcoinVout:
          type: integer
          minimum: 0
        lightningReceiveRequestId:
          type: string
          minLength: 1
      required:
        - quoteId
      description: >-
        Source-specific deposit references; unknown top-level fields are
        ignored.
    OrchestrationSubmitResponse:
      type: object
      properties:
        orderId:
          type: string
        status:
          type: string
          description: >-
            Partner-visible order status. Internal paused orders are reported as
            processing.
      required:
        - orderId
        - status
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
      required:
        - error
      additionalProperties: false
    ErrorDetail:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Partner API key in the form `Authorization: Bearer fn_...`.'

````

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