Wire billing router into Express app at /api/billing prefix #771

Closed
opened 2026-04-11 16:42:30 -04:00 by pook · 0 comments
Owner

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)

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)*
pook closed this issue 2026-04-11 17:47:38 -04:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot#771
No description provided.