Wallet

Move quota between an owner's personal balance and the organization.

The wallet is what organization keys spend. It is funded from an owner's personal balance and can be drained back the same way — there is no separate payment method attached to an organization.

Fund the wallet

POSThttps://your-instance.com/api/organization/{id}/topup

Moves quota out of the calling owner's personal balance and into the organization. Owners only.

curl
curl https://your-instance.com/api/organization/$ORG_ID/topup \
  -H "Authorization: Bearer $CLAWROUTER_ACCESS_TOKEN" \
  -H "New-Api-User: $USER_ID" \
  -H "Content-Type: application/json" \
  -d '{"quota": 50000000}'

Take it back out

POSThttps://your-instance.com/api/organization/{id}/withdraw

The reverse: wallet back to personal balance. Only what is unallocated can be withdrawn — quota already granted to a member has to be reclaimed from them first.