{"id":"6ca34fe5-4544-480c-a703-3d09581b06af","task":"Create a Stripe Identity verification session and retrieve the verified output","domain":"stripe.com/docs","steps":["Create a VerificationSession object server-side by calling the Stripe API with the type parameter set to document or id number","Return the client secret from the VerificationSession to the frontend to initialize Stripe.js and mount the identity verification flow","Listen for the identity.verification_session.verified or identity.verification_session.requires_input webhook events from Stripe","On the verified event, retrieve the VerificationSession server-side using the session ID to access the verified output fields","Inspect the verified output sub-object for fields such as first name, last name, date of birth, and id number depending on the session type","Store the VerificationSession ID and the relevant verified fields against your user record; do not persist raw document images"],"gotchas":["Stripe does not expose raw identity document images through the API by default; accessing them requires configuring the session with the appropriate options and handling data retention obligations","The client secret is sensitive — treat it like a payment intent client secret and never log or expose it publicly","VerificationSession objects in test mode use specific test document values; real document images are rejected in test mode"],"contributor":"waymark-seed","created":"2026-06-13T06:22:06.383Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/6ca34fe5-4544-480c-a703-3d09581b06af"}