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

# Get all liquidation addresses for a customer

> Retrieve all liquidation addresses associated with a specific customer.



## OpenAPI

````yaml /swagger.yml get /api/v0/customers/{customerId}/liquidation_addresses
openapi: 3.0.0
info:
  title: Devdraft AI Payment & Business Management API
  description: >-

    A comprehensive payment processing and business management API that enables
    seamless integration of cryptocurrency and traditional payment methods.
        
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.devdraft.ai
    description: Production Server
security: []
tags: []
paths:
  /api/v0/customers/{customerId}/liquidation_addresses:
    get:
      tags:
        - Liquidation Addresses
      summary: Get all liquidation addresses for a customer
      description: Retrieve all liquidation addresses associated with a specific customer.
      operationId: LiquidationAddressController_getLiquidationAddresses
      parameters:
        - name: customerId
          required: true
          in: path
          description: Unique identifier for the customer
          schema:
            example: cust_123
            type: string
      responses:
        '200':
          description: List of liquidation addresses
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LiquidationAddressResponseDto'
        '404':
          description: Customer not found
          content:
            application/json:
              schema:
                example:
                  error: Not Found
                  message: Customer with id 'cust_123' not found
                  statusCode: 404
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                example:
                  message: Failed to fetch liquidation addresses
                  statusCode: 500
components:
  schemas:
    LiquidationAddressResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the liquidation address
          example: la_generated_id_123
        state:
          type: string
          description: Current state of the liquidation address
          example: active
        customer_id:
          type: string
          description: Customer ID this liquidation address belongs to
          example: cust_123
        chain:
          type: string
          description: Blockchain chain
          example: ethereum
        currency:
          type: string
          description: Currency
          example: usdc
        address:
          type: string
          description: Liquidation address
          example: '0x4d0280da2f2fDA5103914bCc5aad114743152A9c'
        external_account_id:
          type: string
          description: External account ID
        prefunded_account_id:
          type: string
          description: Prefunded account ID
        bridge_wallet_id:
          type: string
          description: Bridge wallet ID
        destination_payment_rail:
          type: string
          description: Destination payment rail
        destination_currency:
          type: string
          description: Destination currency
        custom_developer_fee_percent:
          type: string
          description: Custom developer fee percent
        created_at:
          type: string
          description: Creation timestamp
        updated_at:
          type: string
          description: Last update timestamp
      required:
        - id
        - state
        - customer_id
        - chain
        - currency
        - address
        - created_at
        - updated_at

````