#pinho

1 messages ยท Page 1 of 1 (latest)

marsh rootBOT
terse blaze
#

Why do you mean it does not show?

vast quartz
#

I login into stripe by using "stripe login --api-key ......" <-- here I put the Test Private Key

#

Then I used the following command: "stripe trigger account.updated"

#

I'm also trying to specify the account, by using the command:

"stripe trigger account.updated --stripe-account ...."

But I'm receiving the error:

leaden kettle
#

๐Ÿ‘‹

#

account.updated takes place on the Connected Account

vast quartz
#

I know

leaden kettle
#

So you won't see the Event in your platfrom Dashboard

#

If that's where you are looking

vast quartz
#

Hummm

#

Where can I see it then?

leaden kettle
#

Well usually you would be triggering this for webhook purposes and wouldn't be viewing the Event. But the trigger should have created a new account and updated that account so you can look for a recently created Connected Account and then view the Events for that Account if you want to view via the Dashboard

vast quartz
#

Ok, I'll give a try. Thanks

leaden kettle
#

Let me know

#

If you can't find it

vast quartz
#

But one thing

#

why does the parameter --stripe-account is not working?

#

"stripe trigger account.updated --stripe-account ...." isn't this the command?

leaden kettle
#

No that command is attempting to run the trigger on your Connected Account, which involves creating a Connected Account for that Connected Account which is impossible

#

Thus the error

vast quartz
#

So, it means I can't trigger an update on an connected account?

leaden kettle
#

Basically running that command means that you are having two requests occur... a new account is created and then it is updated.

vast quartz
#

Will Stripe at least trigger the Connected Account events to the endpoint "account.updated"?

leaden kettle
#

Not sure what you mean by that?

vast quartz
#

I only have Connected Accounts

#

I'm building a market place

#

I need to receive information about the Connected Accounts, more specifically, when the Connected Account is updated

leaden kettle
#

Sure

#

Yes these Events will go to your Connect Webhook Endpoint

#

(I think that is what you are asking?)

vast quartz
#

I know they will go to my Connect Webhook Endpoint, but will they also trigger the "account.updated" event?

#

Ok, by looking at the documentation, it seems yes, it will trigger the "account.updated" event.

leaden kettle
#

Sorry I don't know what you are referring to when you say "they" here. Like but will they also trigger the "account.updated" event?. What is "they"?

vast quartz
#

Ok, clarification:


  1. I'm building a marketplace
  2. I only use Connected Accounts
  3. Stripe requires the connected accounts to update sensitive information over time, in order to remain ACTIVE
  4. Stripe sends an event towards account.updated that I'm listening

I was trying to simulate the event account.updated for a specific, ALREADY CREATED, connected account in test mode. I'm unable to do this. I have used the command stripe trigger account.updated --stripe-account acct_1LttweCLmWGG3Ule but got an error (you can see it in the image above)

leaden kettle
#

Sure, thanks for clarifying. Like I said, not possible through the CLI using the trigger command. You would just update that Connected Account yourself in this case to manually trigger the event. You can use the CLI to make API requests like this too or you could use cURL or a client library.

vast quartz
#

Ok, got it. I was just making sure that Stripe is going to indeed call account.updated on Connected Accounts. By looking at the documentation, the answer is yes, quote:

"Listen to account.updated events with a Connect webhook." https://stripe.com/docs/connect/express-accounts

#

I think all good. Thank you for your help

leaden kettle
#

๐Ÿ‘