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

# List wallet withdrawals



## OpenAPI

````yaml /openapi.yaml get /v1/wallets/{walletId}/withdrawals
openapi: 3.1.0
info:
  title: Onstacks Backend API
  version: 0.1.0
  summary: >-
    Public API contract for workspace wallet, transfer, provider routing, API
    key, and webhook flows.
servers:
  - url: https://api.onstacks.io
security: []
tags:
  - name: Health
  - name: Workspace
  - name: Wallets
  - name: Transfers
  - name: Corridors
  - name: Providers
  - name: Quotes
paths:
  /v1/wallets/{walletId}/withdrawals:
    get:
      tags:
        - Transfers
      summary: List wallet withdrawals
      parameters:
        - in: path
          name: walletId
          required: true
          schema:
            type: string
            format: uuid
        - $ref: '#/components/parameters/EnvironmentQuery'
      responses:
        '200':
          description: Wallet withdrawal list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletWithdrawalsResponse'
        '400':
          $ref: '#/components/responses/ValidationError'
        '401':
          $ref: '#/components/responses/Unauthorized'
      security:
        - apiKeyBearer: []
components:
  parameters:
    EnvironmentQuery:
      in: query
      name: environment
      description: >-
        Environment scope for environment-partitioned resources. Defaults to
        `sandbox` when omitted.
      required: false
      schema:
        $ref: '#/components/schemas/EnvironmentScope'
  schemas:
    WalletWithdrawalsResponse:
      type: object
      required:
        - data
        - error
        - request_id
      properties:
        data:
          type: object
          required:
            - items
          properties:
            items:
              type: array
              items:
                $ref: '#/components/schemas/TransferDetail'
        error:
          type: 'null'
        request_id:
          type: string
    EnvironmentScope:
      type: string
      enum:
        - sandbox
        - live
      default: sandbox
    TransferDetail:
      type: object
      required:
        - activity
      properties:
        activity:
          $ref: '#/components/schemas/Activity'
        approval_state:
          type: string
        blockops_withdrawal_id:
          type: string
        blockops_status:
          type: string
        provider_failure_reason:
          type: string
        provider_released_by_email:
          type: string
        provider_released_at:
          type: string
          format: date-time
        requested_by_email:
          type: string
        approved_by_email:
          type: string
        approved_at:
          type: string
          format: date-time
        rejected_by_email:
          type: string
        rejected_at:
          type: string
          format: date-time
        canceled_by_email:
          type: string
        canceled_at:
          type: string
          format: date-time
    ErrorEnvelope:
      type: object
      required:
        - data
        - error
        - request_id
      properties:
        data:
          type: 'null'
        error:
          $ref: '#/components/schemas/ApiError'
        request_id:
          type: string
    Activity:
      type: object
      required:
        - id
        - type
        - status
        - description
        - created_at
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
        status:
          type: string
        description:
          type: string
        network_code:
          type: string
        asset_symbol:
          type: string
        amount_base_units:
          type: string
        from_address:
          type: string
        to_address:
          type: string
        tx_hash:
          type: string
        tx_error:
          type: string
        blockops_withdrawal_id:
          type: string
        blockops_status:
          type: string
        provider_released_by_email:
          type: string
        provider_released_at:
          type: string
        created_at:
          type: string
          format: date-time
    ApiError:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
        message:
          type: string
        details:
          type: object
          additionalProperties: true
  responses:
    ValidationError:
      description: Request payload is invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Unauthorized:
      description: Caller is not authenticated
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    apiKeyBearer:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: 'Workspace API key. Send it as `Authorization: Bearer <api_key>`.'

````