create_checkout
Generate a payment checkout session for Lemon Squeezy products, allowing customers to purchase specific variants with customizable options and pricing.
Instructions
Create a new checkout session for a product variant.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storeId | Yes | The store ID | |
| variantId | Yes | The variant ID | |
| customPrice | No | Optional: Custom price in cents | |
| productOptions | No | Optional: Product options | |
| checkoutOptions | No | Optional: Checkout options | |
| checkoutData | No | Optional: Additional checkout data | |
| preview | No | Optional: Preview mode | |
| expiresAt | No | Optional: Expiration date (ISO 8601) |