#Omri-connect-retrieve-pi
1 messages · Page 1 of 1 (latest)
Hey! You'll need to use the Stripe-Account header: https://stripe.com/docs/connect/authentication
ok, thank you
if I add metadata to PI create, I will see the same data of metadata on the charge object also?
I will ask it in other way, how I will handle webhook payment successed\failed with metadata which I need in the webhood endpoint?
if I add metadata to PI create, I will see the same data of metadata on the charge object also?
Yep!
I will ask it in other way, how I will handle webhook payment successed\failed with metadata which I need in the webhood endpoint?
Which events are you listening for? Themetadatafield should be in the event payload
Which events are you listening for? The metadata field should be in the event payload I store the data on the metadata, the events are payment_intent.payment_failed, payment_intent.payment_successfully
ok I think I got you, I will try it
The metadata would be there in the event payload, yep