#Aezur - Indentify Verification Webhook

1 messages ยท Page 1 of 1 (latest)

toxic needle
#

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)

modern siren
#

Sorry, request id?

#

Oh yeah, no worries.

toxic needle
#

Thanks

modern siren
#

vs_1KMysmA0rpAHDmfvoRJEiKFz

toxic needle
#

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

modern siren
#

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.

toxic needle
#

Which doc are you following here?

rotund cradle
#

Hello! I'm taking over and catching up now...

modern siren
#

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! ๐Ÿ˜…

rotund cradle
#

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!

modern siren
#

Thank you again.

whole rock
#

๐Ÿ‘‹ 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)

rotund cradle
#

No worries! If I misunderstood please always feel free to jump in!

modern siren
#

I am trying to verify identity documents for a connected account to enable payouts and payments.

whole rock
#

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

modern siren
#

Thank you. I seem to have got myself all arse-backwards.

rotund cradle
#

No worries, I was confused too! Thanks again @whole rock for jumping in!

modern siren
#

Really, thank you guys. I'm beyond appreciative.