Member budgets

Allocate part of the wallet to a person, and pull back what they do not spend.

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

GEThttps://your-instance.com/api/organization/{id}/member_balances

Returns 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

POSThttps://your-instance.com/api/organization/{id}/members/{user_id}/grant
curl
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

POSThttps://your-instance.com/api/organization/{id}/members/{user_id}/reclaim

Returns unspent allocation to the wallet. Already-consumed quota is gone — reclaiming does not reverse charges that have happened.