Start an authorized purchase
create_checkoutCreate a private Stripe checkout for a current offer after the user expresses purchase intent. Explain price, duration and annual renewal before proceeding. This tool does not charge a card: give checkoutUrl privately to the buyer for payment authorization. Reuse the exact requestId/input after uncertainty; never create a replacement checkout to retry. Pro and Studio passes accept months=1–12 and never auto-renew; annual offers are recurring. Requires billing:checkout.
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": {
"requestId": "<requestId>",
"offerId": "<offerId>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | ||
| offerId | Yes | ||
| requestId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| months | Yes | ||
| offerId | Yes | ||
| currency | Yes | ||
| amountCents | Yes | ||
| checkoutUrl | Yes | ||
| paymentStatus | Yes | ||
| checkoutStatus | Yes | ||
| fulfillmentStatus | Yes |