post
https://api.kevel.co/v1/wallet/balance/batch
Returns the current Balance for up to 1,000 wallets in one call.
Returns the current Balance of up to 1,000 wallets, in the order you ask. It uses POST so you can send many IDs, and it changes nothing. Balances trail the latest spend slightly. To reconcile, use List Wallet Balance History.
API syntax
POST https://api.kevel.co/v1/wallet/balance/batch
Available
Available is the Limit minus the Balance. A Limit of 50,000 and a Balance of 18,250.5 leaves 31,749.5. A wallet with no spend returns 0.
Errors
| Status | Message | What to do |
|---|---|---|
400 | WalletIds must not be empty. | Send at least one ID. |
400 | WalletIds must be unique. | Remove repeated IDs. |
400 | A message naming WalletIds. | Send 1,000 IDs or fewer, in batches. |
404 | At least one wallet did not belong to the network. | Use only your wallet IDs. |
500 | Balance service unavailable. | Retry. If it continues, contact Kevel. |
