Projects
An account can contain multiple projects. Each project has its own wallets, API key, webhooks, and invoice history — useful for separating environments (staging vs production) or distinct products under one account.
Every existing account was automatically migrated: all existing wallets, API keys, webhooks, and invoices were moved into a single Default project. Your existing API key keeps working without any code change — it is now scoped to that Default project.
API-key callers: do not send an
X-Cassia-Project header. Your key already determines the project; the header is for dashboard sessions only and is ignored (or unnecessary) for API-key requests.Endpoints
- GET
/api/projectslist all projects on the account. Returns{ projects: [{ id, name, created_at }, ...] }. - POST
/api/projectscreate a new project. Body:{ name }. Returns the new project object. - PATCH
/api/projects/:idrename a project. Body:{ name }. Returns the updated project object.
Updated . For integration help, email [email protected]