Create a human-paid checkout link
get_checkout_linkCreate an order and return a hosted Stripe checkout URL (or PayPal when enabled) for a preview token. Never charges automatically — hand the returned checkoutUrl to the human buyer so they can review and pay in a browser.
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": {
"token": "<token>",
"email": "<email>"
},
"name": "get_checkout_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional buyer name. | |
| Yes | Buyer's email address for delivery and receipt. | ||
| token | Yes | The preview token from run_preview. | |
| variant | No | Optional variant key from list_services (defaults to the service's primary variant). | |
| provider | No | Hosted payment provider (default: stripe; paypal only when enabled). | stripe |