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

# List withdrawal destination assets

> Returns destination token/network options. Routes are dynamic and provider-driven; always query this endpoint before quoting. Optional source query fields are accepted as hints.



## OpenAPI

````yaml openapi.yaml get /partner/v1/withdrawals/assets
openapi: 3.1.0
info:
  title: Machines Cash API
  version: 0.3.0
  description: >
    API for KYC, cards, encryption, balances, deposits, transactions, and
    withdrawals.

    All responses use a consistent envelope by default: { ok, data, summary,
    errors[], next }.

    Set X-Open-Responses: 1 to receive Open Responses-style response objects.
servers:
  - url: https://api.machines.cash
    description: production
  - url: https://dev-api.machines.cash
    description: sandbox
security: []
tags:
  - name: users
  - name: sessions
  - name: kyc
  - name: kycValues
  - name: agreements
  - name: cards
  - name: encryption
  - name: balances
  - name: deposits
  - name: transactions
  - name: withdrawals
paths:
  /partner/v1/withdrawals/assets:
    parameters:
      - $ref: '#/components/parameters/OpenResponses'
      - $ref: '#/components/parameters/OpenResponsesCallId'
    get:
      tags:
        - withdrawals
      summary: List withdrawal destination assets
      description: >-
        Returns destination token/network options. Routes are dynamic and
        provider-driven; always query this endpoint before quoting. Optional
        source query fields are accepted as hints.
      operationId: api.withdrawals.assets
      parameters:
        - $ref: '#/components/parameters/WithdrawalSourceChainIdQuery'
        - $ref: '#/components/parameters/WithdrawalSourceTokenAddressQuery'
        - $ref: '#/components/parameters/DepositAssetsQuery'
        - $ref: '#/components/parameters/DepositAssetsLimit'
      responses:
        '200':
          description: Withdrawal assets
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WithdrawalAssetsResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '503':
          $ref: '#/components/responses/ServiceUnavailable'
      security:
        - Session: []
components:
  parameters:
    OpenResponses:
      name: X-Open-Responses
      in: header
      required: false
      schema:
        type: string
        enum:
          - '1'
          - 'true'
      description: >-
        Return Open Responses-compatible output when set (replaces the default
        response envelope).
    OpenResponsesCallId:
      name: X-Open-Responses-Call-Id
      in: header
      required: false
      schema:
        type: string
        minLength: 1
      description: >-
        Tool call id used for function_call_output items when Open Responses
        mode is enabled.
    WithdrawalSourceChainIdQuery:
      name: sourceChainId
      in: query
      required: false
      schema:
        type: integer
        minimum: 1
      description: >-
        Optional source chain hint. Defaults to Base (8453) in production and
        Base Sepolia in sandbox.
    WithdrawalSourceTokenAddressQuery:
      name: sourceTokenAddress
      in: query
      required: false
      schema:
        $ref: '#/components/schemas/TokenAddress'
      description: >-
        Optional source token hint. Defaults to USDC collateral token in
        production and rUSD token in sandbox.
    DepositAssetsQuery:
      name: q
      in: query
      required: false
      schema:
        type: string
      description: Optional search query for ticker, name, or network id/label.
    DepositAssetsLimit:
      name: limit
      in: query
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 100
      description: Maximum number of assets to return (max 100).
  schemas:
    WithdrawalAssetsResponse:
      type: object
      additionalProperties: false
      required:
        - ok
        - data
        - summary
        - errors
      properties:
        ok:
          type: boolean
          const: true
        data:
          type: object
          additionalProperties: false
          required:
            - assets
          properties:
            assets:
              type: array
              items:
                $ref: '#/components/schemas/WithdrawalAsset'
        summary:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
        next:
          $ref: '#/components/schemas/NextHint'
    TokenAddress:
      type: string
      pattern: ^0x[a-fA-F0-9]{40}$
      example: '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174'
    WithdrawalAsset:
      type: object
      additionalProperties: false
      required:
        - ticker
        - name
        - icon
        - networks
      properties:
        ticker:
          type: string
        name:
          type: string
        icon:
          type:
            - string
            - 'null'
        networks:
          type: array
          items:
            $ref: '#/components/schemas/WithdrawalAssetNetwork'
    ErrorDetail:
      type: object
      additionalProperties: false
      required:
        - code
        - message
      properties:
        code:
          type: string
          example: invalid_request
        message:
          type: string
          example: missing required field
        field:
          type: string
          description: Optional field name that caused the error.
    NextHint:
      type: object
      additionalProperties: false
      properties:
        pollAfterMs:
          type: integer
          minimum: 0
        suggestedTool:
          type: string
        suggestedArgs:
          type: object
          additionalProperties: true
    ErrorResponse:
      type: object
      additionalProperties: false
      required:
        - ok
        - summary
        - errors
      properties:
        ok:
          type: boolean
          const: false
        summary:
          type: string
          example: invalid request
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorDetail'
        next:
          $ref: '#/components/schemas/NextHint'
    WithdrawalAssetNetwork:
      type: object
      additionalProperties: false
      required:
        - id
        - label
        - supportsExtraId
      properties:
        id:
          type: string
        label:
          type: string
        chainId:
          type:
            - integer
            - 'null'
        tokenContract:
          type:
            - string
            - 'null'
        supportsExtraId:
          type: boolean
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ServiceUnavailable:
      description: Service unavailable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    Session:
      type: http
      scheme: bearer
      bearerFormat: JWT

````