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:
roo hutton
2026-06-25 08:05:34 +00:00
committed by Copybot
parent 29c8717b60
commit 0fab15c58e
3 changed files with 143 additions and 0 deletions
@@ -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