Create a checkout link for a paid add-on
create_checkoutCreate a Stripe checkout URL for one paid add-on on one listing, and return it for a HUMAN to open. Never present this as a completed purchase: nothing is charged until a person completes checkout in a browser. Returns an error when the listing doesn't exist, the add-on isn't purchasable yet (free early access), or payments aren't configured in this environment.
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": {
"slug": "<slug>",
"product": "<product>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The listing's slug (as in a toolUrl, e.g. '/tools/acme-writer' -> 'acme-writer'). | |
| product | Yes | Add-on key: premium_launch, review_one, review_monthly, network_all, network_three. See list_offers for names, effects, and prices. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| checkoutUrl | No | A URL a HUMAN must open. Nothing is charged until a person completes it. | |
| instruction | No |