List API accounts
Returns every API account your business holds, one per token, with its current balance. This is the balance payouts draw on.
Request
curl "https://api-prod.useknit.io/api/v1/business-api-services-wallets" \
-H "Authorization: Bearer $KNIT_ACCESS_TOKEN" \
-H "Accept: application/json"Response
{
"statusCode": 200,
"message": "Payout wallets fetched successfully",
"data": [
{
"id": "c7ddb254-5da1-4136-b19e-733a00a31c70",
"businessId": "a2667393-2c6c-43c9-a288-6167e2b2b591",
"token": "USDT",
"amount": "99.897000000000000000",
"createdAt": "2024-02-22T14:16:23.000000Z",
"updatedAt": "2024-02-22T14:43:21.000000Z"
}
],
"success": true
}The spendable balance in token units, as a decimal string. Parse it with a decimal library — the precision does not survive a float.
Poll this before a batch of payouts, or alert on it falling below your expected daily volume. It is the single number that tells you whether programmatic disbursement will keep working.
Errors
| Status | Cause |
|---|---|
401 | Missing or invalid token, IP not allow-listed, or missing payout-wallets:read |