Create Stripe checkout link
create_checkout_linkSIDE-EFFECTING: creates a short-lived Stripe Checkout session/link for ONE product (quantity fixed to 1) and returns only the hosted checkout URL, product summary, exact price, and expiry. The price and Stripe price id are resolved server-side from trusted catalogue data — client-supplied price/amount/currency/name/price-id are ignored/rejected. The buyer must explicitly authorize payment in Stripe Checkout; NO card is charged autonomously. Products that are unaudited/deprecated/not agent-sellable are rejected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | Must be 1 (digital product). | |
| cancel_url | No | Optional; must be on the allowlisted host. | |
| product_id | Yes | Product id, SKU, or unambiguous slug. | |
| buyer_email | No | Optional prefill for the checkout. | |
| success_url | No | Optional; must be on the allowlisted host. | |
| idempotency_key | No | Optional idempotency key to avoid duplicate sessions. |