config field. Don’t pass the example configuration directly to the intialiseOnboardingWidget() method.
Correct:
JSON
json
Accept passports from countries different to address
ThedocumentTypesconfiguration field supports specifying document types as objects, where you can define the specific countries accepted for that document type.
An array of acceptable countries can be specified for documentTypes and requestAddress separately.
acceptedCountries configuration field will be used.
"ALL" in place of an array to accept documents from any country.
JSON