#s2j2

1 messages · Page 1 of 1 (latest)

strong monolithBOT
naive delta
#

I believe the connected account would get a account.application.deauthorized event (so as the platform you'd want to create a connet webhook endpoint that listens for that)

stable turret
#

on the description of this webhook it says:

#

"Occurs when a user disconnects from your account and can be used to trigger required cleanup on your server. Available for Standard accounts."

#

what about the express accounts?

naive delta
#

I tested it with an Express account and I see the same event so it seems to work fine

strong monolithBOT
stable turret
#

how were you able to test it?

#

I'm trying to test it against my test env
curl -X DELETE https://api.stripe.com/v1/accounts/acct_xxxxxx\
-u test_key

And got the response
{
"id": "acct_xxxxxx",
"object": "account",
"deleted": true
}%

But I cannot find which webhooks I received

naive delta
#

All I did was delete one of my test express accounts and I could see the connect event come through with stripe listen

#

Again, this is an event you'd only get through a connect endpoint - it's sent to your connected account, not directly to the platform

stable turret
#

got it, I could confirm with stripe listen