#Aezur - Indentify Verification Webhook
1 messages ยท Page 1 of 1 (latest)
Hi Aezur. Let's chat in this thread. Give me a moment to catch up
Let me try to find your original thread. I think I need more context
Can you share a request ID for this so I can look deeply?
Or the object ID (verification session id)
Thanks
vs_1KMysmA0rpAHDmfvoRJEiKFz
So I took a look at the verification session. Here is the request where you created the session: https://dashboard.stripe.com/test/logs/req_3Win5ekw77JHw7. Since the request itself was initiated by the platform account, the corresponding webhook event was delivered to the platform's webhook endpoint.
Ultimately, what are you trying to do here?
Just wondering if you have some specific use case for initiating this request by the platform
I am trying to verify a connect account. The documentation says to hit an endpoint on my backend to get the secret with this code:
await stripe.identity.verificationSessions.create({
type: 'document',
metadata: {
user_id: {{user_id}},
},
})
then return the client secret to the front end, and use
await stripe.verifyIdentity(client_secret)
on the frontend, which is exactly what Im doing.
Which doc are you following here?
Hello! I'm taking over and catching up now...
If you're trying to do this on a connected account you'll need to make the API requests on the connected account instead of your platform account: https://stripe.com/docs/connect/authentication
If I am understanding correctly, the only thing I need to change is on the frontend?
This:
var stripe = Stripe('{{PLATFORM_PUBLISHABLE_KEY}}');
should be
var stripe = Stripe('{{PLATFORM_PUBLISHABLE_KEY}}', {
stripeAccount: '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
});
when I am verifying the secret?
Eh, it doesn't matter. I can take it from here. Thank you so much. I thought my brain was going to melt! ๐
You may also need to change your server-side code to make requests on the connected account as well, it depends on your specific scenario. Let us know if hit a blocking issue and we can help further!
Thank you again.
๐ I don't think that's the flow you want
You can't really use Identity to verify a connected account's identity and I don't think you can create a Verification Session on a connected account either
I think you're trying to do something different and there was a misunderstanding
If you use Stripe Connect, you create an account and you collect the details you need (or let us do it) and we verify it. That's a completely separate product from the Identity product
cc @rotund cradle (sorry for stepping on your toes, hope it's okay)
No worries! If I misunderstood please always feel free to jump in!
I am trying to verify identity documents for a connected account to enable payouts and payments.
yeah so you are totally mixing up everything @modern siren
Don't look at Identity at all, it's a product to verify end-users identities
You want to read https://stripe.com/docs/connect/identity-verification-api carefully instead I assume
Thank you. I seem to have got myself all arse-backwards.
No worries, I was confused too! Thanks again @whole rock for jumping in!
Really, thank you guys. I'm beyond appreciative.