#pitcherojbh

1 messages · Page 1 of 1 (latest)

snow topazBOT
chilly crane
#

Recommend you use 2 separate endpoints for the platform events and connect events to make this way easier on you

#

You can use that to determine express or standard

stray heron
#

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

chilly crane
#

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

stray heron
#

so would we have to use destination charge then to see where the event is for

chilly crane
#

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

stray heron
#

Would thi sbe on all events?

chilly crane
#

Do you use destination charges?

#

transfer_data is what's used for destination charges

stray heron
#

yes, for our Express intergrations

chilly crane
#

Then yeah

#

For direct charges, events are created on the connect accounts

#

So you'd need to create a connect webhook endpoint to receive those events

#

and account id would be populated