Table of Contents |
---|
RegistrationResultV2
Name
Type
Description
registrationResult
String
The outcome of the registration process. It will be one of:
- SUCCESSFUL_REGISTRATION - personal details was successfully extracted from an identity card, and those details passed the verification step.
- UNMATCHED_DOCUMENT - personal details was successfully extracted from an identity card, but those details did not pass the verification step.
- UNREADABLE_DOCUMENT - personal details could not be extracted from an identity card.
UserDataV2
Name
Type
Description
name
The person's name.
CurrentStatusV2
Name
Type
Description
sourceList
This member contains a list of SourceV2 objects, each of which corresponds to a data source that is available to the person for the purpose of becoming fully verified. The SetFields web method expects a source name chosen from this list as the sourceId input parameter.
verificationResult
This member contains all of the verification information currently available for a verification attempt. It is a complete record of all checks that have been performed, their results, and an indicator of the overall verification status.
sourceFields
This member contains a list of fields that are required for a particular data source. This includes the field’s name, type and other pertinent information for displaying and collecting a value for the field. This member will only be populated when a method that fetches source fields is called, i.e. GetFields.
LastCheckResultV2
Name
Type
Description
stillWorking
boolean
This member indicates whether the check is still in progress. This feature is still under development; currently the value is always false.
state
String
This member gives the current state of the check. Valid values are:
- “VERIFIED” – the check against the data source has succeeded.
- “VERIFIED_ADMIN” – an administrative user has marked the check as successful, after manual inspection of the results. This mostly applies to checks that were previously “Pending review” (see below).
- “VERIFIED_WITH_CHANGES” – the check against the data source passed, but the person made some changes to their details in order to pass. If the changes are acceptable according to the customer’s rules, then this state is applied; otherwise the status may remain as “PENDING”.
- “PENDING” – the check against the data source passed, but the person made some changes to their details in order to pass, and manual intervention is required to assess the changes.
- “ERROR” – an error was experienced during the check, for example, the data source was unavailable.
- “LOCKED_OUT” – some data sources have a limited number of attempts associated with them, and if that threshold is exceeded, then the person is prevented from trying again.
- “AUTOFAIL” – applies to background checks, and indicates that a check that was attempted automatically has failed, i.e. the check against the data source was not successful.
- “IN_PROGRESS” – the check is currently in progress, i.e. the check has been started, but not enough data has been gathered to allow the check to be completed.
- “NOT_FOUND_ON_LIST” – this status applies watchlist style checks.
- “FOUND_ON_LIST” – this status also applies to watchlist style checks.
- “PASSED” - this status applies to the device/fraud watchlist source, and indicates a non-suspicious result.
- “FAILED” - this status applies to a source when the check has been unsuccessful - ether the data has not matched or (in the case of some interactive checks) the user has changed some data violating the the requirements of the rules.
- “EMPTY” – indicates this check has not been used.
SourceListV2
Name
Type
Description
sources
List<SourceV2>
Simply a list of SourceV2 objects.
SourceV2
Name
Type
Description
state
String
This member reflects the current state of the source. The valid values are the same as the state member of the LastCheckResultV2 object. If a source has not been used, then this member will be “EMPTY”.
passed
boolean
This member indicates whether this source has been passed, i.e. the check is in one of the verified states.
name
String
This member is the name of the data source. This name is expected to be used to refer to this data source in calls to the SetFields web method.
SourceFieldsV2
Name
Type
Description
fieldList
This member contains a list of fields that are required for a particular data source. The members of list represent HTML fields for collecting input from the person.
FieldListV2
Name
Type
Description
field
List<FieldV2>
This member simply contains a list of FieldV2 objects.
FieldV2
Name
Type
Description
type
String
The type of HTML input that is required (at least strongly suggested) for collecting the data for this field from the person. For example, a value of “text” would indicate a simple HTML text input is appropriate.
name
String
The name of the HTML input that would collect data for this field from the person. The name also indicates what the data field is, for example, the value “aec_givenname” indicates the field holds the given name for the AEC data source.
value
String
This member contains any pre-existing value for the HTML field. For example, the Field with the name “aec_givenname” will be pre-populated with the person’s given name (derived from the person’s master record established during the call to the RegisterUser web method) the first time the GetFields method is called with the sourceId “aec”.
CurrentStatus
The CurrentStatus object is the sole return type of all the web methods in the API. It is intended to provide information about what has just happened, as well as giving an overview of the person’s current verification status, and the list of data sources that will help the person become fully verified. Always presenting this information helps to reduce the chattiness between greenID and the customer application.
...