Create a new Identity Verification
Create a new Identity Verification for the user specified by the client_user_id and/or user_id field. At least one of these two fields must be provided. The requirements and behavior of the verification are determined by the template_id provided. If user_id is provided, there must be an associated user; otherwise, an error will be returned.
If you don't know whether an active Identity Verification exists for a given client_user_id and/or user_id, you can specify "is_idempotent": true in the request body. With idempotency enabled, a new Identity Verification will only be created if one does not already exist for the associated client_user_id and/or user_id, and template_id. If an Identity Verification is found, it will be returned unmodified with a 200 OK HTTP status code.
If user_id is not provided, you can also use this endpoint to supply information you already have collected about the user; if any of these fields are specified, the screens prompting the user to enter them will be skipped during the Link flow. If user_id is provided, user information can not be included in the request body. Please use the /user/update endpoint to update user data instead.
Request body
Example request
{
"client_user_id": "your-db-id-3b24110",
"user_id": "usr_dddAs9ewdcDQQQ",
"is_shareable": true,
"template_id": "idvtmp_4FrXJvfQU3zGUR",
"gave_consent": true,
"user": {
"email_address": "user@example.com",
"phone_number": "+12345678909",
"date_of_birth": "1990-05-29",
"name": {
"given_name": "Leslie",
"family_name": "Knope"
},
"address": {
"street": "123 Main St.",
"street2": "Unit 42",
"city": "Pawnee",
"region": "IN",
"postal_code": "46001",
"country": "US"
},
"id_number": {
"value": "123456789",
"type": "us_ssn"
},
"client_user_id": "your-db-id-3b24110",
"ip_address": "192.0.2.42"
},
"is_idempotent": true
}Response
OK
Example response
{
"id": "idv_52xR9LKo77r1Np",
"client_user_id": "your-db-id-3b24110",
"created_at": "2020-07-24T03:26:02Z",
"completed_at": "2020-07-24T03:26:02Z",
"previous_attempt_id": "idv_42cF1MNo42r9Xj",
"shareable_url": "https://flow.plaid.com/verify/idv_4FrXJvfQU3zGUR?key=e004115db797f7cc3083bff3167cba30644ef630fb46f5b086cde6cc3b86a36f",
"template": {
"id": "idvtmp_4FrXJvfQU3zGUR",
"version": 2
},
"user": {
"phone_number": "+12345678909",
"date_of_birth": "1990-05-29",
"ip_address": "192.0.2.42",
"email_address": "user@example.com",
"name": {
"given_name": "Leslie",
"family_name": "Knope"
},
"address": {
"street": "123 Main St.",
"street2": "Unit 42",
"city": "Pawnee",
"region": "IN",
"postal_code": "46001",
"country": "US"
},
"id_number": {
"value": "123456789",
"type": "us_ssn"
}
},
"status": "success",
"steps": {
"accept_tos": "success",
"verify_sms": "success",
"kyc_check": "success",
"documentary_verification": "success",
"selfie_check": "success",
"watchlist_screening": "success",
"risk_check": "success"
},
"documentary_verification": {
"status": "success",
"documents": [
{
"status": "success",
"attempt": 1,
"images": {
"original_front": "https://example.plaid.com/verifications/idv_52xR9LKo77r1Np/documents/1/original_front.jpeg",
"original_back": "https://example.plaid.com/verifications/idv_52xR9LKo77r1Np/documents/1/original_back.jpeg",
"cropped_front": "https://example.plaid.com/verifications/idv_52xR9LKo77r1Np/documents/1/cropped_front.jpeg",
"cropped_back": "https://example.plaid.com/verifications/idv_52xR9LKo77r1Np/documents/1/cropped_back.jpeg",
"face": "https://example.plaid.com/verifications/idv_52xR9LKo77r1Np/documents/1/face.jpeg"
},
"extracted_data": {
"id_number": "AB123456",
"category": "drivers_license",
"expiration_date": "2030-05-29",
"issue_date": "2020-05-29",
"issuing_country": "US",
"issuing_region": "IN",
"date_of_birth": "1990-05-29",
"address": {
"street": "123 Main St. Unit 42",
"city": "Pawnee",
"region": "IN",
"postal_code": "46001",
"country": "US"
},
"name": {
"given_name": "Leslie",
"family_name": "Knope"
}
},
"analysis": {
"authenticity": "match",
"image_quality": "high",
"extracted_data": {
"name": "match",
"date_of_birth": "match",
"expiration_date": "not_expired"
},
"aamva_verification": {
"is_verified": true
}
},
"redacted_at": "2020-07-24T03:26:02Z"
}
]
},
"selfie_check": {
"status": "success",
"selfies": [
{
"status": "success",
"attempt": 1,
"capture": {
"image_url": "https://example.plaid.com/verifications/idv_52xR9LKo77r1Np/selfie/liveness.jpeg",
"video_url": "https://example.plaid.com/verifications/idv_52xR9LKo77r1Np/selfie/liveness.webm"
},
"analysis": {
"age_check": {
"status": "match",
"reported_age": 36,
"age_estimate_lower_bound": 32,
"age_estimate_upper_bound": 38
}
}
}
]
},
"kyc_check": {
"status": "success",
"address": {
"summary": "match",
"po_box": "yes",
"type": "residential",
"street": "match",
"city": "match",
"region": "match",
"postal_code": "match",
"international_details": {
"building": "match",
"county": "match",
"district": "match",
"house_number": "match",
"subpremise": "match",
"thoroughfare": "match"
}
},
"name": {
"summary": "match",
"given_name": "match",
"family_name": "match"
},
"date_of_birth": {
"summary": "match",
"day": "match",
"month": "match",
"year": "match"
},
"id_number": {
"summary": "match"
},
"phone_number": {
"summary": "match",
"area_code": "match"
}
},
"risk_check": {
"status": "success",
"behavior": {
"user_interactions": "risky"
},
"email": {
"is_deliverable": "yes",
"breach_count": 1,
"first_breached_at": "1990-05-29",
"last_breached_at": "1990-05-29",
"domain_registered_at": "1990-05-29",
"domain_is_free_provider": "yes",
"domain_is_custom": "yes",
"domain_is_disposable": "yes",
"top_level_domain_is_suspicious": "yes",
"is_edu": "no_data",
"includes_date_of_birth": "no_data",
"name": "match",
"linked_services": [
"facebook"
]
},
"phone": {
"linked_services": [
"facebook"
]
},
"devices": [
{
"ip_spam_list_count": 1,
"ip_timezone_offset": "+06:00:00"
}
],
"facial_duplicates": [
{
"id": "idv_52xR9LKo77r1Np",
"similarity": 95,
"matched_after_completed": true
}
],
"trust_index_score": 86
},
"verify_sms": {
"status": "success",
"verifications": [
{
"status": "success",
"attempt": 1,
"phone_number": "+12345678909",
"delivery_attempt_count": 1,
"solve_attempt_count": 1,
"initially_sent_at": "2020-07-24T03:26:02Z",
"last_sent_at": "2020-07-24T03:26:02Z",
"redacted_at": "2020-07-24T03:26:02Z"
}
]
},
"watchlist_screening_id": "scr_52xR9LKo77r1Np",
"user_id": "usr_dddAs9ewdcDQQQ",
"redacted_at": "2020-07-24T03:26:02Z",
"latest_scored_protect_event": {
"event_id": "ptevt_7AJYTMFxRUgJ",
"timestamp": "2020-07-24T03:26:02Z"
}
}