Bill a client workspace to the agency
PUT/api/v3/organizations/:organization/clients/:client/billing
Bill a client workspace to the agency (usage, credit, admission, overage and plan limits resolve to the agency) or back to itself: mode is owner only, audited in both accounts; 409 when the workspace has its own live subscription or an unpaid bank-transfer invoice. spending_cap_usd (owner/admin, null = none) caps what the workspace spends per agency period
Request
Responses
- 200
- 403
- 409
- 422
{ id, billing_mode, spending_cap_usd }
Not the owner (mode)
Has its own subscription or invoice
Cap on a self-billed workspace