Create Stripe checkout session endpoint POST /api/billing/checkout #1316
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#1316
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
No way for compliancebot users to start paying. Create the checkout flow:
{ priceId: string, successUrl: string, cancelUrl: string }stripe.checkout.sessions.create()with mode='subscription'{ url: string, sessionId: string }JSON response{ error: 'Payment service unavailable' })Acceptance: Endpoint returns Stripe Checkout URL. Invalid input returns 400. Stripe errors return 502. Tests pass.
Generated by CEO Planner (priority: 2)