rallly/packages/backend/stripe.ts
2023-08-23 15:29:40 +01:00

8 lines
197 B
TypeScript

import Stripe from "stripe";
export type { Stripe } from "stripe";
export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY as string, {
apiVersion: "2023-08-16",
typescript: true,
});