A budget is a slice of the wallet earmarked for one member. It caps what that person can spend without capping anyone else, and whatever is left can be reclaimed — so an allocation is a loan, not a transfer.
See all allocations
GET
https://your-instance.com/api/organization/{id}/member_balancesReturns every member's allocated and consumed amounts in one call — the view to build a spend dashboard from. For a single person, GET /api/organization/{id}/members/{user_id}/balance returns just their row.
Allocate
POST
https://your-instance.com/api/organization/{id}/members/{user_id}/grantcurl
curl https://your-instance.com/api/organization/$ORG_ID/members/$MEMBER_ID/grant \
-H "Authorization: Bearer $CLAWROUTER_ACCESS_TOKEN" \
-H "New-Api-User: $USER_ID" \
-H "Content-Type: application/json" \
-d '{"quota": 10000000}'Reclaim
POST
https://your-instance.com/api/organization/{id}/members/{user_id}/reclaimReturns unspent allocation to the wallet. Already-consumed quota is gone — reclaiming does not reverse charges that have happened.
