#alamgirhossen-webhook
1 messages · Page 1 of 1 (latest)
heya @thorn oasis, are you trying to create a Connect webhook on your account? or on your connected accounts? Cause as the error message mentioned, you can't create a webhook endpoint on a connected account
we really don't recommend that you use the connected account's secret key to perform actions on the connected account. You should use the StripeAccount header : https://stripe.com/docs/connect/authentication
is there a reason why you want to setup a webhook endpoint on your connected account via API, instead of listening for Connect events on your platform account?
we want to create a webhook secret key automatically after the stripe connect, so users do not create manually webhook secret key from the stripe dashboard