#JCoDog-identity

1 messages ยท Page 1 of 1 (latest)

static geode
bold hazel
#

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.

static geode
#

Thanks for the info. Looking in to this now

bold hazel
#

Is it the same as verified_outputs.forename and verified_outputs.surname?

#

Or is it something else?

static geode
#

When you expand verified_output.dob they should show up in the data that you get back. Do they not?

bold hazel
#

No I just take the day month and year

static geode
#

Where are you seeing forename and surname?

bold hazel
#

I added those to the expand thing

static geode
#

And day, month, year is all you are getting back from the retrieve call at the moment?

bold hazel
#

I have their forename and surname and I want to check it against verification to confirm identity

static geode
#

Do you have an example request id (req_123) for a time you made this call?

bold hazel
static geode
#

But yes if you have that ID that will be helpful

bold hazel
#

req_4e4EW6634w6R3n

static geode
#

Thank you

bold hazel
#

I dont see anything where the request for the data was taken... just to start the session.

static geode
#

That doc specifies how to get the request ID after making the call.

#

So it looks like that session has that info

bold hazel
static geode
#

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?

bold hazel
#

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?

static geode
#

Yes that looks correct

#

Have you been able to run it yet?

bold hazel
#

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.

static geode
#

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

bold hazel
#

Oh ok thanks

#

Do I even need .dob or can I just expand verified_outputs and get dob?

plain coyote
#

hey there just catching up one minute

bold hazel
#

No worries

plain coyote
#

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.

bold hazel
#

Ok so do get day month and year from dob i just need verified_outputs expanded?

plain coyote
#

I would expect so yes, but would recommend you do a quick test to confirm

bold hazel
#

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.

plain coyote
#

quite welcome! yep thats fine if you've got what you need working ๐Ÿ™‚