#azh-Connect-test-mode
1 messages ยท Page 1 of 1 (latest)
account.application.authorized
account.application.deauthorized
account.external_account.created
account.external_account.deleted
account.external_account.updated
account.updated
So take a look at https://stripe.com/docs/connect/webhooks
You have to register a Connect endpoint as opposed to a Direct endpoint in order to receive these events
https://stripe.com/docs/api/webhook_endpoints/create#create_webhook_endpoint-connect is the parameter in the API when you register the endpoint
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can also dictate it if you register the endpoint via the Dashboard
Oh! I see now. Can I use the same webhook URL for direct and connected accounts? I guess I shouldn't JIC I have Connect account and Direct account updates?
You can use the same URL if you want. You will know it is a Connect webhook because the JSON will include an account property
But really up to you on that front
oh, which property is it? and will it just specify "direct" vs "connect" ?
Take a look at the above doc I linked. You'll see on a Connect webhook:
"id": "evt_SThNS9pNu6WV1f",
"livemode": true,
"object": "event",
"type": "customer.created",
"account": "acct_ODFSoGclM6zeSZ",
"pending_webhooks": 2,
"created": 1349654313,
"data": {...}
}```
Notice that includes account
Which won't be present on a Direct Webhook (an event that takes place on your platform)
oh gotcha. that make sense. Thanks ๐
I also see that there was an API update on Aug 1. Do you have a link to the updates? I'm hoping Orders is in it
Orders is supported across API versions, it isn't necessary to use the latest to use the Orders API
Is it still in Beta?
Yes it is still in public beta
If you are curious about the breaking changes with the new API version then we document those here: https://stripe.com/docs/upgrades#2022-08-01
cool. Thanks so much ๐