mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #34730 from overleaf/rh-tax-id-verify
Validate tax ids and send emails on failed verification GitOrigin-RevId: 84d53fdaf00d7b23ced22dd540a071e3028ced93
This commit is contained in:
@@ -145,6 +145,18 @@ export interface CustomerUpdatedWebhookEvent extends Stripe.EventBase {
|
||||
}
|
||||
}
|
||||
|
||||
export interface CustomerTaxIdUpdatedWebhookEvent extends Stripe.EventBase {
|
||||
type: 'customer.tax_id.updated'
|
||||
data: {
|
||||
object: Stripe.TaxId
|
||||
previous_attributes?: {
|
||||
verification?: {
|
||||
status?: Stripe.TaxId.Verification.Status
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export type MandateUpdatedWebhookEvent = Stripe.MandateUpdatedEvent
|
||||
|
||||
export type CustomerSubscriptionWebhookEvent =
|
||||
@@ -162,4 +174,5 @@ export type WebhookEvent =
|
||||
| InvoiceOverdueWebhookEvent
|
||||
| CustomerCreatedWebhookEvent
|
||||
| CustomerUpdatedWebhookEvent
|
||||
| CustomerTaxIdUpdatedWebhookEvent
|
||||
| MandateUpdatedWebhookEvent
|
||||
|
||||
Reference in New Issue
Block a user