Wire billing router into Express app at /api/billing prefix #771
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#771
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?
Import the billing router (from src/billing/routes.ts or similar) and mount it in the main Express app (src/index.ts or src/app.ts) at the /api/billing path prefix. This is required for any billing endpoint (checkout, portal, webhooks) to be reachable. Verify: (1) billing routes file exists and exports a router. (2) Router is mounted with app.use('/api/billing', billingRouter). (3) Verify with a test that GET /api/billing/status (or whichever endpoint exists) returns a response (not 404). Acceptance: billing endpoints are reachable at /api/billing/* paths.
Generated by CEO Planner (priority: 2)