#drewbie__doobie
1 messages · Page 1 of 1 (latest)
Hi 👋 you can resend Events from an account to webhook endpoints associated with that account, by using this function from the Stripe CLI along with the --webhook-endpoint option:
https://stripe.com/docs/cli/events/resend
But if you're trying to send Events from your Platform account to your Connected Account's endpoint, I don't think that will work.
So, it's an event registered under the Events tab under the connected account. I have been trying to use Stripe CLI to send this specific event from November 22 to my production environment. I receive:
You are not permitted to configure webhook endpoints on a connected account. Did you mean to create a Connect webhook on your account instead?
I may be missing something or mixing up my keys here. But the platform account has an API key which I am also trying to leverage.
That Event will be too old to resend. Only Events generated within the past 30 days are eligible for resend.
Ah crap. Is there any easy way to trigger an account.updated event against this specific connected account?
I just need to verify something takes place when the account is updated within our application.
And unfortunately this piece only exists under the circumstances that it be production and a connected account to our platform account.
Um, that is typically triggered when a change happens to the Account object, I'm trying to think if there is a trivial field that you can update to try to get that Event to be generated.
Would I basically need to trigger the account update via API and that'll kick off a webhook event?
That's what I'm thinking, but am working on testing.
Thank you sir
Yup, I think that's going to be the best approach here. In my test I updated the metadata on an Account, and that triggered the creation of a new account.updated Event. You could add some a new metadata field that isn't related to your flows to get the Event to generate, and then remove that extra field.
Awesome. Thank you, I think that resolves my issue here.