purchase_credits
Create a Stripe checkout session to purchase credits or subscribe to a plan. Returns a checkout URL.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cancelUrl | Yes | URL to redirect to if payment is cancelled | |
| productId | Yes | Product ID to purchase | |
| successUrl | Yes | URL to redirect to after successful payment |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checkoutUrl | Yes |