cURL
curl --request GET \ --url https://api.example.com/v1/server/wallets/{walletId}/accounts \ --header 'X-Access-Key: <x-access-key>' \ --header 'X-Signature: <x-signature>' \ --header 'X-Timestamp: <x-timestamp>'
{ "accounts": [ {} ], "nextCursor": "<string>" }
List all accounts in a server wallet
curl -X GET "https://api.axonvault.io/v1/server/wallets/wal_abc123/accounts" \ -H "X-Access-Key: ak_live_abc123" \ -H "X-Signature: sha256=..." \ -H "X-Timestamp: 2024-01-15T10:30:00Z"
{ "accounts": [ { "accountId": "acc_xyz789", "walletId": "wal_abc123", "accountIndex": 0, "accountName": "Treasury", "createdAt": "2024-01-15T10:30:00Z" }, { "accountId": "acc_abc456", "walletId": "wal_abc123", "accountIndex": 1, "accountName": "Operations", "createdAt": "2024-01-16T08:00:00Z" } ], "nextCursor": null }