#bachir2921
1 messages · Page 1 of 1 (latest)
HI 👋
Both would work in this case. it really depends on what data you want from the object returned.
The Payment Intent object would include the ID of the Invoice it was related to and the Invoice would contain the ID of the Payment Intent. So if you received either you could always retrieve the other object.
Okey thanks!
Is there any particular data you need to get from the webhook event?
not really tbh, both webhooks have the data I need