#fobor10362 - Email from Webhook
1 messages · Page 1 of 1 (latest)
Hello. The data object emitted by that webhook event is a subscription: https://stripe.com/docs/api/events/types#event_types-customer.subscription.deleted. You can see the subscription object here: https://stripe.com/docs/api/subscriptions/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Email isn't a field on that object, but customer is
You can retrieve the customer to get their email: https://stripe.com/docs/api/customers/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.