Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

registerVerification

This method must be called before any of the other web methods in this API for a verification of an individual person.  This method will register the person’s details, a.k.a. the “master record”, with greenID.  This method establishes a verificationId that must be used to identify this particular verification attempt in subsequent method calls.

This method also performs a series of background checks, as per the configuration of the caller's greenID account.  This may range from no checks at all, to a comprehensive set of checks including international watch lists, credit header checks, and even checks of government issued documents, such as passports, against issuer records.

The results of the registration process and background checks are returned to the caller in a CurrentStatusV5 object.  This object contains:

  • the result of the verification process thus far;
  • a list of data sources that will help the person become fully verified; and
  • a user token, if one was requested (see parameters below).

A Note on Addresses

The Address complex type is intended for use with all international addresses.  The country field should be populated with the ISO 3166 alpha2 country code, i.e. the two character country abbreviation such as "AU" or "NZ".  For full details about the country codes, please refer to https://www.iso.org/obp/ui/#search.

As a specific note about New Zealand addresses, the "city" element is not required for any current greenID data sources, so this is not required to be passed to greenID.  Populating the suburb element into the suburb field is sufficient for the current range of New Zealand data sources.  Also, the state field can be left blank for New Zealand addresses.

Input Parameters


Name

Type

Required

Restrictions

accountId

String

Yes

GreenID issues each customer with an accountId, which is a unique identifier by which greenID knows the caller.  This accountId must be supplied with every call to any method in this API.

password

String

Yes

Each customer is issued a password that must be supplied with every call to any web method in this API.

verificationId

String

May be null

Each verification attempt for a person must have a verificationId, which is a unique identifier that greenID and the caller use to refer to a verification attempt for an individual person.  If the caller supplies the verificationId then greenID stores and uses that identifier; otherwise, greenID will generate a unique verificationId.  The verificationId is returned to the caller.

ruleId

String

Yes

Callers have one or more rules configured for their greenID account.  This string must identify one of those rules.  Contact greenID for the names of the rules configured for your account.  If only one rule is configured, then the string “default” will automatically select that rule.

Customers who are checking watch lists only will have a specific ruleId that will need to be passed in this field. Please confirm this ruleId with your greenID representative.

name

Name

Yes


email

String

May be null

Must be a valid email address following the Standard Hibernate validation and checking Top Level Domain (TLD) is valid. See https://data.iana.org/TLD/tlds-alpha-by-domain.txt

currentResidentialAddress

Address

Yes


previousResidentialAddress

Address

May be null


dob

DateOfBirth

Yes

Must be a valid date in the past.

homePhone
String

May be null

Must be provided in E164 international format (i.e. prefixed with +<country code>). 

workPhone

String

May be null

Must be provided in E164 international format (i.e. prefixed with +<country code>). 

mobilePhone

String

May be null

Must be provided in E164 international format (i.e. prefixed with +<country code>). 

deviceId

String

May be null

The unique deviceID of the customer's device which remains fixed over time. This is usually provided by businesses such as Threatmetrix or Iovation.

ipAddress

String

May be null

A valid IPv4 or IPv6 address.

deviceIDData

String

May be null

This parameter is only needed for customers using the ReD Shield device verification service. Customers not using this service can leave this field blank. If you are using the ReD Shield device verification service, then please contact Edentiti for technical details regarding this field.

generateGreenIdWebVerificationToken

boolean

No

This parameter indicates whether a verification token is required. If "true", the registerVerification method will produce a verification token, referred to as a userToken or verificationToken, just as the getGreenIdWebVerificationToken  method would.  For information about verification tokens, please refer to the getGreenIdWebVerificationToken method.  If a verification token is not required, this parameter should be set to  “false”.

extraData

List<NameValuePair>

NoThis parameter allows the customer to send extra data that will need to be agreed upon before implementation. It will be a simple key/value format. If there is no previous agreement for certain keys to be sent in this field then it will be ignored.

Return Value

This method returns CurrentStatusV53 object.  The following members will be populated:

  • verificationResult – this  member will contain the results of all the background checks that were performed.
  • sourceList – this field will contain a list of data sources, which will help the person become fully verified.
  • registrationDetails - this field will contain all the details that were supplied for registration.

Exceptions

  • InvalidCustomerIdException – the accountId input parameter was missing or not recognised.
  • InvalidRuleIdException – the ruleId input parameter was missing or not recognised.
  • InvalidCertificateException – if certificates are used to connect, then this exception may be thrown if an invalid certificate is used.
  • InvalidPasswordException – the password input parameter was missing or incorrect.
  • InvalidFieldException – one of the required fields was missing, or the format of a field was not valid.  For example, this may be thrown if an email address is not valid.
  • InvalidSourceIPAddressException - if web service IP restriction is enabled, then this exception will be thrown if the caller's IP address is not white-listed.
  • SystemException - an unexpected error occurred.


The following exceptions may be thrown:

Note that exceptions will be wrapped and returned using the normal SOAPFault mechanism.

getSources

This method is used to get a list of data sources, which, if completed, will help a person become fully verified.  The method will also return the person’s verification status to date.

Input Parameters


Name

Type

Required

Restrictions

accountId

String

Yes

GreenID issues each customer with an accountId, which is a unique identifier by which greenID knows the caller.  This accountId must be supplied with every call to any method in this API.

password

String

Yes

Each customer is issued a password that must be supplied with every call to any web method in this API.

verificationId

String

Yes

This parameter must be a valid verficationId that has been previously registered, via the registerVerification web method, with greenID.  If the verficationId cannot be found in the greenID database, then an InvalidTokenException will be thrown.

greenIdWebVerificationToken

String

No

This parameter is reserved for the SimpleUI.  All customers should ignore this parameter, and set it to null.

extraData

List<NameValuePair>

No

This parameter is used to send additional request information to greenID.  The various parameters are mentioned as required in this documentation.

Return Value

This method returns CurrentStatusV5 object.  The following members will be populated:

  • verificationResult – this  field contains the results of checks that have been performed to date, and the person’s current verification status.
  • sourceList – this field will contain a list of data sources, which will help the person become fully verified.
  • registrationDetails - this field will contain all the details that were supplied for registration.

...