credits_checkout
Create a Stripe checkout session to buy credit bundles. Choose from starter, growth, or scale bundles and receive a checkout URL to complete payment.
Instructions
Create a Stripe checkout session to purchase a credit bundle.
Returns a checkout_url to open in the browser to complete payment. Valid bundles: "starter", "growth", "scale".
Args: bundle: The bundle ID to purchase — "starter", "growth", or "scale" return_url: URL to redirect to after payment (optional)
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": {
"bundle": "<bundle>"
},
"name": "credits_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundle | Yes | ||
| return_url | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |