v3.6.0
Profile
Added
- UserProfile
- GetAttributeByID
- GetSelfieAttributeByID
- GetDocumentImagesAttributeByID
- Identity Profile Report attribute:
var identityProfileReportValue map[string]interface{} = userProfile.IdentityProfileReport().Value() // JSON
See examples for usage
- Generate Identity Scheme (DBS/RTW/RTR) QR code with:
identityProfile := []byte(`{
"trust_framework": "UK_TFIDA",
"scheme": {
"type": "DBS",
"objective": "BASIC"
}
}`)
policy, err := (&dynamic.PolicyBuilder{}).
WithIdentityProfileRequirements(identityProfile).
Build()
if err != nil {
return err
}
subject := []byte(`{
"subject_id": "my_subject_id"
}`)
scenario, err := (&dynamic.ScenarioBuilder{}).
WithPolicy(policy).
WithSubject(subject).
WithCallbackEndpoint(yourEndpoint).Build()
IDV
Added
- Watchlist Screening Check
watchlistScreeningCheck, err := NewRequestedWatchlistScreeningCheckBuilder().
WithAdverseMediaCategory().
WithSanctionsCategory().
Build()
- Advanced CA Check
advancedCAYotiAccountCheck, err := check.NewRequestedWatchlistAdvancedCACheckYotiAccountBuilder().
WithRemoveDeceased(true).
WithShareURL(true).
WithSources(check.RequestedTypeListSources{
Types: []string{"pep", "fitness-probity", "warning"}}).
WithMatchingStrategy(check.RequestedFuzzyMatchingStrategy{Fuzziness: 0.5}).
Build()
OR
advancedCACustomAccountCheck, err := check.NewRequestedWatchlistAdvancedCACheckCustomAccountBuilder().
WithAPIKey("api-key").
WithMonitoring(true).
WithTags(map[string]string{
"tag_name": "value",
}).
WithClientRef("client-ref").
WithMatchingStrategy(check.RequestedExactMatchingStrategy{ExactMatch: true}).
Build()
Response retrieved with:
getSessionResult.WatchlistScreeningChecks()
getSessionResult.WatchlistAdvancedCAChecks()