Create a payment link
checkoutCreate a Stripe Checkout Session so the user can pay for a VibeRooster feature in this chat. Returns { checkoutUrl, sessionId, grant, amountCents } — ALWAYS show checkoutUrl to the user (open it / paste it). After they pay, call poll_checkout with sessionId until status is complete. The webhook applies the grant (Forever convert, coins, Agentic Pro, …). Do NOT call convert(newTier: forever) yourself.
Required ids by grant: publish / record / credit_topup → hatchId; workspace_coin_pack / workspace_subscription → workspaceId (or hatchId in that workspace); agentic_pro → orgId or workspaceId/hatchId attached to the org.
Do not use Stripe MCP (mcp.stripe.com) for VibeRooster features — that would charge a different Stripe account. Hatch checkout stamps hatch/workspace/org metadata the webhook expects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grant | Yes | `publish` = Forever ($24.99 one-time). `workspace_coin_pack` = Continues. `agentic_pro` = enterprise HITL. | |
| orgId | No | Organization id. Required for Agentic Pro unless derivable from workspace/hatch. | |
| hatchId | No | Hatch id from hatch/lookup. Required for publish/record/credit_topup. | |
| priceId | No | Optional Stripe Price id from `catalog`. Omit to use the mapped default for this grant. | |
| quantity | No | Line-item quantity (coin packs). Default 1. | |
| tenantId | No | Legacy alias for `hatchId`. | |
| workspaceId | No | Workspace id. Required for coin packs and workspace subscription. |