Retrieve detailed information about a specific wallet by providing its unique wallet ID
GET /wallets/:id
Include your API key as a Bearer token in the request header:
Authorization: Bearer YOUR_API_KEY
curl https://api.stablepay.dev/v1/wallets/wallet_123 \ -H "Authorization: Bearer YOUR_API_KEY"
Or using JavaScript:
fetch('https://api.stablepay.dev/v1/wallets/wallet_123', { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }) .then(res => res.json()) .then(data => console.log(data));
{ "id": "wallet_123", "asset": "USDC", "balance": "1245.75", "created_at": "2024-03-12T10:00:00Z", "last_activity": "2025-04-26T19:00:00Z" }