#shpatak
1 messages · Page 1 of 1 (latest)
Hi there!
hi
Have you tried replacing payment_intent.succeeded by account.updated?
I replace payment_intent.succeeded with account.updated but I get an empty list
Yes
However
Can you share one of the event ID that failed (evt_xxx)?
"evt_1MoOjTGdXfRV5G34Lff2z3RX"
This event happened on a connected account (and not on your own account), correct?
If so, you need to use the Stripe-Account header to retrieve events from that account: https://stripe.com/docs/connect/authentication
Correct
Then make sure to check the link I shared above to use the Stripe-Account header.
It means that I have to know the account I want to retrieve events from?
Correct
Just use the same endpoint with the Stripe-Account header, but without any parameters https://stripe.com/docs/api/events/list
something like this: this.stripe.events.list({}, {stripeAccount: "acct_xxx"})
I don't see such key stripeAccount inside the .list method
OOOoh
I see
Got it
Thank you
This works with all API endpoints.