create_checkout_session
Generate a Stripe Checkout URL for a given price, with redirects for success and cancel, plus optional customer email. Supports subscription or one-time payment.
Instructions
Generate a Stripe Checkout URL for a price.
Args: price_id: Stripe price ID (price_...) success_url: URL to redirect after successful payment cancel_url: URL to redirect if customer cancels mode: Checkout mode — "subscription" or "payment" (one-time) customer_email: Pre-fill the customer's email in checkout
Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | subscription | |
| api_key | No | ||
| price_id | Yes | ||
| cancel_url | No | https://example.com/cancel | |
| success_url | No | https://example.com/success | |
| customer_email | No |