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

# Get a single deposit by id

> Returns one of the authenticated client's deposits by its stable id, in the same item shape as `GET /deposits`. Scoped to the caller's tenant: an unknown id and another tenant's id are both a 404.



## OpenAPI

````yaml https://raw.githubusercontent.com/rhinestonewtf/openapi/refs/heads/main/deposit-service.json get /deposits/{id}
openapi: 3.1.0
info:
  title: Deposit Service API
  version: 1.0.0
  description: >-
    Cross-chain deposit processing service with automatic token bridging and gas
    sponsorship
servers:
  - url: https://v1.orchestrator.rhinestone.dev/deposit-processor
security: []
paths:
  /deposits/{id}:
    get:
      tags:
        - Utilities
      summary: Get a single deposit by id
      description: >-
        Returns one of the authenticated client's deposits by its stable id, in
        the same item shape as `GET /deposits`. Scoped to the caller's tenant:
        an unknown id and another tenant's id are both a 404.
      parameters:
        - schema:
            type: string
            pattern: ^\d+$
            description: Deposit id. Returned by GET /deposits.
            example: '12345'
          required: true
          description: Deposit id. Returned by GET /deposits.
          name: id
          in: path
        - schema:
            type: string
            description: API key for authentication (omit when sending Authorization)
            example: your-api-key
          required: false
          description: API key for authentication (omit when sending Authorization)
          name: x-api-key
          in: header
        - schema:
            type: string
            description: >-
              Bearer platform token (e.g. forwarded by user-service). Takes
              precedence over `x-api-key` when both are present.
            example: Bearer eyJhbGciOi...
          required: false
          description: >-
            Bearer platform token (e.g. forwarded by user-service). Takes
            precedence over `x-api-key` when both are present.
          name: authorization
          in: header
      responses:
        '200':
          description: The deposit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DepositListItem'
        '400':
          description: Invalid deposit id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required, or invalid API key / platform token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: API key lacks required deposits scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Deposit not found or not owned by the caller
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    DepositListItem:
      type: object
      properties:
        id:
          type: string
          description: Deposit id. Pass to GET /deposits/{id}/quotes.
          example: '12345'
        chain:
          type: string
        txHash:
          type: string
        token:
          type: string
        tokenSymbol:
          type:
            - string
            - 'null'
          description: >-
            Display symbol for `token`, resolved at read time. Null when the
            token could not be resolved — render the raw address.
          example: USDC
        tokenDecimals:
          type:
            - integer
            - 'null'
          description: >-
            Decimals for `token`, i.e. what makes `amount` and `sourceAmount`
            renderable — both are raw base units. Null when unresolved; render
            the raw integer rather than guessing 18.
          example: 6
        targetTokenSymbol:
          type:
            - string
            - 'null'
          description: Display symbol for `targetToken`. Null when unresolved.
          example: USDC
        targetTokenDecimals:
          type:
            - integer
            - 'null'
          description: >-
            Decimals for `targetToken`, applying to `destinationAmount`. Null
            when unresolved.
          example: 6
        amount:
          type: string
          pattern: ^\d+$
          description: Numeric string representing a bigint value
          example: '1000000000000000000'
        sender:
          type: string
        recipient:
          type: string
          description: >-
            Destination-chain address that receives the funds. Falls back to the
            smart account for EVM/HyperCore/Tron when no distinct recipient is
            configured; for Solana it is the EVM recipient, never the internal
            swig.
        depositAddress:
          type: string
          description: >-
            Source-chain address that received the deposit (EVM smart account,
            Solana wallet PDA, or Tron deposit address).
        targetChain:
          type: string
        targetToken:
          type: string
        status:
          type: string
          enum:
            - pending
            - processing
            - completed
            - failed
            - rejected
            - ignored
            - expecting_refund
            - refunded
            - delayed
            - reconciliation_required
        sourceTxHash:
          type:
            - string
            - 'null'
        destinationTxHash:
          type:
            - string
            - 'null'
        sourceAmount:
          type:
            - string
            - 'null'
          pattern: ^\d+$
          description: Numeric string representing a bigint value
          example: '1000000000000000000'
        destinationAmount:
          type:
            - string
            - 'null'
          pattern: ^\d+$
          description: Numeric string representing a bigint value
          example: '1000000000000000000'
        sponsoredGasUsd:
          type: string
          description: >-
            USD value of gas absorbed for the user. Absent when no sponsorship
            accounting exists; "0" means nothing was sponsored.
          example: '0.42'
        sponsoredBridgeFeeUsd:
          type: string
          description: >-
            USD value of the bridge fee absorbed for the user. Excludes app fees
            and sponsor surcharges. Absent when no accounting exists; "0" means
            nothing was sponsored.
          example: '0.13'
        createdAt:
          type: string
        completedAt:
          type:
            - string
            - 'null'
        errorCode:
          type:
            - string
            - 'null'
        retryable:
          type: boolean
        isSpam:
          type: boolean
      required:
        - id
        - chain
        - txHash
        - token
        - tokenSymbol
        - tokenDecimals
        - targetTokenSymbol
        - targetTokenDecimals
        - amount
        - sender
        - recipient
        - depositAddress
        - targetChain
        - targetToken
        - status
        - sourceTxHash
        - destinationTxHash
        - sourceAmount
        - destinationAmount
        - createdAt
        - completedAt
        - errorCode
        - retryable
        - isSpam
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        details:
          type: array
          items:
            type: object
            properties:
              message:
                type: string
              path:
                type: array
                items:
                  anyOf:
                    - type: string
                    - type: number
              code:
                type: string
            required:
              - message
      required:
        - error

````