Create workspace subscription checkout
create_workspace_subscription_checkoutCreate a Stripe checkout link for the first workspace subscription on the explicit requested project. Use the projectId returned by create_project; never substitute another existing project. Requires full workspace billing permission. Use get_payment_plans first. Returns the checkout URL; the user must complete payment interactively. When presenting a clickable link, copy the returned url verbatim as the link destination, including the entire fragment after # and all percent-encoded characters. Never shorten, decode, reconstruct the URL from sessionId, or remove its fragment; an altered URL can produce a Stripe "This link is incomplete" error. Does not activate the plan until checkout succeeds. For Team upgrades on an active subscription, see upgrade_project_to_team. Use Atomic Billing for other existing subscription changes.
Creates a checkout session/link, not a payment. Use only after the user requests the selected project's subscription; completion and billing happen on the checkout page.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": 12,
"workspaceId": 4,
"paymentPlanId": 6,
"initialSeatQuantity": 1
},
"name": "create_workspace_subscription_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | No | User task for usage analytics. Omit private details. | |
| llm_model | No | Exact model ID from the calling runtime. Send on every call when known. Omit if unavailable. | |
| projectId | Yes | Atomic project identifier from list_projects. Select only a project accessible to the acting user. | |
| workspaceId | Yes | Atomic workspace identifier from list_workspaces. The acting user must have access to that workspace. | |
| paymentPlanId | Yes | Active Atomic plan identifier from get_payment_plans. | |
| initialSeatQuantity | No | Extra member seats to include in checkout. Omit to use only the seats in the selected plan. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Checkout URL and checkout session ID for the requested workspace plan. The plan still requires checkout. | |
| success | Yes | True when the tool returns normally. | |
| executionTime | No | Elapsed time, e.g. 0.12s. |