HomeAge Verification HeadlessAI Services for TerminalsAge Estimation VerifySupportTrust APIIdentity Verification LivenessDigital IDIdentity verificationDigital ID MigrationDBS RTWDigital IDDBS/RTW portaleSignaturesAge verificationAge estimationIn-Branch VerificationAge Estimation v2idv-portal-errorsIdentity ProfilesVerifiable Credentialssandbox-betaIdentity Verification APIAI Services APITrust APIProof of Age (PoA) API
Digital ID
v9.0
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Request attributes
AI Tools
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
There are several type of attributes that can be stored on a user's Digital ID app. Yoti provides the ability to request these attributes by specifying a share policy.
The attributes are independent of each other, so they can be requested separately. In order to request the required attributes using our SDKs, see the following examples:
Node.js
Java
PHP
C#
Go
x
const { DigitalIdentityBuilders: { PolicyBuilder }} = require('yoti');const policy = new PolicyBuilder() // using predefined methods to request attributes .withFullName() .withEmail() .withPhoneNumber() .withPostalAddress() .withSelfie() .withAgeOver(18) .withDateOfBirth() .withNationality() .withGender() .withStructuredPostalAddress() .withDocumentDetails() .withDocumentImages() .withWantedRememberMe() // using attributes specified by name .withWantedAttributeByName("given_names") .withWantedAttributeByName("family_name") // if you wish the user to prove it's them by taking a selfie on share .withSelfieAuthentication() .build();After creating the policy, you have to specify it in the session configuration as described here.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on
Was this page helpful?
Next to read:
Digital ID MatchGot a question? Contact us here.
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message