#mizark
1 messages · Page 1 of 1 (latest)
hi! those are details of the PaymentMethod object.
So if you are handling something like a payment_intent event , you call the API to retrieve the payment_method ID from that object and can look at that
So I would need to retrieve the payment method to get the email that was passed in on the frontend?
yes
Is there a way to just get it directly from the webhook response?
no, since the webhook is a payment_intent event and the data is on a PaymentMethod object.
it's really common and normal to retrieve other objets when handling a webhook, that's just how it works and is normal
does it cause a specific concern?
There is a receipt email field though, where is that from?
the email address of the customer
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!