/platform/tenants
Create a new tenant.
Authorization
Bearer JWT Authorization header. Example: "Bearer {token}"
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/api/v1/platform/tenants" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "slug": "string" }'Last updated on
/platform/tenants GET
List all tenants.
/platform/tenants/{id}/bootstrap-banking POST
Bootstrap banking system accounts (PLATFORM-FLOAT, FEE-REVENUE) for an existing tenant in the given currency. Useful for tenants created before the banking layer existed, or for enabling an additional currency on a tenant that was initially bootstrapped with a different one. Idempotent. Calling for a currency that is already bootstrapped is a no-op.