diff --git a/services/web/types/stripe/webhook-event.ts b/services/web/types/stripe/webhook-event.ts new file mode 100644 index 0000000000..6be2ea1e95 --- /dev/null +++ b/services/web/types/stripe/webhook-event.ts @@ -0,0 +1,13 @@ +type CustomerSubscriptionCreated = { + type: 'customer.subscription.created' + data: { + object: { + id: string + metadata: { + adminUserId?: string + } + } + } +} + +export type WebhookEvent = CustomerSubscriptionCreated