Skip to main content
GET
https://api.alguna.io
/
wallets
/
{id}
curl https://api.alguna.io/wallets/wal_def456 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "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"
}
Retrieve a wallet by its ID.
id
string
required
The wallet ID.
curl https://api.alguna.io/wallets/wal_def456 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "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"
}
id
string
Unique identifier for the wallet.
accountId
string
The account this wallet belongs to.
name
string
Display name of the wallet.
currency
string
Currency code for the wallet balance.
currentBalance
string
Current balance as a decimal string.
active
boolean
Whether the wallet is active and can be used.
productIds
array
Product IDs the wallet is restricted to, if any.
createdAt
string
ISO 8601 timestamp of creation.
updatedAt
string
ISO 8601 timestamp of last update.