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

# Get Wallet

Retrieve a wallet by its ID.

<ParamField path="id" type="string" required>
  The wallet ID.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.alguna.io/wallets/wal_def456 \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const wallet = await alguna.wallets.get('wal_def456');
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "id": "wal_def456",
    "accountId": "acc_abc123",
    "name": "Prepaid Credits",
    "currency": "USD",
    "currentBalance": "500.00",
    "active": true,
    "productIds": ["prod_xyz789"],
    "createdAt": "2024-01-20T10:00:00Z",
    "updatedAt": "2024-01-20T12:00:00Z"
  }
  ```
</ResponseExample>

<ResponseField name="id" type="string">
  Unique identifier for the wallet.
</ResponseField>

<ResponseField name="accountId" type="string">
  The account this wallet belongs to.
</ResponseField>

<ResponseField name="name" type="string">
  Display name of the wallet.
</ResponseField>

<ResponseField name="currency" type="string">
  Currency code for the wallet balance.
</ResponseField>

<ResponseField name="currentBalance" type="string">
  Current balance as a decimal string.
</ResponseField>

<ResponseField name="active" type="boolean">
  Whether the wallet is active and can be used.
</ResponseField>

<ResponseField name="productIds" type="array">
  Product IDs the wallet is restricted to, if any.
</ResponseField>

<ResponseField name="createdAt" type="string">
  ISO 8601 timestamp of creation.
</ResponseField>

<ResponseField name="updatedAt" type="string">
  ISO 8601 timestamp of last update.
</ResponseField>
