diff --git a/apps/api/src/services/external/stripeService.ts b/apps/api/src/services/external/stripeService.ts index 5cc55ff4d..ff1d705ba 100644 --- a/apps/api/src/services/external/stripeService.ts +++ b/apps/api/src/services/external/stripeService.ts @@ -4,7 +4,7 @@ import Stripe from "stripe"; import { env } from "@src/utils/env"; -const stripe = new Stripe(process.env.StripeSecretKey, { apiVersion: "2022-08-01" }); +const stripe = new Stripe(process.env.StripeSecretKey, { apiVersion: "2024-06-20" }); export async function getBillingPortalUrl(userId: string) { const userSettings = await UserSetting.findOne({ where: { userId: userId } });