You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***`proofOfAddress`**: **Optional**. This toggles the proof of address screen on or off. If omitted, this screen does not appear in the flow. Valid values are `true` or `false`
581
581
***`captureDocument`**: **Optional**. This object contains configurations for the document capture screen. If `docType` and `countryCode` are not specified, a screen will appear allowing the user to choose the document type and issuing country. If all parameters are not specified or the step is omitted, this screen will not appear in the flow.
582
582
***`docType`**: **Required** if `countryCode` is specified.
***`countryCode`**: **Required** if `docType` is specified.
585
585
* Valid values in `OnfidoCountryCode`: Any ISO 3166-1 alpha-3 code. For example: `OnfidoCountryCode.USA`.
586
+
***`pages`**: **Required** if `docType` is `GENERIC`, will have no effect otherwise.
587
+
* Valid values in `OnfidoDocumentPages`: `SINGLE`, `FRONT_AND_BACK`.
588
+
***`title`**: **Required** if `docType` is `GENERIC`, will have no effect otherwise.
589
+
* This is used to specify the type of document, any string is permitted here. (`Tax Id`, `Voter Id`, etc.)
586
590
***`allowedDocumentTypes`**: **Optional**. If specified, `docType` and `countryCode` must not be specified. This parameter allows you to specify a list of document types that can be selected for all available issuing countries.
***`captureFace`**: **Optional**. This object contains configuration options for the face capture screen. If omitted, this screen does not appear in the flow.
0 commit comments