Workspace currency allowlist: which currencies are enabled for billing and catalog use.
List workspace currencies
Returns the currencies enabled for the active workspace, including reference counts to plans, prices and other entities.
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
List workspace currencies › Responses
OK
Enable a currency for the workspace
Adds a currency (3-letter ISO 4217 code) to the workspace's allowlist.
Headers
Idempotency-KeyUnique key that makes this POST safe to retry: repeats with the same key replay the first response instead of re-executing. Replays are scoped to the retrying principal (same API key / user) and kept for 24 hours. Required on every POST.
Client-generated idempotency key (e.g. a UUID).
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Enable a currency for the workspace › Request Body
billing_enabledEnable billing/invoicing in this currency; at least one of billing_enabled or catalog_enabled must be true.
catalog_enabledEnable price/cost authoring in this currency; at least one of billing_enabled or catalog_enabled must be true.
currency_codeISO 4217 currency code to enable (normalized to uppercase).
Enable a currency for the workspace › Responses
Created
Get a workspace currency
Returns one allowlist entry by ISO 4217 code, reference counts included - the same shape the list returns. Codes not on the workspace allowlist respond 404.
path Parameters
codeISO 4217 currency code (uppercase)
ISO 4217 currency code (uppercase)
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Get a workspace currency › Responses
OK
Remove a currency from the workspace allowlist
Permanently removes the currency from the workspace's allowlist (a hard remove, not a disable - use PATCH to disable a scope). Fails with 409 while the currency is still referenced by customers, wallets, invoices, credit notes, subscriptions, prices or costs; the guard and the delete run in one transaction.
path Parameters
codeISO 4217 currency code (uppercase)
ISO 4217 currency code (uppercase)
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Remove a currency from the workspace allowlist › Responses
No Content
Update a workspace currency's scopes
Toggles which scopes the currency is enabled for: billing_enabled (invoices, wallets, subscriptions) and/or catalog_enabled (prices, costs). At least one scope must remain enabled; to remove the currency entirely use DELETE.
path Parameters
codeISO 4217 currency code (uppercase)
ISO 4217 currency code (uppercase)
Headers
X-Workspace-IdSelects the workspace this request operates in, by workspace UUID or slug (e.g. a sandbox workspace for test integrations). Omitted: the organization's default live workspace. Unknown workspace: 404; workspace outside your organization: 403. Discover workspaces via GET /workspaces.
Workspace UUID or slug.
Update a workspace currency's scopes › Request Body
billing_enabledNew billing-enabled setting; omitted leaves it unchanged. At least one of the two fields must be supplied.
catalog_enabledNew catalog-enabled setting; omitted leaves it unchanged. At least one of the two fields must be supplied.
Update a workspace currency's scopes › Responses
OK