Skip to content

The open alternative to Salesforce, designed for AI.

billing - remove deprecated endpoint (#12315)

Etienne0275fad5f73e
diff --git a/packages/twenty-server/src/engine/core-modules/billing/billing.controller.ts b/packages/twenty-server/src/engine/core-modules/billing/billing.controller.ts
index c9180efde26..2ad6a407b9b 100644
--- a/packages/twenty-server/src/engine/core-modules/billing/billing.controller.ts
+++ b/packages/twenty-server/src/engine/core-modules/billing/billing.controller.ts
@@ -46,7 +46,7 @@ export class BillingController {
private readonly billingWebhookCustomerService: BillingWebhookCustomerService,
) {}
- @Post(['billing/webhooks', 'webhooks/stripe'])
+ @Post(['webhooks/stripe'])
async handleWebhooks(
@Headers('stripe-signature') signature: string,
@Req() req: RawBodyRequest<Request>,