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

# Delete Wallet

> Delete a wallet when all chain balances are empty.



## OpenAPI

````yaml /openapi.json delete /api/v1/wallet/{wallet_id}
openapi: 3.1.0
info:
  title: Synthesis API
  version: 1.0.0
  description: Unified prediction market API for Polymarket and Kalshi.
servers:
  - url: https://synthesis.trade
security: []
tags:
  - name: Projects
    description: Create and manage project accounts, sessions, and account API keys.
  - name: Accounts
    description: >-
      Authenticate and manage account-level sessions, account API keys, and
      public account preferences.
  - name: Markets
    description: Unified market discovery and analytics across Polymarket and Kalshi.
  - name: Polymarket
    description: Polymarket market data, prices, orderbooks, trades, and holders endpoints.
  - name: Kalshi
    description: Kalshi market data, events, history, leaderboard, and profile endpoints.
  - name: Wallets
    description: Wallet management routes. Each wallet supports multiple chains.
  - name: Polygon
    description: >-
      Polygon wallet routes for balances, orders, minting, redemption,
      withdrawals, and swaps.
  - name: Polygon Copytrades
    description: Polymarket copytrade configuration and management for Polygon wallets.
  - name: Solana
    description: >-
      Solana wallet routes used for Kalshi balances, KYC, orders, redemption,
      and withdrawals.
  - name: News
    description: News endpoints with market and event matching.
  - name: WebSockets
    description: >-
      Real-time streaming endpoints for orderbooks, trades, balances, and live
      data feeds.
paths:
  /api/v1/wallet/{wallet_id}:
    delete:
      tags:
        - Wallets
      summary: Delete Wallet
      description: Delete a wallet when all chain balances are empty.
      operationId: delete-wallet
      parameters:
        - name: wallet_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Wallet deleted
          content:
            application/json:
              example:
                success: true
                response:
                  wallet_id: a1b2c3d4-e5f6-7890-abcd-ef1234567890
                  deleted: true
        '400':
          description: Wallet still holds assets
          content:
            application/json:
              example:
                success: false
                response: Wallet has non-zero Polygon balance
      security:
        - AccountApiKey: []
        - AccountSession: []
components:
  securitySchemes:
    AccountApiKey:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Account secret API key.
    AccountSession:
      type: http
      scheme: bearer
      description: Account session token.

````