tesi_prepare_purchase
Create or preview a one-time Stripe Checkout session ($10-$100 USD, $0/mo) to fund a brand-new TESI bearer key. Returns JSON with sessionId, checkoutUrl, amountCents, and pack preview metadata. Example: {"amountCents": 1000, "quoteOnly": true}.
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": {
"amountCents": "<amountCents>"
},
"name": "tesi_prepare_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional human-readable label for the new bearer key (up to 80 chars). | |
| quoteOnly | No | Set true to preview pack specs and browser link without creating a Stripe session. | |
| purchaseId | No | Optional 64-hex client idempotency token enabling crash-safe key recovery on tesi_claim_key. | |
| amountCents | Yes | Pack amount in USD cents: 1000 ($10), 2500 ($25), 5000 ($50), or 10000 ($100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| currency | Yes | ||
| reviewUrl | No | ||
| sessionId | No | ||
| amountCents | Yes | ||
| checkoutUrl | No |