Cloudcheck Integrated API1.0

Overview

The Cloudcheck Integrated API service enables a reporting entity to integrate the Cloudcheck service into its website. This allows the reporting entity to perform electronic verification (EV) on a customer, without the customer leaving the reporting entity’s website.

You (as reporting entity) send the data to the Cloudcheck Integrated API via a secure URL, and EV is performed on the data immediately. The results are then returned to you to handle as you need. This process ensures the security of your data, and preserves the integrity of the EV process.

Verification

Path /verify/ Method POST

When requesting a verification from the Cloudcheck API, you must include the following parameters as part of the call.

Please note all these parameters must be posted as URL encoded form data. As such, the request should contain a Content-Type header of application/x-www-form-urlencoded.

Parameter Required Description
key true

Your API Key.

signature true

An HMAC SHA-256 signature of request data for call validation. See details on generating a request signature.

nonce true

A single-use key generated for this request. Note that each nonce may only be used once for each access key.

timestamp true

The system timestamp when the request was created in milliseconds since the Epoch (timezone independent). Note Unix time is in seconds and will need to be multiplied by 1000. Requests with old timestamps will be rejected.

data true

A JSON string containing the details to be verified.

username false

Optional value to link this request to a user in your organisation.

Request

The details to be verified must be supplied as a JSON object, included in the POST as the data parameter. All the request parameters need to be included in the signature generation, and the request signed with the private key provided to you.

Example

To check with additional data sources, more information may be required in the details section of the JSON. 

Additional Data Sources

Response

The response JSON contains the details of the verification, including individual data sources that were checked, and the results for each as well as for the overall check.

Example

The contents of verificationSuccess and verificationPartialSuccess returned by the API are as follows. Note the Read As column indicates how the results should be interpreted, and is not included in the response.

Checking Name, Date of Birth and Address

Verified Partial Success Allowed* Partial Success Not Allowed
Name Date of Birth Address Success Partial Success Read As Success Read As
false false false Fail false Fail
true false false false Fail false Fail
true true false true true Partial false Fail
true true true true false Pass true Pass

*Partial Success only applies if the key in use is configured to allow a pass without a verified address.

Checking Name and Date of Birth

Note no partial success is possible in this case.

Name Verified Date of Birth Verified Success Read As
false false Fail
true false false Fail
true true true Pass

Checking Name and Address

Note no partial success is possible in this case.

Name Verified Address Verified Success Read As
false false Fail
true false false Fail
true true true Pass

The dateofbirthChanged and nameChanged elements indicate whether the date of birth (DOB) or name were changed by the user in the verification form. They will be set to true if Cloudcheck Live scanned and recognised their DOB or name and then the user subsequently changed these details on the form. These fields will only be accurate before the data has been purged.

Results

Path /verify/result/ Method GET

Using a verification reference, the reporting entity can retrieve the results of a verification. Note that details entered by the customer can be retrieved for 7 days following a successful verification. After this time, Cloudcheck disposes of all personal data, but the general verification pass/fail details remain available.

Parameter Required Description
key true

Your API Key.

signature true

An HMAC SHA-256 signature of request data for call validation. See details on generating a request signature.

nonce true

A single-use key generated for this request. Note that each nonce may only be used once for each access key.

timestamp true

The system timestamp when the request was created in milliseconds since the Epoch (timezone independent). Note Unix time is in seconds and will need to be multiplied by 1000. Requests with old timestamps will be rejected.

reference true

The verificationReference as supplied in the JSON response received from the Verification Request call.

Response

See the response notes and example for the Verification endpoint.

Result PDF

Path /verify/pdf/ Method GET

Once verification is complete, you can optionally download a Cloudcheck generated PDF of the verification results.

Parameter Required Description
key true

Your API Key.

signature true

An HMAC SHA-256 signature of request data for call validation. See details on generating a request signature.

nonce true

A single-use key generated for this request. Note that each nonce may only be used once for each access key.

timestamp true

The system timestamp when the request was created in milliseconds since the Epoch (timezone independent). Note Unix time is in seconds and will need to be multiplied by 1000. Requests with old timestamps will be rejected.

reference true

The verificationReference as supplied in the JSON response received from the Verification Request call.

Response

This method will either return a PDF file or a JSON object with an error message. You should check the response Content-Type to determine which you have received.

PEP Review

Path /verify/pep/review/ Method POST

Performs a review of one or more PEP matches.

Parameter Required Description
key true

Your API Key.

signature true

An HMAC SHA-256 signature of request data for call validation. See details on generating a request signature.

nonce true

A single-use key generated for this request. Note that each nonce may only be used once for each access key.

timestamp true

The system timestamp when the request was created in milliseconds since the Epoch (timezone independent). Note Unix time is in seconds and will need to be multiplied by 1000. Requests with old timestamps will be rejected.

data true

A JSON string containing the details to be verified.

Request

The details to be verified must be supplied as a JSON object, included in the POST as the data parameter. All the request parameters need to be included in the signature generation, and the request signed with the private key provided to you.

Example

The valid values of the decision element are CLEARED and OUR_CLIENT.

Response

An example of a successful response is shown below:

Example

The matchesUpdated element shows how many PEP matches were updated. If invalid PEID's are passed in the request they will be ignored.

Reports

Path /verify/report/:type Method GET

Run various reports with a maximum date range of one month. Only one report of a given type can be run at one time. If you attempt to start a second report of the same type as one that is already running you will receive an error explaining this limitation.

Parameter Required Description
key true

Your API Key.

signature true

An HMAC SHA-256 signature of request data for call validation. See details on generating a request signature.

nonce true

A single-use key generated for this request. Note that each nonce may only be used once for each access key.

timestamp true

The system timestamp when the request was created in milliseconds since the Epoch (timezone independent). Note Unix time is in seconds and will need to be multiplied by 1000. Requests with old timestamps will be rejected.

startDate true

Format yyyy-mm-dd. The first date to show records for (inclusive).

endDate true

Format yyyy-mm-dd. The last date to show records for (inclusive).

format false

json or xml. Default is JSON

Request

Report Types

Code Description
summary A count of verifications performed through each service, with a breakdown of successful, partial and failed verifications.
detail Results of all verifications, including results for each data source checked. Note this report is paginated automatically, and can only be run for a single calendar month at a time.
source A summary of the number of checks for each data source, listed by service, including a breakdown of successful, partial and failed verifications.
live A summary of Cloudcheck Live requests.
live-detail A detailed report of Cloudcheck Live requests.
idscan A summary of IDscan requests.
idscan-detail A detailed report of IDscan requests.
akahu A summary of Akahu requests.
akahu-detail A detailed report of Akahu requests.
credfin A summary of Credfin requests.
credfin-detail A detailed report of Credfin requests.
watchlist-errors A list of PEP Watchlist errors that occurred during this period.
mrz-detail A list of MRZ Checks that occurred during this period.
go A summary of Cloudcheck Go requests that occurred during this period.
go-detail Details of Cloudcheck Go requests that occurred during this period.

Example

Status

Path /status/ Method GET

Request

The format of the response depends on the Accept header of the request.

Accept Response Format
text/html HTML
application/json JSON
*/xml XML

Note the table above is in priority order. If the Accept header contains multiple formats the selected option will be HTML first, JSON second, or XML if nothing else matches.

Response

Example