Get a checkout or billing portal link
get_upgrade_linkReturns a URL a HUMAN opens in the browser. Without planId: the Stripe billing portal for the site's existing subscription (card, invoices, plan changes). With planId (from get_billing plans): a Stripe Checkout page to START a subscription for a site that has none; a site that already has a live subscription gets the billing portal link instead (change the plan there), never a second checkout. Nothing is charged by this tool itself. Hidden for white-label customers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site to act on. One of: fencestainingdenver.com. | |
| planId | No | Start checkout for this plan on a site with no live subscription; otherwise the portal link is returned. |