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

# List withdrawal reservation lifecycle rows



## OpenAPI

````yaml /_generated/openapi.yaml get /query/withdrawal-requests
openapi: 3.1.0
info:
  title: Joyride Core HTTP API
  version: 0.1.0
  description: |
    HTTP endpoints served by joyride-core v8 components. Decimal money,
    price, and quantity fields are strings with up to 8 decimal places unless
    noted otherwise.
servers:
  - url: https://joyride.exchange/api
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Public
  - name: Query
  - name: Withdrawals
  - name: Market Data
    description: Publicly accessible market data. No authentication required.
  - name: Account
    description: Account-scoped history and provisioning. Requires a bearer JWT.
  - name: Referrals
    description: Referral-code validation and attribution surfaces.
  - name: AI Chat
    description: >
      AI-powered trading assistant. Uses SIWS (Sign In With Solana)
      authentication

      and JWT sessions. Returns responses as Server-Sent Events (SSE).
paths:
  /query/withdrawal-requests:
    get:
      tags:
        - Query
      summary: List withdrawal reservation lifecycle rows
      operationId: listWithdrawalRequests
      parameters:
        - $ref: '#/components/parameters/AccountId'
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/AfterCursor'
        - name: withdrawal_id
          in: query
          schema:
            type: string
            pattern: ^[0-9]+$
        - name: status
          in: query
          schema:
            type: string
            pattern: ^[a-z0-9_]{1,64}$
        - name: expiry_unix_timestamp_lte
          in: query
          schema:
            type: string
            pattern: ^[0-9]+$
      responses:
        '200':
          description: Withdrawal request rows
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WithdrawalRequestRows'
        '400':
          $ref: '#/components/responses/QueryError'
        '401':
          $ref: '#/components/responses/QueryError'
components:
  parameters:
    AccountId:
      name: account_id
      in: query
      schema:
        type: integer
        minimum: 0
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
    AfterCursor:
      name: after
      in: query
      description: >-
        Exclusive keyset cursor returned as next_cursor. Supported by accounts
        and monotone sequence-number lists; unsupported sort orders reject it
        with 400 rather than silently ignoring it. The decimal value must fit
        the backing non-negative PostgreSQL BIGINT; overflow returns 400.
      schema:
        type: string
        pattern: ^[0-9]+$
  schemas:
    WithdrawalRequestRows:
      type: object
      required:
        - rows
      properties:
        rows:
          type: array
          items:
            $ref: '#/components/schemas/WithdrawalRequestRow'
        next_cursor:
          type: string
          pattern: ^[0-9]+$
    WithdrawalRequestRow:
      type: object
      required:
        - withdrawal_id
        - account_id
        - amount
        - user_wallet
        - destination_token_account
        - mint
        - expiry_unix_timestamp
        - status
        - created_at
        - updated_at
      properties:
        withdrawal_id:
          type: string
        reserve_seq_no:
          type:
            - integer
            - 'null'
        finalize_seq_no:
          type:
            - integer
            - 'null'
        release_seq_no:
          type:
            - integer
            - 'null'
        account_id:
          type: integer
        amount:
          $ref: '#/components/schemas/DecimalString'
        user_wallet:
          $ref: '#/components/schemas/Hex32'
        destination_token_account:
          $ref: '#/components/schemas/Hex32'
        mint:
          $ref: '#/components/schemas/Hex32'
        expiry_unix_timestamp:
          type: integer
        reserve_idempotency_key:
          type:
            - string
            - 'null'
          format: uuid
        finalize_idempotency_key:
          type:
            - string
            - 'null'
          format: uuid
        release_idempotency_key:
          type:
            - string
            - 'null'
          format: uuid
        status:
          type: string
        reserve_risk_verdict:
          type:
            - integer
            - 'null'
        reserve_risk_reject_reason:
          type:
            - integer
            - 'null'
        finalize_risk_verdict:
          type:
            - integer
            - 'null'
        finalize_risk_reject_reason:
          type:
            - integer
            - 'null'
        release_risk_verdict:
          type:
            - integer
            - 'null'
        release_risk_reject_reason:
          type:
            - integer
            - 'null'
        created_at:
          type: string
        updated_at:
          type: string
    QueryErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
    DecimalString:
      type: string
      pattern: ^-?[0-9]+(\.[0-9]{1,8})?$
      examples:
        - '100.00000000'
    Hex32:
      type: string
      pattern: ^[0-9a-fA-F]{64}$
  responses:
    QueryError:
      description: Query API error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/QueryErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        SIWS-issued JWT. Admin commands require the `admin` role, `admin:*`, or
        the exact `admin:<type>` scope; admin reads use their documented read
        scope.

````