open_upgrade_checkout
Open a Stripe Checkout page to upgrade your subscription tier. Supports pro, translate, translate_pro plans with lifetime, monthly, or yearly billing.
Instructions
Open a Stripe Checkout page in the user's default browser to upgrade to a paid tier. Use this for "upgrade me", "I want pro", "switch me to lifetime", "buy the yearly plan". Returns { ok, url, sessionId, opened } — opened:true means shell.openExternal launched the browser; tell the user to complete checkout there. tier must be one of {pro, translate, translate_pro}; billing_type must be one of {lifetime, monthly, yearly}. After checkout completes the user's tier updates via webhook — call get_my_plan to confirm. Requires sign-in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | Subscription tier the user wants to buy. | |
| billing_type | Yes | Billing cadence. "lifetime" is a one-time payment; "monthly"/"yearly" are subscriptions. |