feat(billing): add /billing/checkout-session via BillingService

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-06 14:51:06 -04:00
parent 9851d56633
commit f683bb5720
6 changed files with 176 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
from typing import Literal
from pydantic import BaseModel
class CheckoutSessionCreate(BaseModel):
plan: Literal["pro", "starter", "team", "enterprise"]
seats: int
billing_interval: Literal["monthly", "annual"] = "monthly"
class CheckoutSessionResponse(BaseModel):
url: str