#bachir2921

1 messages · Page 1 of 1 (latest)

formal crystalBOT
oblique terrace
#

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.

vernal lake
#

Okey thanks!

oblique terrace
#

Is there any particular data you need to get from the webhook event?

vernal lake
#

not really tbh, both webhooks have the data I need