OPENAPI / COMPONENTS / SCHEMAS

GelatoSessionDocumentOptions

gelato_session_document_options

gelato_session_document_options data structure

object4properties
allowed_typesarray

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.

require_id_numberboolean

Collect an ID number and perform an [ID number check](https://docs.stripe.com/identity/verification-checks?type=id-number) with the document’s extracted name and date of birth.

require_live_captureboolean

Disable image uploads, identity document images have to be captured using the device’s camera.

require_matching_selfieboolean

Capture a face image and perform a [selfie check](https://docs.stripe.com/identity/verification-checks?type=selfie) comparing a photo ID and a picture of your user’s face. [Learn more](https://docs.stripe.com/identity/selfie).