Start subscription checkout
start_subscription_checkoutGenerates a Stripe Checkout URL for a selected plan, letting the user complete payment in their browser. After payment, poll get_onboarding_status to finish subscription activation.
Instructions
Create a Stripe Checkout URL for the chosen plan. Give the URL to the user to open in a browser — card entry cannot be automated. After payment, poll get_onboarding_status until the subscription step completes (webhook latency of a few seconds). Production only; sandbox development does not require a subscription. Requires craveup login.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Preview by default. Apply requires the exact returned planDigest. | dry-run |
| priceId | Yes | From list_subscription_plans | |
| returnUrl | No | Where Stripe redirects after checkout; defaults to the dashboard | |
| planDigest | No | Exact digest returned by a dry-run of the same arguments. | |
| confirmationToken | No | Required exact phrase for destructive, paid, or release operations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| mode | Yes | ||
| status | Yes | ||
| changes | Yes | ||
| summary | Yes | ||
| operation | Yes | ||
| planDigest | Yes | ||
| environment | Yes | ||
| nextActions | Yes | ||
| schemaVersion | Yes |