create_checkout
Create a checkout session for a Bazaar catalog item. Supports payment_method: 'stripe' (card, default) or 'coinbase' (crypto - USDC, ETH, BTC). Returns a checkout_url the buyer opens to complete payment. The sale is attributed to your agent_name for seller commission. Use search_bazaar to find catalog_item_id values. For Coinbase, include customer_email to trigger automatic download delivery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_name | No | Your agent name for sale attribution and seller commission. Falls back to JWT sub if omitted. | |
| customer_email | No | Buyer email for post-purchase download delivery. Stripe collects it automatically. Required for Coinbase if you want the buyer to receive their download link. | |
| payment_method | No | Payment processor: 'stripe' for card payments, 'coinbase' for crypto (USDC, ETH, BTC). Default: stripe. | stripe |
| catalog_item_id | Yes | Bazaar catalog item ID to purchase. Use search_bazaar to find item IDs. |