Get a Stripe billing link
billing_manage_urlCreate a Stripe hosted-page URL for an organization owner: subscribe opens Checkout for new subscriptions; manage opens the Customer Portal for card, plan, or cancellation changes.
Instructions
Mint a Stripe hosted-page URL for the organisation's OWNER to open in a browser: action=subscribe opens Checkout to start a subscription, action=manage opens the Customer Portal to change the card, switch plan or cancel. This only creates a link — it does not charge anything or change the subscription; the owner completes or abandons that on Stripe's page. Requires the OWNER role and Stripe configured on the server (503 otherwise). action=subscribe conflicts (409) when a live subscription already exists — manage it instead; action=manage needs an existing billing account (400 before the first subscription).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Organisation to target: an org id (org_…), slug, or name. Defaults to RAILYARD_ORG, or to your first (personal) org if that is unset. Use list_orgs to see the options. | |
| action | Yes | subscribe = Stripe Checkout for a new subscription; manage = Customer Portal for an existing one. |