The VerificationReport object ​
Attributes ​
id(string) Unique identifier for the object.object(string) String representing the object’s type. Objects of the same type share the same value.client_reference_id(string, nullable) A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.created(timestamp) Time at which the object was created. Measured in seconds since the Unix epoch.document(object, nullable) Result of the document check for this report.document.address(object, nullable) Address as it appears in the document.document.address.city(string, nullable) City, district, suburb, town, or village.document.address.country(string, nullable) Two-letter country code (ISO 3166-1 alpha-2).document.address.line1(string, nullable) Address line 1, such as the street, PO Box, or company name.document.address.line2(string, nullable) Address line 2, such as the apartment, suite, unit, or building.document.address.postal_code(string, nullable) ZIP or postal code.document.address.state(string, nullable) State, county, province, or region (ISO 3166-2).
document.dob(object, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) Date of birth as it appears in the document.document.dob.day(integer, nullable) Numerical day between 1 and 31.document.dob.month(integer, nullable) Numerical month between 1 and 12.document.dob.year(integer, nullable) The four-digit year.
document.error(object, nullable) Details on the verification error. Present when status isunverified.document.error.code(enum, nullable) A short machine-readable string giving the reason for the verification failure. Possible enum values:document_expiredThe provided identity document has expired.document_type_not_supportedThe provided identity document isn’t one of the session’s allowed document types.document_unverified_otherStripe couldn’t verify the provided identity document. See the list of supported document types.
document.error.reason(string, nullable) A human-readable message giving the reason for the failure. These messages can be shown to your users.
document.expiration_date(object, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) Expiration date of the document.document.expiration_date.day(integer, nullable) Numerical day between 1 and 31.document.expiration_date.month(integer, nullable) Numerical month between 1 and 12.document.expiration_date.year(integer, nullable) The four-digit year.
document.files(array of strings, nullable) Array of File ids containing images for this document.document.first_name(string, nullable) First name as it appears in the document.document.issued_date(object, nullable) Issued date of the document.document.issued_date.day(integer, nullable) Numerical day between 1 and 31.document.issued_date.month(integer, nullable) Numerical month between 1 and 12.document.issued_date.year(integer, nullable) The four-digit year.
document.issuing_country(string, nullable) Issuing country of the document.document.last_name(string, nullable) Last name as it appears in the document.document.number(string, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) Document ID number.document.sex(enum, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) Sex of the person in the document. Possible enum values:[redacted]The verification has been redacted.femaleFemalemaleMaleunknownCould not determine the user’s sex.
document.status(enum) Status of thisdocumentcheck. Possible enum values:unverifiedThe data being checked was not able to be verified.verifiedThe check resulted in a successful verification.
document.type(enum, nullable) Type of the document. Possible enum values:driving_licenseDrivers license document type.id_cardID card document type.passportPassport document type.
document.unparsed_place_of_birth(string, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) Place of birth as it appears in the document.document.unparsed_sex(string, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) Sex as it appears in the document.
email(object, nullable) Result of the email check for this report.email.email(string, nullable) Email to be verified.email.error(object, nullable) Details on the verification error. Present when status isunverified.email.error.code(enum, nullable) A short machine-readable string giving the reason for the verification failure. Possible enum values:email_unverified_otherStripe was unable to verify the provided email address.email_verification_declinedThe user was unable to verify the provided email address.
email.error.reason(string, nullable) A human-readable message giving the reason for the failure. These messages can be shown to your users.
email.status(enum) Status of thisemailcheck. Possible enum values:unverifiedThe data being checked was not able to be verified.verifiedThe check resulted in a successful verification.
id_number(object, nullable) Result of the id number check for this report.id_number.dob(object, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) Date of birth.id_number.dob.day(integer, nullable) Numerical day between 1 and 31.id_number.dob.month(integer, nullable) Numerical month between 1 and 12.id_number.dob.year(integer, nullable) The four-digit year.
id_number.error(object, nullable) Details on the verification error. Present when status isunverified.id_number.error.code(enum, nullable) A short machine-readable string giving the reason for the verification failure. Possible enum values:id_number_insufficient_document_dataThe provided document didn’t contain enough data to match against the ID number.id_number_mismatchThe information provided couldn’t be matched against global databases.id_number_unverified_otherThe information provided couldn’t be verified. See the list of supported ID numbers.
id_number.error.reason(string, nullable) A human-readable message giving the reason for the failure. These messages can be shown to your users.
id_number.first_name(string, nullable) First name.id_number.id_number(string, nullable, expandable (can be expanded into an object with theexpandrequest parameter)) ID number. Whenid_number_typeisus_ssn, only the last 4 digits are present.id_number.id_number_type(enum, nullable) Type of ID number. Possible enum values:br_cpfAn individual CPF number from Brazil.sg_nricA national registration identity card number from Singapore.us_ssnA social security number from the United States. Only the last 4 digits are collected.
id_number.last_name(string, nullable) Last name.id_number.status(enum) Status of thisid_numbercheck. Possible enum values:unverifiedThe data being checked was not able to be verified.verifiedThe check resulted in a successful verification.
livemode(boolean) If the object exists in live mode, the value istrue. If the object exists in test mode, the value isfalse.options(object, nullable) Configuration options for this report.options.document(object, nullable) Configuration options to apply to thedocumentcheck.options.document.allowed_types(array of enums, nullable) Array of strings of allowed identity document types. If the provided identity document isn’t one of the allowed types, the verification check will fail with a document_type_not_allowed error code. Possible enum values:driving_licenseDrivers license document type.id_cardID card document type.passportPassport document type.
options.document.require_id_number(boolean, nullable) Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.options.document.require_live_capture(boolean, nullable) Disable image uploads, identity document images have to be captured using the device’s camera.options.document.require_matching_selfie(boolean, nullable) Capture a face image and perform a selfie check comparing a photo ID and a picture of your user’s face. Learn more.
options.id_number(object, nullable) Configuration options to apply to theid_numbercheck.
phone(object, nullable) Result of the phone check for this report.phone.error(object, nullable) Details on the verification error. Present when status isunverified.phone.error.code(enum, nullable) A short machine-readable string giving the reason for the verification failure. Possible enum values:phone_unverified_otherStripe was unable to verify the provided phone number.phone_verification_declinedThe user was unable to verify the provided phone number.
phone.error.reason(string, nullable) A human-readable message giving the reason for the failure. These messages can be shown to your users.
phone.phone(string, nullable) Phone to be verified.phone.status(enum) Status of thisphonecheck. Possible enum values:unverifiedThe data being checked was not able to be verified.verifiedThe check resulted in a successful verification.
selfie(object, nullable) Result of the selfie check for this report.selfie.document(string, nullable) ID of the File holding the image of the identity document used in this check.selfie.error(object, nullable) Details on the verification error. Present when status isunverified.selfie.error.code(enum, nullable) A short machine-readable string giving the reason for the verification failure. Possible enum values:selfie_document_missing_photoThe provided identity document didn’t contain a picture of a face.selfie_face_mismatchThe captured face image didn’t match with the document’s face.selfie_manipulatedThe captured face image was manipulated.selfie_unverified_otherStripe couldn’t verify the provided selfie.
selfie.error.reason(string, nullable) A human-readable message giving the reason for the failure. These messages can be shown to your users.
selfie.selfie(string, nullable) ID of the File holding the image of the selfie used in this check.selfie.status(enum) Status of thisselfiecheck. Possible enum values:unverifiedThe data being checked was not able to be verified.verifiedThe check resulted in a successful verification.
type(enum) Type of report. Possible enum values:documentPerform a document check.id_numberPerform an ID number check.verification_flowConfiguration provided by verification flow
verification_flow(string, nullable) The configuration token of a verification flow from the dashboard.verification_session(string, nullable) ID of the VerificationSession that created this report.
The VerificationReport object ​
json
{
"id": "vr_1MwBlH2eZvKYlo2C91hOpFMf",
"object": "identity.verification_report",
"created": 1681337011,
"livemode": false,
"options": {
"document": {}
},
"type": "document",
"verification_session": "vs_NhaxYCqOE27AqaUTxbIZOnHw",
"document": {
"status": "verified",
"error": null,
"first_name": "Jenny",
"last_name": "Rosen",
"address": {
"line1": "1234 Main St.",
"city": "San Francisco",
"state": "CA",
"zip": "94111",
"country": "US"
},
"type": "driving_license",
"files": [
"file_NhaxRCXT8Iuu8apSuci00UC4",
"file_NhaxDeWKGAOTc8Uec7UY9Ljj"
],
"expiration_date": {
"month": 12,
"day": 1,
"year": 2025
},
"issued_date": {
"month": 12,
"day": 1,
"year": 2020
},
"issuing_country": "US"
}
}