#shpatak

1 messages · Page 1 of 1 (latest)

jaunty wraithBOT
west quarry
#

Hi there!

leaden mica
#

hi

west quarry
#

Have you tried replacing payment_intent.succeeded by account.updated?

leaden mica
#

I replace payment_intent.succeeded with account.updated but I get an empty list

#

Yes

#

However

west quarry
#

Can you share one of the event ID that failed (evt_xxx)?

leaden mica
#

"evt_1MoOjTGdXfRV5G34Lff2z3RX"

west quarry
#

This event happened on a connected account (and not on your own account), correct?

leaden mica
#

Correct

west quarry
#

Then make sure to check the link I shared above to use the Stripe-Account header.

leaden mica
#

It means that I have to know the account I want to retrieve events from?

west quarry
#

Correct

leaden mica
#

Oh i see

#

And how to list all events attached to that account? I cannot find it :

west quarry
#

something like this: this.stripe.events.list({}, {stripeAccount: "acct_xxx"})

leaden mica
#

I don't see such key stripeAccount inside the .list method

#

OOOoh

#

I see

#

Got it

#

Thank you

west quarry
#

This works with all API endpoints.