Create a checkout link
create_checkout_linkCreate a Stripe Checkout link for a plan.
Returns a URL. It does not charge anyone — the user has to open it and enter payment details themselves. Show them the plan, its price and what it changes before handing the link over.
Creating a link for an email that already has a company attaches the subscription to that existing company.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Billing email. The company is found or created from it. | ||
| coupon_id | No | ||
| company_name | No | ||
| redirect_url | No | Where Stripe sends the user after paying. | |
| stripe_price_id | Yes | From list_plans. | |
| redirect_url_cancel | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next_step | Yes | ||
| session_id | No | ||
| checkout_url | Yes |