Start plan upgrade
start_plan_upgradeGet the user a link to move a workspace onto a Replo plan. Returns { status, url, message }. status checkout: url opens a page where the user signs in and continues to Stripe Checkout for a free workspace, and nothing is charged until they pay there. status manage_in_dashboard: url opens a page where they sign in and continue to the workspace's billing settings, for one that already has a plan or can't buy this one from chat; chat never changes an existing subscription. Either link works for 30 minutes; share it, and when the user says they finished, call get_plan_options to see the plan the workspace is on now. status done: the workspace is already on that plan, so there's nothing to share. Call only after the user chose the plan, usually from get_plan_options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan to buy: starter or pro. | |
| interval | No | Billing interval; monthly only from chat. | month |
| workspaceId | Yes | Replo workspace id, from list_workspaces. |