#JCoDog-identity
1 messages ยท Page 1 of 1 (latest)
This is what I currently check but I cannot figure out what I need to expand to get first name, last name and if the document is verified or not.
Thanks for the info. Looking in to this now
Is it the same as verified_outputs.forename and verified_outputs.surname?
Or is it something else?
The docs have verified_outputs.first_name and verified_outputs.last_name https://stripe.com/docs/api/identity/verification_sessions/object#identity_verification_session_object-verified_outputs-first_name
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
When you expand verified_output.dob they should show up in the data that you get back. Do they not?
No I just take the day month and year
Where are you seeing forename and surname?
I added those to the expand thing
And day, month, year is all you are getting back from the retrieve call at the moment?
I have their forename and surname and I want to check it against verification to confirm identity
Do you have an example request id (req_123) for a time you made this call?
Also it looks like you want to look for a status of verified https://stripe.com/docs/api/identity/verification_sessions/object#identity_verification_session_object-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Would this be verif session ID?
I am talking about the request ID https://stripe.com/docs/api/request_ids
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But yes if you have that ID that will be helpful
req_4e4EW6634w6R3n
Thank you
I dont see anything where the request for the data was taken... just to start the session.
That doc specifies how to get the request ID after making the call.
So it looks like that session has that info
It has the info... But I just need to action on it. So this would be correct now yes?
I am not sure I understand your question. So you now have the DOB and name info you need, as well as whether it has been verified. Is that correct or are we still looking for any of that?
So the session gets that info... i just need to use it in the code. So would the code here be how to get it?
No I need to change the code for this integration to test before I can
Well I dont know... i know the DOB one works as I have had this working for a while but my needs for the verification changed to confirm user names to prevent fraud.
from what I read, first and last name as I put it returns a string so should work as I need it.
Ah I see. Also I spotted a small issue, you can remove verified_outputs.first_name and verified_outputs.last_name from your expand parameter. Just expanding verified_outputs.dob will expand the whole verified_outputs field and include the name info
hey there just catching up one minute
No worries
verified_outputs should be sufficient for expanding all the contents. Expansion happens in layers so you'd get everything in the layer that isn't itself optionally expandable/includable.
Ok so do get day month and year from dob i just need verified_outputs expanded?
I would expect so yes, but would recommend you do a quick test to confirm
I will stick to the .dob then as I know it works and have no way to test on the integration.
Thanks for your help today
This is everything and all I did was add the name check.
quite welcome! yep thats fine if you've got what you need working ๐