Verify an Identity
Collect and verify identity information, and process the results.
Verify Identity using Personally Identifiable Information
do {
let input = VerifyIdentityInput(
firstName: firstName,
lastName: lastName,
address: address,
city: city,
state: state,
postalCode: postalCode,
country: country,
dateOfBirth: dateOfBirth
)
let verifiedIdentity = try await identityVerificationClient.verifyIdentity(
input: input
)
if verifiedIdentity.verified {
// Identity verified succcessfully.
} else {
// Identity could not be verified.
}
} catch {
// Handle error. An error may be thrown if the backend is unable to perform
// requested operation due to availability or security issues.
// An error might be also be thrown for unrecoverable circumstances arising
// from programmatic error or configuration error. For example, if the keychain
// access entitlement is not set up correctly or basic system resources are
// unavailable.
}Determine if a Face Image is Required with ID Document Verification
Verify Identity using Identity Documents
documentVerificationStatus value
Meaning
Determine if a Face Image is Required with ID Document Capture
Capture and Verify Identity Document
Upload ID Document Images via API
Upload ID Document Images via Web Browser
Last updated