Upgrade Subscription Plan
upgrade_planCreate a Stripe Checkout session for a plan upgrade. Shows current plan and available upgrades. Pass plan_id ('pro' or 'scale') to get a checkout_url on checkout.stripe.com — open it in the browser for the user to pay. Do not send the user to the marketing pricing page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | UI locale for the success/cancel return URLs (default en). | |
| plan_id | No | Target plan ID. Required to create a Stripe Checkout URL. | |
| currency | No | Checkout currency. Defaults from locale (pl → PLN, otherwise USD). |