mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 05:11:34 +02:00
Merge pull request #25161 from overleaf/mf-stripe-webhook
[web] Implement stripe webhook for `customer.subscription.created` event type GitOrigin-RevId: f32e7607ddf900211efbe487bcd1f09172100178
This commit is contained in:
13
services/web/types/stripe/webhook-event.ts
Normal file
13
services/web/types/stripe/webhook-event.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
type CustomerSubscriptionCreated = {
|
||||
type: 'customer.subscription.created'
|
||||
data: {
|
||||
object: {
|
||||
id: string
|
||||
metadata: {
|
||||
adminUserId?: string
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export type WebhookEvent = CustomerSubscriptionCreated
|
||||
Reference in New Issue
Block a user