Skip to content

SDK-2825 Support for IDV company profile (set/retrieve) - #605

Merged
laurent-yoti merged 4 commits into
developmentfrom
SDK-2825-company-profile
Oct 15, 2026
Merged

laurent-yoti merged 4 commits into
developmentfrom
SDK-2825-company-profile

Conversation

@laurent-yoti

@laurent-yoti laurent-yoti commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

NEW

Add a company profile to the session specification

// CompanyProfileBuilder // new - import from 'yoti'

const companyProfile = new CompanyProfileBuilder().withCompanyName('My Company').build();

const sessionSpec = new SessionSpecificationBuilder()
    .... // as usual
    .withCompanyProfile(companyProfile)
    .build()

Retrieve a company profile from a session

const sessionResult = await idvClient.getSession(sessionId);
const companyProfile = sessionResult.getCompanyProfile()
const getCompanyName = companyProfile.getCompanyName()

@laurent-yoti
laurent-yoti force-pushed the SDK-2825-company-profile branch from 89af463 to d75f9b6 Compare October 6, 2026 10:24
Updated SessionSpecificationBuilder to have a withCompanyProfile() method and SessionSpecification to expose the "company_profile".
Update GetSessionResult to extract and expose both "organisationName" and "companyProfile".
Comment thread src/idv_service/session/retrieve/get.session.result.js
laurent-yoti and others added 2 commits October 7, 2026 10:12
Co-authored-by: Abdalmajeed Aljaradi <102966514+abdalmajeed-yoti@users.noreply.github.com>
@laurent-yoti
laurent-yoti merged commit 29e6ab4 into development Oct 15, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants