stripe_checkout_session
Create a Stripe Checkout session by specifying product, price, success and cancel URLs, with optional trial days for subscriptions.
Instructions
Generate a Stripe Checkout session with line items, success/cancel URLs, and optional trial periods
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product_name": "<product_name>",
"price_cents": "<price_cents>",
"success_url": "<success_url>",
"cancel_url": "<cancel_url>"
},
"name": "stripe_checkout_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| currency | No | Currency code | usd |
| cancel_url | Yes | URL to redirect on cancel | |
| trial_days | No | Number of trial days | |
| price_cents | Yes | Price in cents | |
| success_url | Yes | URL to redirect on success | |
| product_name | Yes | Name of the product |