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

# List deposits

> Deposits observed on a ref, newest first. Requires a server key.

**/v1/standing-deposit-addresses/\{ref}/deposits**


## OpenAPI

````yaml https://orchestration.flashnet.xyz/openapi.json GET /v1/standing-deposit-addresses/{ref}/deposits
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/standing-deposit-addresses/{ref}/deposits:
    get:
      tags:
        - Standing Deposit Addresses
      summary: List deposits
      description: Deposits observed on a ref, newest first. Requires a server key.
      operationId: listStandingDeposits
      parameters:
        - schema:
            type: string
            minLength: 1
            maxLength: 128
          required: true
          name: ref
          in: path
        - schema:
            type: integer
            minimum: 1
            maximum: 200
          required: false
          name: limit
          in: query
        - schema:
            type: integer
            minimum: 0
          required: false
          name: offset
          in: query
      responses:
        '200':
          description: Observed deposits and their order linkage.
          content:
            application/json:
              schema:
                type: object
                properties:
                  deposits:
                    type: array
                    items:
                      $ref: '#/components/schemas/StandingDeposit'
                  nextOffset:
                    type:
                      - number
                      - 'null'
                required:
                  - deposits
                  - nextOffset
        '400':
          description: Error with a stable error.code; foreign customers return not_found.
        '401':
          description: Error with a stable error.code; foreign customers return not_found.
        '403':
          description: Error with a stable error.code; foreign customers return not_found.
        '404':
          description: Error with a stable error.code; foreign customers return not_found.
        '409':
          description: Error with a stable error.code; foreign customers return not_found.
        '503':
          description: Error with a stable error.code; foreign customers return not_found.
      security:
        - bearerAuth: []
components:
  schemas:
    StandingDeposit:
      type: object
      properties:
        id:
          type: string
          description: Deposit ID
        chain:
          type: string
          description: Deposit source chain
        asset:
          type: string
          description: >-
            Deposit asset: a listed asset's name, or any other token's address
            (lowercase 0x hex on EVM chains, the base58 mint on Solana)
        amount:
          type: string
          description: Detected deposit amount in smallest units
        sourceTxId:
          type: string
          description: Source transaction ID
        sourceTxIndex:
          type:
            - string
            - 'null'
          description: Source output index, when applicable
        senderAddress:
          type:
            - string
            - 'null'
          description: Observed sender address
        observedAt:
          type: string
          description: Deposit observation timestamp
        status:
          type: string
          description: >-
            Open set of processing statuses. Linked order status takes
            precedence; otherwise batch states held, refund_requested and
            refunded take precedence over the transfer materialization status.
        code:
          type:
            - string
            - 'null'
          description: >-
            Extensible processing or error code. When an order is linked, its
            error_code is returned even when null. Otherwise the batch
            error_code takes precedence over the transfer
            materialization_error_code. Values are not an exhaustive enum.
        batchId:
          type:
            - string
            - 'null'
          description: Assigned batch ID
        orderId:
          type:
            - string
            - 'null'
          description: Linked order ID
        quoteId:
          type:
            - string
            - 'null'
          description: Linked quote ID
        batchState:
          type:
            - string
            - 'null'
          enum:
            - preparing
            - held
            - committed
            - refund_requested
            - refunded
            - null
          description: Assigned batch state
        refundTxId:
          type:
            - string
            - 'null'
          description: Refund transaction ID
        zeroconfOffer:
          type:
            - object
            - 'null'
          properties:
            id:
              type: string
            status:
              type: string
              enum:
                - pending
                - accepted
                - declined
                - expired
                - superseded
            expiresAt:
              type: string
            depositSats:
              type: string
            feeSats:
              type: string
            creditSats:
              type: string
          required:
            - id
            - status
            - expiresAt
            - depositSats
            - feeSats
            - creditSats
      required:
        - id
        - chain
        - asset
        - amount
        - sourceTxId
        - sourceTxIndex
        - senderAddress
        - observedAt
        - status
        - code
        - batchId
        - orderId
        - quoteId
        - batchState
        - refundTxId
        - zeroconfOffer
  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.