Billing accounts
Close a billing account
Final: a closed account cannot be reopened; create a new one. Linked Workspaces keep their resources but cannot create billed ones; link another account to continue.
Bearer token for the authenticated caller.
Optional caller-supplied idempotency key. Any non-empty key up to 64 characters is accepted. Endpoint-specific documentation describes how the key is used.
Required string length: 1 - 64
Example: "create-prod-2026-05-07"
The etag of the resource version the client last read. Required on writes when the resource exposes an etag field. Mismatch returns 409 ABORTED with the current etag in the error metadata.
Required string length: 1 - 256
Example: "42"
Required string length: 3 - 54
Body
Required string length: 1 - 512
Response
BillingAccount
Required string length: 3 - 54
Pattern: ^billingAccounts\/bac_[A-Za-z0-9]+$
Example: "billingAccounts/bac_4kQ9mXr2Tz7Lw1"
Required string length: 3 - 54
Required string length: 1 - 100
Available options: PENDING, ACTIVE, CLOSED
Available options: card
Available options: EUR
Problems and notable facts that hold now, beside state; empty when there are none. See each reason in the resource description.
Maximum array length: 32 elements
Maximum string length: 64