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

# Get an incoming stablecoin deposit

> Returns one provider-created stablecoin deposit with asset/network, transaction reference, finality, amounts, status, next action, and linked wallet movement.

## What this endpoint does

Returns one provider-created stablecoin deposit with asset/network, transaction reference, finality, amounts, status, next action, and linked wallet movement.

## When to use it

Use it after a deposit webhook, during blockchain reconciliation, or when a detected transaction has not become available.

## Before you call

Authenticate with `treasury:read` and pass a deposit ID owned by the same tenant account.

## Money and balance effect

This is a read-only request. It does not reserve, debit, credit, or settle money.

## States and completion

Follow detected, confirming, credited, held, and returned. A transaction hash is not enough: only a credited deposit with finality can increase spendable balance.

## Safe retries

GET requests are read-only and may be retried with normal exponential backoff. Do not send an `Idempotency-Key`.

Read [Funding and balances](/treasury/funding-and-balances) for the complete workflow.


## OpenAPI

````yaml /api-reference/openapi.json get /v1/treasury/deposits/{id}
openapi: 3.0.0
info:
  title: Wayex API
  description: >-
    Wayex APIs for direct customer payment routes and isolated, prefunded
    Treasury accounts. Each API key is bound to one tenant account and its own
    wallet, settings, webhooks, and reporting.
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.sandbox.wayex.com
    description: Sandbox integration environment
security:
  - Bearer: []
  - ApiKey: []
tags:
  - name: Treasury
    description: >-
      Prefunded AUD and stablecoin wallets for one isolated tenant account.
      Fund, pay, convert, withdraw, track, and reconcile without selecting
      another account.
  - name: Customers
    description: >-
      Onboard end customers, run verification, and manage each customer's
      entitlements.
  - name: Payment routes
    description: >-
      Standing deposit instructions per customer. When a customer funds a route,
      Wayex auto-converts at the live rate and pays out/sends — no quote, no
      lock.
  - name: Transfers
    description: >-
      Read the conversion records produced when customers fund payment routes —
      the live activity feed and per-conversion lifecycle timeline.
  - name: Rates
    description: >-
      The live indicative AUD↔stablecoin rate right now — the all-in rate Wayex
      quotes. Indicative only; the binding price is struck when a route's funds
      land.
  - name: Revenue
    description: Your developer-fee revenue over time.
  - name: Invoices
    description: >-
      Your monthly invoices — Wayex platform fees due, net of your accrued
      developer-fee credit.
  - name: Webhooks
    description: Subscribe to HMAC-signed event webhooks and inspect deliveries.
  - name: API keys
    description: Create, list, and rotate API keys for programmatic access.
  - name: Fees
    description: >-
      Configure your developer fee — the markup withheld from each conversion
      and credited against your monthly invoice.
  - name: Invitations
    description: Accept a team invitation and activate your account.
paths:
  /v1/treasury/deposits/{id}:
    get:
      tags:
        - Treasury
      summary: Get an incoming stablecoin deposit
      description: >-
        Returns one provider-created stablecoin deposit with asset/network,
        transaction reference, finality, amounts, status, next action, and
        linked wallet movement. Use it after a deposit webhook, during
        blockchain reconciliation, or when a detected transaction has not become
        available.
      operationId: TreasuryController2_deposit_v1
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    minLength: 1
                  clientId:
                    type: string
                    minLength: 1
                  fundingInstrumentId:
                    type: string
                    minLength: 1
                  status:
                    type: string
                    enum:
                      - detected
                      - confirming
                      - credited
                      - held
                      - returned
                  gross:
                    type: object
                    properties:
                      amount:
                        type: string
                        pattern: ^\d+(\.\d+)?$
                      currency:
                        type: string
                        enum:
                          - AUD
                          - USDC
                          - USDT
                      network:
                        type: string
                        enum:
                          - ethereum
                          - base
                          - arbitrum
                          - optimism
                          - polygon
                          - bsc
                          - avalanche
                          - solana
                          - tron
                    required:
                      - amount
                      - currency
                  inboundFee:
                    type: object
                    properties:
                      amount:
                        type: string
                        pattern: ^\d+(\.\d+)?$
                      currency:
                        type: string
                        enum:
                          - AUD
                          - USDC
                          - USDT
                      network:
                        type: string
                        enum:
                          - ethereum
                          - base
                          - arbitrum
                          - optimism
                          - polygon
                          - bsc
                          - avalanche
                          - solana
                          - tron
                    required:
                      - amount
                      - currency
                  netCredit:
                    type: object
                    properties:
                      amount:
                        type: string
                        pattern: ^\d+(\.\d+)?$
                      currency:
                        type: string
                        enum:
                          - AUD
                          - USDC
                          - USDT
                      network:
                        type: string
                        enum:
                          - ethereum
                          - base
                          - arbitrum
                          - optimism
                          - polygon
                          - bsc
                          - avalanche
                          - solana
                          - tron
                    required:
                      - amount
                      - currency
                  providerReference:
                    type: string
                    minLength: 1
                  externalReference:
                    type: string
                    minLength: 1
                  downstreamReference:
                    type: string
                    minLength: 1
                  movementId:
                    type: string
                    minLength: 1
                  reason:
                    type: string
                    minLength: 1
                  nextAction:
                    type: string
                    enum:
                      - none
                      - wait_for_confirmation
                      - contact_support
                  occurredAt:
                    type: string
                    format: date-time
                  creditedAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  type:
                    type: string
                    enum:
                      - stable_deposit
                  asset:
                    type: string
                    enum:
                      - USDC
                      - USDT
                  network:
                    type: string
                    enum:
                      - ethereum
                      - base
                      - arbitrum
                      - optimism
                      - polygon
                      - bsc
                      - avalanche
                      - solana
                      - tron
                  transactionHash:
                    type: string
                    minLength: 1
                  finalityReached:
                    type: boolean
                required:
                  - id
                  - clientId
                  - fundingInstrumentId
                  - status
                  - gross
                  - inboundFee
                  - netCredit
                  - providerReference
                  - nextAction
                  - occurredAt
                  - updatedAt
                  - type
                  - asset
                  - network
                  - finalityReached
      security:
        - Bearer: []
        - ApiKey: []
components:
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      bearerFormat: Wayex API key
      description: 'Send the same Wayex API key as `Authorization: Bearer <key>`.'
    ApiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: A Wayex API key. Use a secret key for write operations.

````