KamoCRM

Add Next.js API proxy route for /api/billing/*

Fixkamo-internal
Shipped
17 ஏப்ரல், 2026 அன்று 3:03 AM UTC
Author
kamo
Commit
f7b4a3e

The billing API client was calling /api/billing/* as a relative URL, which hit the Next.js server instead of the APIService gateway. Added a catch-all proxy route (same pattern as commerce-markets) that forwards billing requests through forwardToApi → APIService → BillingService.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing