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

# List Card-Linked Wallets

> Retrieve all custodial wallets currently linked to the user's card

## Overview

Link internal (custodial) wallets to your card to use them as funding sources for card transactions. Users can link up to 5 wallets, with priority determining the order in which they are charged during purchases.

**Use Cases:**

* Enable card payments from specific wallets
* Manage which currencies fund card transactions
* Control payment source priority
* Temporarily disable wallet usage for cards

***

Retrieve all custodial wallets currently linked to the user's card.

### Authentication

<ParamField header="x-client-key" type="string" required>
  Your public API client key
</ParamField>

<ParamField header="Authorization" type="string" required>
  Bearer token for authentication
</ParamField>

### Response

<ResponseField name="id" type="string">
  Linked wallet identifier
</ResponseField>

<ResponseField name="address" type="string">
  Wallet blockchain address
</ResponseField>

<ResponseField name="currency" type="string">
  Currency code (e.g., "sol", "usdc")
</ResponseField>

<ResponseField name="network" type="string">
  Blockchain network (e.g., "solana", "ethereum")
</ResponseField>

<ResponseField name="priority" type="number">
  Charging priority (lower numbers charged first)
</ResponseField>

<ResponseExample>
  ```json 200 - Success theme={null} theme={null}
  [
    {
      "id": "1693a6da-5945-4461-ba1c-0b9891f78848",
      "address": "DfKNsYfrCEHb7ScJkuMTtPTeDiyjmBBm9NMHnbR7uFHz",
      "currency": "sol",
      "network": "solana",
      "priority": 1
    },
    {
      "id": "7c1839ee-918e-4787-b74f-deeb48ead58b",
      "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb4",
      "currency": "usdc",
      "network": "ethereum",
      "priority": 2
    }
  ]
  ```
</ResponseExample>

<CodeGroup>
  ```bash cURL theme={null} theme={null}
  curl -X GET "https://dev.api.baanx.com/v1/wallet/internal/card_linked" \
    -H "x-client-key: YOUR_CLIENT_KEY" \
    -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
  ```

  ```python Python theme={null} theme={null}
  import requests

  url = "https://dev.api.baanx.com/v1/wallet/internal/card_linked"
  headers = {
      "x-client-key": "YOUR_CLIENT_KEY",
      "Authorization": "Bearer YOUR_ACCESS_TOKEN"
  }

  response = requests.get(url, headers=headers)
  linked_wallets = response.json()

  print(f"Linked wallets: {len(linked_wallets)}")
  for wallet in sorted(linked_wallets, key=lambda w: w['priority']):
      print(f"{wallet['priority']}. {wallet['currency'].upper()} on {wallet['network']}")
  ```

  ```typescript TypeScript theme={null} theme={null}
  interface LinkedWallet {
    id: string;
    address: string;
    currency: string;
    network: string;
    priority: number;
  }

  async function getLinkedWallets(): Promise<LinkedWallet[]> {
    const response = await fetch(
      'https://dev.api.baanx.com/v1/wallet/internal/card_linked',
      {
        headers: {
          'x-client-key': 'YOUR_CLIENT_KEY',
          'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
        }
      }
    );

    return await response.json();
  }
  ```
</CodeGroup>

## Important Notes

<Note>
  **Maximum Limit**: Users can link up to 5 wallets to their card.
</Note>

<Tip>
  **Priority Management**: Use the [Update Linked Wallets Priority](/api-reference/wallet/internal-card-linked-priority) endpoint to control which wallet is charged first.
</Tip>

## Related Endpoints

* [Link Wallet to Card](/api-reference/wallet/internal-card-linked-post) - Add a wallet as a card payment source
* [Unlink Wallet from Card](/api-reference/wallet/internal-card-linked-delete) - Remove a wallet from card payment sources
* [Update Linked Wallet Priority](/api-reference/wallet/internal-card-linked-priority) - Change charging order
* [Get Internal Wallets](/api-reference/wallet/internal) - View all available wallets
