#pitcherojbh
1 messages · Page 1 of 1 (latest)
Recommend you use 2 separate endpoints for the platform events and connect events to make this way easier on you
But connect events will have an account id in the event object: https://stripe.com/docs/api/events/object#event_object-account
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can use that to determine express or standard
Thank you
I have an example of an invoice invoice.finalized webhook event, that is for an Connect Express account, however it does not have the account_id
Likely you're using destination charges
Which don't create events on the connect account
So they count as platform events since the invoice would be created on the platform and only funds would be transfered to connect account
so would we have to use destination charge then to see where the event is for
destination charges are what create events on your platform account as platform events. that sounds like what you're already doing.
But in that case, just check the transfer_data
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Would thi sbe on all events?
Do you use destination charges?
transfer_data is what's used for destination charges
yes, for our Express intergrations