Configuring Specific Credentials
Services such as Document Verification require you to specify the document you will be verifying.
See also:
Example: Initiate a Transaction for a New Account
WebResponse webResponse = jumioClient.initiateNewAccount(FluentBuilderWorkflows.STANDALONE_ID_VERIFICATION_10015) .customerInternalReference("my_company") .callbackUrl("https://myserver.mycompany.com/callback") .withSpecificCredentials( Collections.singletonList( new CredentialRequest() .category("ID") .type( new CredentialType() .values(Arrays.asList("DRIVING_LICENSE", "ID_CARD", "PASSPORT")) ) .country(new CredentialCountry() .values( Arrays.asList( CountryCodeISO3166alpha3.USA, CountryCodeISO3166alpha3.CAN, CountryCodeISO3166alpha3.AUT, CountryCodeISO3166alpha3.GBR ) ) ) ) ) .performWeb(new WebSettings() .successUrl("https://jumio.com/success") .errorUrl("https://jumio.com/failure"));