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

# Get hosted venue withdrawal

> Returns Agg's persisted state for one owned hosted withdrawal. This read never submits or retries a provider request and does not infer finality from an uncorrelated balance or ledger entry.



## OpenAPI

````yaml /openapi/openapi.json get /users/me/venue-accounts/{venue}/withdrawals/{withdrawalId}
openapi: 3.0.2
info:
  title: AGG API
  version: 1.0.0
  description: >-
    Prediction market aggregator REST API — authentication, users, venue events,
    venue markets, orderbooks, charts, and execution workflows.
servers:
  - url: https://api.agg.market
    description: Production
  - url: https://api.staging.agg.market
    description: Staging
security: []
paths:
  /users/me/venue-accounts/{venue}/withdrawals/{withdrawalId}:
    get:
      tags:
        - Users
      summary: Get hosted venue withdrawal
      description: >-
        Returns Agg's persisted state for one owned hosted withdrawal. This read
        never submits or retries a provider request and does not infer finality
        from an uncorrelated balance or ledger entry.
      operationId: getHostedVenueWithdrawal
      parameters:
        - name: venue
          in: path
          required: true
          schema:
            type: string
        - name: withdrawalId
          in: path
          required: true
          schema:
            type: string
        - name: mode
          in: query
          required: false
          schema:
            type: string
            enum:
              - live
              - paper
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                additionalProperties: false
                type: object
                required:
                  - id
                  - venue
                  - accountId
                  - environment
                  - asset
                  - decimals
                  - network
                  - amountRaw
                  - destinationAddress
                  - status
                  - createdAt
                  - updatedAt
                properties:
                  id:
                    type: string
                  venue:
                    type: string
                    enum:
                      - betdex
                  accountId:
                    type: string
                  environment:
                    type: string
                    enum:
                      - sandbox
                      - production
                  asset:
                    type: string
                    enum:
                      - USDC
                  decimals:
                    type: number
                    enum:
                      - 6
                  network:
                    type: string
                    enum:
                      - solana
                  amountRaw:
                    pattern: ^[1-9][0-9]{0,31}$
                    type: string
                  destinationAddress:
                    minLength: 32
                    maxLength: 44
                    pattern: ^[1-9A-HJ-NP-Za-km-z]+$
                    type: string
                  status:
                    type: string
                    enum:
                      - processing
                      - confirmed
                      - failed
                      - flagged
                      - review_required
                  createdAt:
                    format: date-time
                    type: string
                  updatedAt:
                    format: date-time
                    type: string
        '400':
          description: '400'
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
        '401':
          description: '401'
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
        '403':
          description: '403'
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
        '404':
          description: '404'
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
        '503':
          description: '503'
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
      security:
        - appId: []
          bearerAuth: []
components:
  securitySchemes:
    appId:
      type: apiKey
      in: header
      name: x-app-id
      description: Your application ID. Required for all app-tier and user-tier routes.
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT access token returned by POST /auth/verify. Required for user-tier
        routes.

````