- Moody's Maxsight help center
- Maxsight™
- Partner experience
- Reference
- Validation suite tests for checks
Validation suite tests for checks
Tests for custom check types
For INDIVIDUAL_CUSTOM
and COMPANY_CUSTOM
check types, a few tests are run to ensure that your response contains the minimal data required and the correct format is followed.
These tests:
Provide a decision in the check result
Provide a summary in the check result
Have a check result summary that is non-empty
Have a check result summary that is of appropriate length or shorter than 450 characters
As per the other check types, these tests are performed by assessing the response to the demo_result
value of ANY
. The following response can be used to pass the validation suite.
{ "provider_data": "Demo result. Did not make request to integration.", "external_resources": [], "result": { "decision": "PASS", "summary": "The demo result was completed." }, "errors": [], "warnings": [] }
Tests for screening check types
If your integration is an INDIVIDUAL_SCREENING
or COMPANY_SCREENING
check type, in addition to the standard tests, the following tests are also performed, using the following demo_result
values.
Note
Your integration must support at least REFER
as well as any other relevant flag types.
Note
A hit is considered an object in the screening_hits
array.
A flag is considered an entity in the screening_hits.[n].flags
array.
Flags refer to one or more of the event types of INTERNAL_WATCHLIST
, WATCHLIST
, PEP
, REFER
, SANCTION
, and ADVERSE_MEDIA
.
ANY
This expects any valid response as per the screening check type.
{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "INDIVIDUAL", "screening_hits": [ { "provider": { "hit_id": "12345-A", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "John Smith", "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "confidence_score": 0.73, "dates": [ { "type": "DOB", "date": "1975-01-01" } ] }, "flags": [ { "ref": "F0001", "type": "REFER", "detail_code": "DPP", "stage": { "stage_code": "FIM", "date": "2019-08-29" }, "source": { "source_ref": "ID1", "name": "Data Regulator", "description": "Country A's Data Regulation Authority" } } ] }, { "provider": { "hit_id": "12345-B", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "John Andrew Smith", "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "confidence_score": 0.36, "dates": [ { "type": "DOB", "date": "1985-07-14" } ], "pep": { "roles": [ { "pep_classification_code": "HOS", "name": "Prime Minister", "tier": 1, "tenure": { "tenure_type": "CURRENT", "start": "2018-07-22" } }, { "pep_classification_code": "LEG", "name": "Minister of Fun", "tier": 2, "tenure": { "tenure_type": "FORMER", "start": "2016-07-22", "end": "2018-07-22" } } ], "tier": 1, "rating": "A" } }, "flags": [ { "ref": "F0002", "type": "PEP", "detail_code": "PEP", "stage": { "stage_code": "ASC", "date": "2019-08-29" }, "source": { "source_ref": "ID2", "name": "PEP List 1", "description": "A list of PEPs" } }, { "ref": "F0007", "type": "PEP", "detail_code": "PEP", "stage": { "stage_code": "ASC", "date": "2019-08-29" }, "source": { "source_ref": "ID2", "name": "PEP List 1", "description": "A list of PEPs" } } ] }, { "provider": { "hit_id": "12345-C", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "John Smyth", "addresses": [ { "type": "UNKNOWN", "label": "Address 1", "address": { "type": "STRUCTURED", "country": "GBR", "county": "London", "postal_code": "SW1A 2AA", "street_number": "10" } }, { "type": "UNKNOWN", "label": "Address 2", "address": { "type": "STRUCTURED", "country": "GBR", "county": "London", "postal_code": "SW1A 2AB", "street_number": "11" } }, { "type": "UNKNOWN", "label": "Address 3", "address": { "type": "STRUCTURED", "country": "GBR", "county": "London", "postal_code": "SW1A 2AC", "street_number": "12" } }, { "type": "UNKNOWN", "label": "Address 4", "address": { "type": "STRUCTURED", "country": "GBR", "county": "London", "postal_code": "SW1A 2AD", "street_number": "13" } } ], "associates": [ { "association": { "label": "Son" }, "data": { "name": "Hunter Sagal" }, "flags": [ { "ref": "F0100", "type": "PEP" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Sam Floren" }, "flags": [ { "ref": "F0101", "type": "SANCTION" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Blake Carr" }, "flags": [ { "ref": "F0102", "type": "WATCHLIST" } ] } ], "countries": [ { "type": "NATIONALITY", "country": "USA" } ], "details": [ { "title": "Occupation", "text": "Businessman" }, { "title": "Position", "text": "Former Governor" }, { "title": "Remarks", "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin quis tempor lacus. Morbi ullamcorper mi et turpis mollis molestie. Morbi eu ante at elit euismod mattis in in velit. Praesent pulvinar eget ex non rhoncus. Suspendisse potenti. Pellentesque cursus massa at odio lacinia, in facilisis odio pharetra. Donec facilisis justo quis felis sodales, vulputate blandit ipsum fringilla. Mauris id fringilla libero. Integer eu placerat massa, at consequat urna. Praesent id tincidunt diam. Cras venenatis metus ut consectetur lacinia. Donec suscipit libero dapibus tellus efficitur egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Duis vel pharetra urna. Quisque luctus at eros non posuere. Mauris venenatis magna vitae augue interdum, in rhoncus purus mollis. Suspendisse laoreet pharetra dolor. Ut pulvinar felis at vehicula egestas. Praesent volutpat odio metus, congue efficitur sapien eleifend quis. Phasellus posuere ex congue gravida cursus. Curabitur maximus consectetur orci, at mattis magna consequat eget. Nulla consectetur et dolor a ullamcorper. Morbi luctus mauris mi, sit amet lobortis magna scelerisque non. Integer molestie mi vitae eros pulvinar, sit amet fermentum quam rutrum. Etiam venenatis ligula a felis volutpat, eu gravida lacus finibus. Praesent vel eleifend nibh, quis sagittis ipsum. Praesent aliquam nibh elementum bibendum porta. Nullam massa elit, rutrum in scelerisque sit amet, congue sit amet quam. Praesent blandit sagittis iaculis. Phasellus eu tellus tellus. Morbi nec felis id massa aliquam facilisis quis ut lorem. Donec mi lectus, blandit sed mauris a, efficitur iaculis lorem. Duis ut metus mi. Cras sapien quam, malesuada non dolor vehicula, ornare mollis turpis. Curabitur sit amet lorem tincidunt, iaculis turpis a, aliquet arcu." } ], "dates": [ { "type": "DOB", "date": "1980-03-12" } ], "confidence_score": 0.92, "media": [ { "flag_ref": "F0003", "snippet": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum eu odio ac vehicula. Proin congue massa est, ac mollis diam elementum non. Fusce aliquet neque vitae risus finibus volutpat. Phasellus est dolor, varius non augue vel, aliquet vehicula mi. Nam fermentum luctus dolor egestas venenatis. Proin nec nibh a arcu pretium ultricies. Mauris in luctus mauris, ut sodales nisl. Mauris eget pellentesque libero. Praesent et erat fringilla, eleifend lacus id, pretium nisl. Phasellus id libero quis tellus maximus venenatis.", "title": "Event description" }, { "flag_ref": "F0004", "snippet": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum eu odio ac vehicula. Proin congue massa est, ac mollis diam elementum non. Fusce aliquet neque vitae risus finibus volutpat. Phasellus est dolor, varius non augue vel, aliquet vehicula mi. Nam fermentum luctus dolor egestas venenatis. Proin nec nibh a arcu pretium ultricies. Mauris in luctus mauris, ut sodales nisl. Mauris eget pellentesque libero. Praesent et erat fringilla, eleifend lacus id, pretium nisl. Phasellus id libero quis tellus maximus venenatis.", "title": "Event description" }, { "flag_ref": "F0005", "snippet": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum eu odio ac vehicula. Proin congue massa est, ac mollis diam elementum non. Fusce aliquet neque vitae risus finibus volutpat. Phasellus est dolor, varius non augue vel, aliquet vehicula mi. Nam fermentum luctus dolor egestas venenatis. Proin nec nibh a arcu pretium ultricies. Mauris in luctus mauris, ut sodales nisl. Mauris eget pellentesque libero. Praesent et erat fringilla, eleifend lacus id, pretium nisl. Phasellus id libero quis tellus maximus venenatis.", "title": "Event description 1" }, { "flag_ref": "F0005", "snippet": "Maecenas faucibus condimentum augue non tincidunt. Maecenas vestibulum, massa ut tempus mattis, dui erat ornare magna, sit amet posuere metus erat non tortor. Mauris sem lacus, laoreet quis vestibulum sit amet, finibus in mi. Aliquam molestie eget tortor dictum blandit. Nullam a mi ac leo venenatis efficitur non et erat. Nulla quam nibh, laoreet elementum dictum et, facilisis in risus. Mauris pulvinar, erat eget lacinia interdum, magna metus ultricies nisl, ut auctor dolor arcu vitae massa. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed faucibus elementum rhoncus. Suspendisse et elit convallis, pharetra mi quis, aliquet felis.", "title": "Event Description 2" }, { "date": "2015-08-29", "snippet": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum eu odio ac vehicula. Proin congue massa est, ac mollis diam elementum non. Fusce aliquet neque vitae risus finibus volutpat. Phasellus est dolor, varius non augue vel, aliquet vehicula mi. Nam fermentum luctus dolor egestas venenatis. Proin nec nibh a arcu pretium ultricies. Mauris in luctus mauris, ut sodales nisl. Mauris eget pellentesque libero. Praesent et erat fringilla, eleifend lacus id, pretium nisl. Phasellus id libero quis tellus maximus venenatis.", "title": "General Media 1" }, { "date": "2017-08-21", "snippet": "Nam nulla massa, blandit eu sodales hendrerit, dapibus in ante. Curabitur id purus nibh. Donec eget dolor eleifend, interdum quam vitae, pulvinar neque. Nullam in velit ligula. Maecenas porta justo ultricies arcu tempor feugiat. In efficitur elementum vulputate. In tincidunt quam eros, nec volutpat leo porttitor sed. Praesent finibus, nisl sit amet volutpat dictum, velit elit porta tellus, a pulvinar est dui et ipsum. Morbi feugiat neque quis commodo consectetur. Quisque venenatis hendrerit leo, nec molestie libero.", "title": "General Media 2" }, { "date": "2019-04-02", "snippet": "Proin ante leo, semper quis congue quis, imperdiet ac ligula. Donec quis posuere massa. Vestibulum accumsan dui id feugiat tincidunt. Mauris aliquet ut enim vitae cursus. Integer gravida in velit iaculis porta. Nullam eget efficitur ligula. Fusce ut elementum ante, non ultrices nisl. Nullam elementum quam sed imperdiet rutrum.", "title": "General Media 3" } ], "sanctions": [ { "flag_ref": "F0003", "name": "John Smyth", "time_periods": [ { "tenure_type": "FORMER", "start": "2016-08-29", "end": "2019-08-29" } ] }, { "flag_ref": "F0004", "name": "John Smyth", "time_periods": [ { "tenure_type": "CURRENT", "start": "2019-08-29" } ] } ], "sources": [ { "source_ref": "ID20", "name": "Picture 1", "description": "Image", "url": "https://cdn.pixabay.com/photo/2014/06/03/19/38/road-sign-361514_1280.png" }, { "source_ref": "ID21", "name": "Picture 2", "description": "Image", "url": "https://upload.wikimedia.org/wikipedia/commons/1/11/Test-Logo.svg" }, { "source_ref": "ID22", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID23", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" }, { "source_ref": "ID24", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID25", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" }, { "source_ref": "ID26", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID27", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" }, { "source_ref": "ID28", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID29", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" }, { "source_ref": "ID30", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID31", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" }, { "source_ref": "ID32", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID33", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" } ] }, "flags": [ { "ref": "F0003", "type": "SANCTION", "detail_code": "WLT", "stage": { "stage_code": "SAN", "date": "2016-08-29" }, "source": { "source_ref": "ID3", "name": "UK HM Treasury Financial Sanctions Target List 1", "url": "https://www.example.com/12346" } }, { "ref": "F0004", "type": "SANCTION", "detail_code": "WLT", "stage": { "stage_code": "SAN", "date": "2019-08-29" }, "source": { "source_ref": "ID8", "name": "UK HM Treasury Financial Sanctions Target List 2" } }, { "ref": "F0005", "type": "ADVERSE_MEDIA", "detail_code": "MIS", "stage": { "stage_code": "ALL", "date": "2019-08-29" }, "source": { "source_ref": "ID4", "name": "Media Org A", "url": "https://www.example.com/23467" } } ] }, { "provider": { "hit_id": "12345-D", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "Jay Smith", "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "confidence_score": 0.85, "dates": [ { "type": "DOB", "date": "1965-03-12" } ] }, "flags": [ { "ref": "F0006", "type": "INTERNAL_WATCHLIST", "source": { "source_ref": "ID5", "name": "Example's Customer Blocklist", "description": "Customer's we don't do business with" } } ] }, { "provider": { "hit_id": "12345-E", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "Jean Smith", "countries": [ { "type": "NATIONALITY", "country": "CAN" } ], "confidence_score": 0.71, "dates": [ { "type": "DOB", "date": "1923-06-27" } ] }, "flags": [ { "ref": "F0007", "type": "WATCHLIST", "detail_code": "SEC", "stage": { "stage_code": "ARB", "date": "2019-08-29" }, "source": { "source_ref": "ID6", "name": "NGO Warning List", "url": "https://www.ngo.com/12346", "description": "NGO's list of bad companies" } } ] } ] } }
{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "COMPANY", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12345-01", "label": "screening-ref" }, "data": { "name": "The Example Company", "aliases": ["The Example Co."], "countries": [ { "type": "REGISTRATION", "country": "GBR" } ], "pep": { "tier": 1, "roles": [ { "pep_classification_code": "GOE", "name": "State owned business", "tier": 1, "tenure": { "tenure_type": "CURRENT" } } ] }, "confidence_score": 0.4 }, "flags": [ { "ref": "F0001", "type": "PEP", "detail_code": "PEP", "stage": { "stage_code": "ASC", "date": "2019-08-29" }, "source": { "source_ref": "ID1", "name": "PEP List", "description": "List of PEPs" } } ] }, { "provider": { "name": "Screening Reference Integration", "hit_id": "12345-02", "label": "screening-ref" }, "data": { "name": "Example", "aliases": ["Example Ltd", "Example Limited"], "countries": [ { "type": "REGISTRATION", "country": "BGD" }, { "type": "REGISTRATION", "country": "BRA" }, { "type": "REGISTRATION", "country": "CHL" }, { "type": "REGISTRATION", "country": "CHN" }, { "type": "REGISTRATION", "country": "GBR" }, { "type": "REGISTRATION", "country": "IND" }, { "type": "REGISTRATION", "country": "JOR" }, { "type": "REGISTRATION", "country": "MEX" }, { "type": "REGISTRATION", "country": "MUS" }, { "type": "REGISTRATION", "country": "TCA" }, { "type": "REGISTRATION", "country": "USA" }, { "type": "REGISTRATION", "country": "ZAF" } ], "media": [ { "flag_ref": "F0003", "date": "2019-08-29", "snippet": "https://www.theguardian.com/politics/2016/jun/24/david-cameron-resigns-after-uk-votes-to-leave-european-union", "title": "David Cameron resigns after UK votes to leave European union" } ], "sanctions": [ { "flag_ref": "F0002", "name": "Example Ltd", "list": { "name": "US Treasury Dept. OFAC Consolidated Non-SDN Sanctions List" }, "time_periods": [ { "tenure_type": "CURRENT", "start": "2019-08-29" } ] } ], "confidence_score": 0.72 }, "flags": [ { "ref": "F0002", "type": "SANCTION", "detail_code": "WLT", "stage": { "stage_code": "SAN", "date": "2019-08-29" }, "source": { "source_ref": "ID2", "name": "US Treasury Dept. OFAC Consolidated Non-SDN Sanctions List", "description": "List of US Sanctioned entities" } }, { "ref": "F0003", "type": "ADVERSE_MEDIA", "detail_code": "MIS", "stage": { "stage_code": "ALL", "date": "2019-08-29" }, "source": { "source_ref": "ID3", "name": "Media Org A", "description": "Media Organisation A" } } ] }, { "provider": { "name": "Screening Reference Integration", "hit_id": "12345-03", "label": "screening-ref" }, "data": { "name": "Example", "aliases": ["Example Ltd", "Example Limited"], "countries": [ { "type": "REGISTRATION", "country": "CAN" } ], "confidence_score": 0.92 }, "flags": [ { "ref": "F0004", "type": "REFER", "detail_code": "DPP", "stage": { "stage_code": "FIM", "date": "2019-08-29" }, "source": { "source_ref": "ID4", "name": "Data Regulator", "description": "Country A's Data Regulation Authority" } } ] }, { "provider": { "name": "Screening Reference Integration", "hit_id": "12345-04", "label": "screening-ref" }, "flags": [ { "ref": "F0005", "type": "INTERNAL_WATCHLIST", "source": { "source_ref": "ID12356", "name": "Example's Customer Blocklist", "description": "Customer's we don't do business with" } } ], "data": { "name": "The Example Company", "confidence_score": 0.81, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ] } }, { "provider": { "name": "Screening Reference Integration", "hit_id": "12346-05", "label": "screening-ref" }, "flags": [ { "ref": "F0006", "type": "WATCHLIST", "detail_code": "SEC", "stage": { "stage_code": "ARB", "date": "2019-08-29" }, "source": { "source_ref": "ID23567", "name": "NGO Warning List", "url": "https://www.ngo.com/12346", "description": "NGO's list of companies" } } ], "data": { "name": "The Example Company", "confidence_score": 0.6, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ] } } ] } }
SCREEN_ALL_FLAGS_SEPARATE_HITS
This expects a response containing all flags, as specified in your
/config
supported_features, spread across separate hits.{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "INDIVIDUAL", "screening_hits": [ { "provider": { "hit_id": "12345-A", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "John Smith", "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "confidence_score": 0.73 }, "flags": [ { "ref": "F0001", "type": "REFER", "detail_code": "DPP", "stage": { "stage_code": "FIM", "date": "2019-08-29" }, "source": { "source_ref": "ID1", "name": "Data Regulator", "description": "Country A's Data Regulation Authority" } } ] }, { "provider": { "hit_id": "12345-B", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "John Andrew Smith", "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "confidence_score": 0.36, "pep": { "roles": [ { "pep_classification_code": "HOS", "name": "Prime Minister", "tier": 1, "tenure": { "tenure_type": "CURRENT", "start": "2018-07-22" } }, { "pep_classification_code": "LEG", "name": "Minister of Fun", "tier": 2, "tenure": { "tenure_type": "FORMER", "start": "2016-07-22", "end": "2018-07-22" } } ], "tier": 1, "rating": "A" } }, "flags": [ { "ref": "F0002", "type": "PEP", "detail_code": "PEP", "stage": { "stage_code": "ASC", "date": "2019-08-29" }, "source": { "source_ref": "ID2", "name": "PEP List 1", "description": "A list of PEPs" } } ] }, { "provider": { "hit_id": "12345-C", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "John Smyth", "countries": [ { "type": "NATIONALITY", "country": "USA" } ], "confidence_score": 0.92 }, "flags": [ { "ref": "F0003", "type": "SANCTION", "detail_code": "WLT", "stage": { "stage_code": "SAN", "date": "2019-08-29" }, "source": { "source_ref": "ID3", "name": "UK HM Treasury Financial Sanctions Target List", "description": "List of UK Sanctioned entities" } } ] }, { "provider": { "hit_id": "12345-D", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "Jason Smith", "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "confidence_score": 0.46, "media": [ { "flag_ref": "F0004", "date": "2019-08-29", "snippet": "https://www.theguardian.com/politics/2016/jun/24/david-cameron-resigns-after-uk-votes-to-leave-european-union", "title": "David Cameron resigns after UK votes to leave European union" } ] }, "flags": [ { "ref": "F0004", "type": "ADVERSE_MEDIA", "detail_code": "MIS", "stage": { "stage_code": "ALL", "date": "2019-08-29" }, "source": { "source_ref": "ID4", "name": "Media Org A", "description": "Media Organisation A" } } ] }, { "provider": { "hit_id": "12345-E", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "Jay Smith", "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "confidence_score": 0.85 }, "flags": [ { "ref": "F0005", "type": "INTERNAL_WATCHLIST", "source": { "source_ref": "ID5", "name": "Example's Customer Blocklist", "description": "Customer's we don't do business with" } } ] }, { "provider": { "hit_id": "12345-F", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "Jean Smith", "countries": [ { "type": "NATIONALITY", "country": "CAN" } ], "confidence_score": 0.71 }, "flags": [ { "ref": "F0006", "type": "WATCHLIST", "detail_code": "SEC", "stage": { "stage_code": "ARB", "date": "2019-08-29" }, "source": { "source_ref": "ID6", "name": "NGO Warning List", "url": "https://www.ngo.com/12346", "description": "NGO's list of bad companies" } } ] } ] } }
{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "COMPANY", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12345-01", "label": "screening-ref" }, "data": { "name": "The Example Company", "confidence_score": 0.62, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ] }, "flags": [ { "ref": "F0001", "type": "REFER", "detail_code": "DPP", "stage": { "stage_code": "FIM", "date": "2019-08-29" }, "source": { "source_ref": "ID4", "name": "Data Regulator", "description": "Country A's Data Regulation Authority" } } ] }, { "provider": { "name": "Screening Reference Integration", "hit_id": "12345-02", "label": "screening-ref" }, "provider_name": "Screening Reference Integration", "data": { "name": "The Example Co.", "confidence_score": 0.76, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ] }, "flags": [ { "ref": "F0002", "type": "PEP", "detail_code": "PEP", "stage": { "stage_code": "ASC", "date": "2019-08-29" }, "source": { "source_ref": "ID1", "name": "PEP List", "description": "List of PEPs" } } ] }, { "provider": { "name": "Screening Reference Integration", "hit_id": "12345-03", "label": "screening-ref" }, "data": { "name": "Example Company", "confidence_score": 0.82, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ], "sanctions": [ { "flag_ref": "F0003", "name": "Example Company", "list": { "name": "Govt Sanction List" }, "time_periods": [ { "tenure_type": "CURRENT", "start": "2016-07-22" } ] } ] }, "flags": [ { "ref": "F0003", "type": "SANCTION", "detail_code": "WLT", "stage": { "stage_code": "SAN", "date": "2019-08-29" }, "source": { "source_ref": "ID2", "name": "Govt Sanction List", "description": "List of Sanctioned entities" } } ] }, { "provider": { "name": "Screening Reference Integration", "hit_id": "12345-04", "label": "screening-ref" }, "data": { "name": "Examples Ltd.", "confidence_score": 0.95, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ], "media": [ { "flag_ref": "F0004", "date": "2019-08-29", "snippet": "https://www.theguardian.com/politics/2016/jun/24/david-cameron-resigns-after-uk-votes-to-leave-european-union", "title": "David Cameron resigns after UK votes to leave European union" } ] }, "flags": [ { "ref": "F0004", "type": "ADVERSE_MEDIA", "detail_code": "MIS", "stage": { "stage_code": "ALL", "date": "2019-08-29" }, "source": { "source_ref": "ID3", "name": "Media Org A", "description": "Media Organisation A" } } ] }, { "provider": { "name": "Screening Reference Integration", "hit_id": "12345-05", "label": "screening-ref" }, "data": { "name": "Examply Ltd.", "confidence_score": 0.42, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ] }, "flags": [ { "ref": "F0005", "type": "WATCHLIST", "detail_code": "SEC", "stage": { "stage_code": "ARB", "date": "2019-08-29" }, "source": { "source_ref": "ID23567", "name": "NGO Warning List", "url": "https://www.ngo.com/12346", "description": "NGO's list of companies" } } ] }, { "provider": { "name": "Screening Reference Integration", "hit_id": "12345-06", "label": "screening-ref" }, "data": { "name": "Examplees Ltd.", "confidence_score": 0.98, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ] }, "flags": [ { "ref": "F0006", "type": "INTERNAL_WATCHLIST", "source": { "source_ref": "ID12356", "name": "Example's Customer Blocklist", "description": "Customer's we don't do business with" } } ] } ] } }
SCREEN_ALL_FLAGS_SAME_HIT
This expects a response containing all flags, as specified in your
/config
supported_features, in the same hit. A hit is considered an object in thescreening_hits
array. A flag is considered an entity in thescreening_hits.[n].flags
array.{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "INDIVIDUAL", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12345", "label": "screening-ref" }, "data": { "name": "John Smith", "addresses": [ { "type": "UNKNOWN", "label": "Address 1", "address": { "type": "STRUCTURED", "country": "GBR", "county": "London", "postal_code": "SW1A 2AA", "street_number": "10" } }, { "type": "UNKNOWN", "label": "Address 2", "address": { "type": "STRUCTURED", "country": "GBR", "county": "London", "postal_code": "SW1A 2AB", "street_number": "11" } }, { "type": "UNKNOWN", "label": "Address 3", "address": { "type": "STRUCTURED", "country": "GBR", "county": "London", "postal_code": "SW1A 2AC", "street_number": "12" } }, { "type": "UNKNOWN", "label": "Address 4", "address": { "type": "STRUCTURED", "country": "GBR", "county": "London", "postal_code": "SW1A 2AD", "street_number": "13" } } ], "aliases": ["Jock Smith", "Johnny Smith"], "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "details": [ { "title": "Occupation", "text": "Businessman" }, { "title": "Position", "text": "Former Governor" }, { "title": "Remarks", "text": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin quis tempor lacus. Morbi ullamcorper mi et turpis mollis molestie. Morbi eu ante at elit euismod mattis in in velit. Praesent pulvinar eget ex non rhoncus. Suspendisse potenti. Pellentesque cursus massa at odio lacinia, in facilisis odio pharetra. Donec facilisis justo quis felis sodales, vulputate blandit ipsum fringilla. Mauris id fringilla libero. Integer eu placerat massa, at consequat urna. Praesent id tincidunt diam. Cras venenatis metus ut consectetur lacinia. Donec suscipit libero dapibus tellus efficitur egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Duis vel pharetra urna. Quisque luctus at eros non posuere. Mauris venenatis magna vitae augue interdum, in rhoncus purus mollis. Suspendisse laoreet pharetra dolor. Ut pulvinar felis at vehicula egestas. Praesent volutpat odio metus, congue efficitur sapien eleifend quis. Phasellus posuere ex congue gravida cursus. Curabitur maximus consectetur orci, at mattis magna consequat eget. Nulla consectetur et dolor a ullamcorper. Morbi luctus mauris mi, sit amet lobortis magna scelerisque non. Integer molestie mi vitae eros pulvinar, sit amet fermentum quam rutrum. Etiam venenatis ligula a felis volutpat, eu gravida lacus finibus. Praesent vel eleifend nibh, quis sagittis ipsum. Praesent aliquam nibh elementum bibendum porta. Nullam massa elit, rutrum in scelerisque sit amet, congue sit amet quam. Praesent blandit sagittis iaculis. Phasellus eu tellus tellus. Morbi nec felis id massa aliquam facilisis quis ut lorem. Donec mi lectus, blandit sed mauris a, efficitur iaculis lorem. Duis ut metus mi. Cras sapien quam, malesuada non dolor vehicula, ornare mollis turpis. Curabitur sit amet lorem tincidunt, iaculis turpis a, aliquet arcu." } ], "dates": [ { "type": "DOB", "date": "1980-03-12" } ], "confidence_score": 0.73, "associates": [ { "association": { "label": "Son" }, "data": { "name": "Hunter Sagal" }, "flags": [ { "ref": "F0100", "type": "PEP" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Sam Floren" }, "flags": [ { "ref": "F0101", "type": "SANCTION" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Blake Carr" }, "flags": [ { "ref": "F0102", "type": "WATCHLIST" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Ren Tanaka" }, "flags": [ { "ref": "F0103", "type": "INTERNAL_WATCHLIST" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Ashley Fitzwilliam" }, "flags": [ { "ref": "F0104", "type": "REFER" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Nayab Ali Khan" }, "flags": [ { "ref": "F0105", "type": "REFER" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Ania Mrugalski" }, "flags": [ { "ref": "F0106", "type": "SANCTION" } ] }, { "association": { "label": "Wife" }, "data": { "name": "Reagan Farruggia" }, "flags": [ { "ref": "F0107", "type": "INTERNAL_WATCHLIST" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Tailor G Evans" }, "flags": [ { "ref": "F0108", "type": "WATCHLIST" } ] }, { "association": { "label": "Daughter" }, "data": { "name": "Wendelin Wallace" }, "flags": [ { "ref": "F0109", "type": "WATCHLIST" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Hunter Sagal" }, "flags": [ { "ref": "F0110", "type": "SANCTION" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Sam Floren" }, "flags": [ { "ref": "F0111", "type": "WATCHLIST" } ] }, { "association": { "label": "Business Partner" }, "data": { "name": "Blake Carr" }, "flags": [ { "ref": "F0112", "type": "WATCHLIST" } ] } ], "pep": { "roles": [ { "pep_classification_code": "HOS", "name": "Prime Minister", "tier": 1, "tenure": { "tenure_type": "CURRENT", "start": "2018-07-22" } }, { "pep_classification_code": "LEG", "name": "Minister of Fun", "tier": 2, "tenure": { "tenure_type": "FORMER", "start": "2016-07-22", "end": "2018-07-22" } } ], "tier": 1, "rating": "A" }, "media": [ { "flag_ref": "F0001", "snippet": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum eu odio ac vehicula. Proin congue massa est, ac mollis diam elementum non. Fusce aliquet neque vitae risus finibus volutpat. Phasellus est dolor, varius non augue vel, aliquet vehicula mi. Nam fermentum luctus dolor egestas venenatis. Proin nec nibh a arcu pretium ultricies. Mauris in luctus mauris, ut sodales nisl. Mauris eget pellentesque libero. Praesent et erat fringilla, eleifend lacus id, pretium nisl. Phasellus id libero quis tellus maximus venenatis.", "title": "Event description" }, { "flag_ref": "F0002", "snippet": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum eu odio ac vehicula. Proin congue massa est, ac mollis diam elementum non. Fusce aliquet neque vitae risus finibus volutpat. Phasellus est dolor, varius non augue vel, aliquet vehicula mi. Nam fermentum luctus dolor egestas venenatis. Proin nec nibh a arcu pretium ultricies. Mauris in luctus mauris, ut sodales nisl. Mauris eget pellentesque libero. Praesent et erat fringilla, eleifend lacus id, pretium nisl. Phasellus id libero quis tellus maximus venenatis.", "title": "Event description 1" }, { "flag_ref": "F0002", "snippet": "Proin ante leo, semper quis congue quis, imperdiet ac ligula. Donec quis posuere massa. Vestibulum accumsan dui id feugiat tincidunt. Mauris aliquet ut enim vitae cursus. Integer gravida in velit iaculis porta. Nullam eget efficitur ligula. Fusce ut elementum ante, non ultrices nisl. Nullam elementum quam sed imperdiet rutrum.", "title": "Event description 2" }, { "flag_ref": "F0003", "snippet": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum eu odio ac vehicula. Proin congue massa est, ac mollis diam elementum non. Fusce aliquet neque vitae risus finibus volutpat. Phasellus est dolor, varius non augue vel, aliquet vehicula mi. Nam fermentum luctus dolor egestas venenatis. Proin nec nibh a arcu pretium ultricies. Mauris in luctus mauris, ut sodales nisl. Mauris eget pellentesque libero. Praesent et erat fringilla, eleifend lacus id, pretium nisl. Phasellus id libero quis tellus maximus venenatis.", "title": "Event description" }, { "flag_ref": "F0004", "snippet": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum eu odio ac vehicula. Proin congue massa est, ac mollis diam elementum non. Fusce aliquet neque vitae risus finibus volutpat. Phasellus est dolor, varius non augue vel, aliquet vehicula mi. Nam fermentum luctus dolor egestas venenatis. Proin nec nibh a arcu pretium ultricies. Mauris in luctus mauris, ut sodales nisl. Mauris eget pellentesque libero. Praesent et erat fringilla, eleifend lacus id, pretium nisl. Phasellus id libero quis tellus maximus venenatis.", "title": "Event description" }, { "flag_ref": "F0005", "snippet": "Maecenas faucibus condimentum augue non tincidunt. Maecenas vestibulum, massa ut tempus mattis, dui erat ornare magna, sit amet posuere metus erat non tortor. Mauris sem lacus, laoreet quis vestibulum sit amet, finibus in mi. Aliquam molestie eget tortor dictum blandit. Nullam a mi ac leo venenatis efficitur non et erat. Nulla quam nibh, laoreet elementum dictum et, facilisis in risus. Mauris pulvinar, erat eget lacinia interdum, magna metus ultricies nisl, ut auctor dolor arcu vitae massa. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed faucibus elementum rhoncus. Suspendisse et elit convallis, pharetra mi quis, aliquet felis.", "title": "Event Description" }, { "flag_ref": "F0006", "snippet": "Maecenas faucibus condimentum augue non tincidunt. Maecenas vestibulum, massa ut tempus mattis, dui erat ornare magna, sit amet posuere metus erat non tortor. Mauris sem lacus, laoreet quis vestibulum sit amet, finibus in mi. Aliquam molestie eget tortor dictum blandit. Nullam a mi ac leo venenatis efficitur non et erat. Nulla quam nibh, laoreet elementum dictum et, facilisis in risus. Mauris pulvinar, erat eget lacinia interdum, magna metus ultricies nisl, ut auctor dolor arcu vitae massa. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed faucibus elementum rhoncus. Suspendisse et elit convallis, pharetra mi quis, aliquet felis.", "title": "Event Description" }, { "flag_ref": "F0007", "snippet": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum eu odio ac vehicula. Proin congue massa est, ac mollis diam elementum non. Fusce aliquet neque vitae risus finibus volutpat. Phasellus est dolor, varius non augue vel, aliquet vehicula mi. Nam fermentum luctus dolor egestas venenatis. Proin nec nibh a arcu pretium ultricies. Mauris in luctus mauris, ut sodales nisl. Mauris eget pellentesque libero. Praesent et erat fringilla, eleifend lacus id, pretium nisl. Phasellus id libero quis tellus maximus venenatis.", "title": "Event description" }, { "flag_ref": "F0008", "snippet": "Proin ante leo, semper quis congue quis, imperdiet ac ligula. Donec quis posuere massa. Vestibulum accumsan dui id feugiat tincidunt. Mauris aliquet ut enim vitae cursus. Integer gravida in velit iaculis porta. Nullam eget efficitur ligula. Fusce ut elementum ante, non ultrices nisl. Nullam elementum quam sed imperdiet rutrum.", "title": "Event description" }, { "date": "2015-08-29", "snippet": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque bibendum eu odio ac vehicula. Proin congue massa est, ac mollis diam elementum non. Fusce aliquet neque vitae risus finibus volutpat. Phasellus est dolor, varius non augue vel, aliquet vehicula mi. Nam fermentum luctus dolor egestas venenatis. Proin nec nibh a arcu pretium ultricies. Mauris in luctus mauris, ut sodales nisl. Mauris eget pellentesque libero. Praesent et erat fringilla, eleifend lacus id, pretium nisl. Phasellus id libero quis tellus maximus venenatis.", "title": "General Media 1" }, { "date": "2017-08-21", "snippet": "Nam nulla massa, blandit eu sodales hendrerit, dapibus in ante. Curabitur id purus nibh. Donec eget dolor eleifend, interdum quam vitae, pulvinar neque. Nullam in velit ligula. Maecenas porta justo ultricies arcu tempor feugiat. In efficitur elementum vulputate. In tincidunt quam eros, nec volutpat leo porttitor sed. Praesent finibus, nisl sit amet volutpat dictum, velit elit porta tellus, a pulvinar est dui et ipsum. Morbi feugiat neque quis commodo consectetur. Quisque venenatis hendrerit leo, nec molestie libero.", "title": "General Media 2" }, { "date": "2019-04-02", "snippet": "Proin ante leo, semper quis congue quis, imperdiet ac ligula. Donec quis posuere massa. Vestibulum accumsan dui id feugiat tincidunt. Mauris aliquet ut enim vitae cursus. Integer gravida in velit iaculis porta. Nullam eget efficitur ligula. Fusce ut elementum ante, non ultrices nisl. Nullam elementum quam sed imperdiet rutrum.", "title": "General Media 3" } ], "sanctions": [ { "flag_ref": "F0003", "name": "UK HM Treasury Financial Sanctions Target Old List", "list": { "name": "Old List" }, "time_periods": [ { "tenure_type": "FORMER", "start": "2016-08-29", "end": "2019-08-29" } ] }, { "flag_ref": "F0003", "name": "UK HM Treasury Financial Sanctions Target List", "list": { "name": "New List" }, "time_periods": [ { "tenure_type": "CURRENT", "start": "2019-08-29" } ] }, { "name": "General Sanction Info", "list": { "name": "General List" }, "time_periods": [ { "tenure_type": "CURRENT", "start": "2014-08-29" } ] } ], "sources": [ { "source_ref": "ID20", "name": "Picture 1", "description": "Image", "url": "https://cdn.pixabay.com/photo/2014/06/03/19/38/road-sign-361514_1280.png" }, { "source_ref": "ID21", "name": "Picture 2", "description": "Image", "url": "https://upload.wikimedia.org/wikipedia/commons/1/11/Test-Logo.svg" }, { "source_ref": "ID22", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID23", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" }, { "source_ref": "ID24", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID25", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" }, { "source_ref": "ID26", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID27", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" }, { "source_ref": "ID28", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID29", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" }, { "source_ref": "ID30", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID31", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" }, { "source_ref": "ID32", "name": "UK Births Register", "description": "United Kingdom dates of birth", "url": "https://www.example.com/12346" }, { "source_ref": "ID33", "name": "UK Deaths Register", "description": "United Kingdom deaths", "url": "https://www.example.com/12346" } ] }, "flags": [ { "ref": "F0001", "type": "REFER", "detail_code": "DPP", "stage": { "stage_code": "FIM", "date": "2019-08-29" }, "source": { "source_ref": "ID1", "name": "Data Regulator A", "url": "https://www.example.com/12346" } }, { "ref": "F0002", "type": "PEP", "detail_code": "PEP", "stage": { "stage_code": "ASC", "date": "2019-08-29" }, "source": { "source_ref": "ID2", "name": "PEP List 1" } }, { "ref": "F0003", "type": "SANCTION", "detail_code": "WLT", "stage": { "stage_code": "SAN", "date": "2019-08-29" }, "source": { "source_ref": "ID3", "name": "UK HM Treasury Financial Sanctions Target List", "url": "https://www.example.com/12346" } }, { "ref": "F0004", "type": "ADVERSE_MEDIA", "detail_code": "MIS", "stage": { "stage_code": "ALL", "date": "2019-08-29" }, "source": { "source_ref": "ID4", "name": "Media Org A", "url": "https://www.example.com/12346" } }, { "ref": "F0005", "type": "ADVERSE_MEDIA", "detail_code": "ARS", "stage": { "stage_code": "ART", "date": "2013-02-01" }, "source": { "source_ref": "ID10", "name": "Media Org B", "url": "https://www.example.com/12346" } }, { "ref": "F0006", "type": "INTERNAL_WATCHLIST", "source": { "source_ref": "ID5", "name": "Example's Customer Blocklist" } }, { "ref": "F0007", "type": "WATCHLIST", "detail_code": "SEC", "stage": { "stage_code": "ARB", "date": "2019-08-29" }, "source": { "source_ref": "ID6", "name": "NGO Warning List", "url": "https://www.ngo.com/12346" } }, { "ref": "F0008", "type": "WATCHLIST", "detail_code": "BUR", "stage": { "stage_code": "CHG", "date": "2011-11-29" }, "source": { "source_ref": "ID11", "name": "US Courts", "url": "https://www.ngo.com/12346" } } ] } ] } }
{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "COMPANY", "screening_hits": [ { "hit_id": "12345", "provider": { "name": "Screening Reference Integration", "hit_id": "12345", "label": "screening-ref" }, "data": { "name": "The Example Company", "confidence_score": 0.91, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ], "media": [ { "flag_ref": "F0004", "date": "2019-08-29", "snippet": "https://www.theguardian.com/politics/2016/jun/24/david-cameron-resigns-after-uk-votes-to-leave-european-union", "title": "David Cameron resigns after UK votes to leave European union" } ], "sanctions": [ { "flag_ref": "F0003", "name": "The Example Company", "list": { "name": "Govt Sanction List" }, "time_periods": [ { "tenure_type": "CURRENT", "start": "2016-07-22" } ] } ] }, "flags": [ { "ref": "F0001", "type": "REFER", "detail_code": "DPP", "stage": { "stage_code": "FIM", "date": "2019-08-29" }, "source": { "source_ref": "ID1", "name": "Data Regulator", "description": "Country A's Data Regulation Authority" } }, { "ref": "F0002", "type": "PEP", "detail_code": "PEP", "stage": { "stage_code": "ASC", "date": "2019-08-29" }, "source": { "source_ref": "ID2", "name": "PEP List", "description": "List of PEPs" } }, { "ref": "F0003", "type": "SANCTION", "detail_code": "WLT", "stage": { "stage_code": "SAN", "date": "2019-08-29" }, "source": { "source_ref": "ID3", "name": "Govt Sanction List", "description": "List of Sanctioned entities" } }, { "ref": "F0004", "type": "ADVERSE_MEDIA", "detail_code": "MIS", "stage": { "stage_code": "ALL", "date": "2019-08-29" }, "source": { "source_ref": "ID3", "name": "Media Org A", "description": "Media Organisation A" } }, { "ref": "F0005", "type": "WATCHLIST", "detail_code": "SEC", "stage": { "stage_code": "ARB", "date": "2019-08-29" }, "source": { "source_ref": "ID23567", "name": "NGO Warning List", "url": "https://www.ngo.com/12346", "description": "NGO's list of companies" } }, { "ref": "F0006", "type": "INTERNAL_WATCHLIST", "source": { "source_ref": "ID12356", "name": "Example's Customer Blocklist", "description": "Customer's we don't do business with" } } ] } ] } }
SCREEN_NO_HITS
. This expects a response where no hits were found. This can simply return thescreening_hits
field with an empty array, along with the other required fields in this response.{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "INDIVIDUAL", "screening_hits": [] } }
{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "COMPANY", "screening_hits": [] } }
SCREEN_SINGLE_INTERNAL_WATCHLIST
This expects a response with only the
INTERNAL_WATCHLIST
flag. This is only tested if your integration specifies support for this flag type.{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "INDIVIDUAL", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12345", "label": "screening-ref" }, "flags": [ { "ref": "F0001", "type": "INTERNAL_WATCHLIST", "source": { "source_ref": "ID12356", "name": "Example's Customer Blocklist", "description": "Customer's we don't do business with" } } ], "data": { "name": "John Smith", "confidence_score": 0.8, "countries": [ { "type": "NATIONALITY", "country": "GBR" } ] } } ] } }
{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "COMPANY", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12345", "label": "screening-ref" }, "flags": [ { "ref": "F0001", "type": "INTERNAL_WATCHLIST", "source": { "source_ref": "ID12356", "name": "Example's Customer Blocklist", "description": "Customer's we don't do business with" } } ], "data": { "name": "The Example Company", "confidence_score": 0.8, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ] } } ] } }
SCREEN_SINGLE_WATCHLIST
This expects a response with only the
WATCHLIST
flag. This is only tested if your integration specifies support for this flag type.{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "INDIVIDUAL", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12346", "label": "screening-ref" }, "flags": [ { "ref": "F0001", "type": "WATCHLIST", "detail_code": "SEC", "stage": { "stage_code": "ARB", "date": "2019-08-29" }, "source": { "source_ref": "ID23567", "name": "NGO Warning List", "url": "https://www.ngo.com/12346", "description": "NGO's list of bad companies" } } ], "data": { "name": "John Smith", "confidence_score": 0.85, "countries": [ { "type": "NATIONALITY", "country": "GBR" } ] } } ] } }
{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "COMPANY", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12346", "label": "screening-ref" }, "flags": [ { "ref": "F0001", "type": "WATCHLIST", "detail_code": "SEC", "stage": { "stage_code": "ARB", "date": "2019-08-29" }, "source": { "source_ref": "ID23567", "name": "NGO Warning List", "url": "https://www.ngo.com/12346", "description": "NGO's list of bad companies" } } ], "data": { "name": "The Example Company", "confidence_score": 0.85, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ] } } ] } }
SCREEN_SINGLE_ADVERSE_MEDIA
This expects a response with only the
ADVERSE_MEDIA
flag. This is only tested if your integration specifies support for this flag type.{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "INDIVIDUAL", "screening_hits": [ { "provider": { "hit_id": "12345", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "John Smith", "confidence_score": 0.73, "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "media": [ { "flag_ref": "F0001", "date": "2019-08-29", "snippet": "https://www.theguardian.com/politics/2016/jun/24/david-cameron-resigns-after-uk-votes-to-leave-european-union", "title": "David Cameron resigns after UK votes to leave European union" } ] }, "flags": [ { "ref": "F0001", "type": "ADVERSE_MEDIA", "detail_code": "MIS", "stage": { "stage_code": "ALL", "date": "2019-08-29" }, "source": { "source_ref": "ID3", "name": "Media Org A", "description": "Media Organisation A" } } ] } ] } }
{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "COMPANY", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12345", "label": "screening-ref" }, "data": { "name": "The Example Company", "confidence_score": 0.73, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ], "media": [ { "flag_ref": "F0001", "date": "2019-08-29", "snippet": "https://www.theguardian.com/politics/2016/jun/24/david-cameron-resigns-after-uk-votes-to-leave-european-union", "title": "David Cameron resigns after UK votes to leave European union" } ] }, "flags": [ { "ref": "F0001", "type": "ADVERSE_MEDIA", "detail_code": "MIS", "stage": { "stage_code": "ALL", "date": "2019-08-29" }, "source": { "source_ref": "ID3", "name": "Media Org A", "description": "Media Organisation A" } } ] } ] } }
SCREEN_SINGLE_PEP
This expects a response with only the
PEP
flag. This is only tested if your integration specifies support for this flag type.{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "INDIVIDUAL", "screening_hits": [ { "provider": { "hit_id": "12345", "name": "Screening Reference Integration", "label": "screening-ref" }, "data": { "name": "John Smith", "confidence_score": 0.63, "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "pep": { "roles": [ { "pep_classification_code": "HOS", "name": "Prime Minister", "tier": 1, "tenure": { "tenure_type": "CURRENT", "start": "2018-07-22" } }, { "pep_classification_code": "LEG", "name": "Minister of Fun", "tier": 2, "tenure": { "tenure_type": "FORMER", "start": "2016-07-22", "end": "2018-07-22" } } ], "tier": 1, "rating": "A" } }, "flags": [ { "ref": "F0001", "type": "PEP", "detail_code": "PEP", "stage": { "stage_code": "ASC", "date": "2019-08-29" }, "source": { "source_ref": "ID12356", "name": "PEP List 1", "description": "A list of PEPs" } } ] } ] } }
{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "COMPANY", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12345", "label": "screening-ref" }, "data": { "name": "The Example Company", "pep": { "roles": [ { "pep_classification_code": "GOE", "name": "State owned business", "tier": 2, "tenure": { "tenure_type": "CURRENT", "start": "2018-07-22" } }, { "pep_classification_code": "GOE", "name": "State owned business", "tier": 1, "tenure": { "tenure_type": "FORMER", "start": "2016-07-22", "end": "2018-07-22" } } ], "tier": 2, "rating": "C" }, "confidence_score": 0.63, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ] }, "flags": [ { "ref": "F0001", "type": "PEP", "detail_code": "PEP", "stage": { "stage_code": "ASC", "date": "2019-08-29" }, "source": { "source_ref": "ID12356", "name": "PEP List 1", "description": "A list of PEPs" } } ] } ] } }
SCREEN_SINGLE_REFER
This expects a response with only the
REFER
flag. You must supportREFER
flag types, so this should always be tested.{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "INDIVIDUAL", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12345", "label": "screening-ref" }, "data": { "name": "John Smith", "countries": [ { "type": "NATIONALITY", "country": "GBR" } ], "confidence_score": 0.63 }, "flags": [ { "ref": "F0001", "type": "REFER", "detail_code": "DPP", "stage": { "stage_code": "FIM", "date": "2019-08-29" }, "source": { "source_ref": "ID1", "name": "Data Regulator", "description": "Country A's Data Regulation Authority" } } ] } ] } }
{ "provider_data": "Demo result. Did not make request to provider.", "warnings": [], "errors": [], "check_output": { "entity_type": "COMPANY", "screening_hits": [ { "provider": { "name": "Screening Reference Integration", "hit_id": "12345", "label": "screening-ref" }, "data": { "name": "The Example Company", "confidence_score": 0.83, "countries": [ { "type": "REGISTRATION", "country": "GBR" } ] }, "flags": [ { "ref": "F0001", "type": "REFER", "detail_code": "DPP", "stage": { "stage_code": "FIM", "date": "2019-08-29" }, "source": { "source_ref": "ID1", "name": "Data Regulator", "description": "Country A's Data Regulation Authority" } } ] } ] } }
Tests for company data check types
If your integration is a COMPANY_DATA
check type, in addition to the standard tests, the following tests will also be performed, using the following demo_result
values.
ANY
This expects any valid response as per the
COMPANY_DATA
check type data schema.{ "check_output": { "associated_entities": [ { "associate_id": "335b651f-75a3-47cf-b68a-99e7c441afbc", "entity_type": "COMPANY", "immediate_data": { "entity_type": "COMPANY", "metadata": { "name": "PASSFORT LIMITED" } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "tenure": { "tenure_type": "CURRENT" } } ] }, { "associate_id": "7acbdc58-c99e-4cc6-9cbd-1e0f5154a0e0", "entity_type": "INDIVIDUAL", "immediate_data": { "entity_type": "INDIVIDUAL", "personal_details": { "name": { "family_name": "Doe", "given_names": [ "John" ] } } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "original_role": "previous position", "tenure": { "start": "2010-01-11", "tenure_type": "FORMER" } }, { "associated_role": "SHAREHOLDER", "original_role": "current position", "tenure": { "start": "2014-01-11", "tenure_type": "CURRENT" }, "total_percentage": 100 } ] } ], "entity_type": "COMPANY", "external_refs": { "provider": [ { "label": "COMPANY_DATA_REFERENCE_INTEGRATION", "reference": "GB-09565115" } ] }, "metadata": { "addresses": [ { "address": { "country": "GBR", "locality": "LONDON", "original_freeform_address": "MEZZANINE FLOOR 24 CORNHILL, EC3V 3ND, LONDON, United Kingdom", "postal_code": "EC3V 3ND", "route": "MEZZANINE FLOOR 24 CORNHILL", "type": "STRUCTURED" }, "type": "registered_address" } ], "company_type": "Private limited companies", "contact_details": { "email": "info@passfort.com", "phone_number": "+44 20 3633 1761", "url": "www.passfort.com" }, "country_of_incorporation": "GBR", "industry_classifications": [ { "classification_type": "SIC", "classification_version": "US SIC", "code": "737", "description": "Computer programming, data processing, and other computer related services" }, { "classification_type": "NACE", "classification_version": "NACE Rev. 2", "code": "6201", "description": "Computer programming activities" }, { "classification_type": "NAICS", "classification_version": "NAICS 2017", "code": "5415", "description": "Computer Systems Design and Related Services" } ], "is_active": true, "is_active_details": "Active", "name": "PASSFORT LIMITED", "number": "09565115", "previous_names": [ { "end": "2015-07-31", "name": "BLOCKOPS LIMITED" } ], "structured_company_type": { "is_limited": true, "is_public": false, "ownership_type": "COMPANY" }, "tax_ids": [ { "tax_id_type": "EUROVAT", "value": "n.a." } ], "trade_description": "Business and domestic software development" } }, "errors": [], "provider_data": "Demo result. Did not make request to provider.", "warnings": [] }
COMPANY_INACTIVE
This expects a response with an inactive company. This means the response should have
check_output.metadata.is_active
set toFalse
.{ "check_output": { "associated_entities": [ { "associate_id": "335b651f-75a3-47cf-b68a-99e7c441afbc", "entity_type": "COMPANY", "immediate_data": { "entity_type": "COMPANY", "metadata": { "name": "PASSFORT LIMITED" } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "tenure": { "tenure_type": "CURRENT" } } ] }, { "associate_id": "7acbdc58-c99e-4cc6-9cbd-1e0f5154a0e0", "entity_type": "INDIVIDUAL", "immediate_data": { "entity_type": "INDIVIDUAL", "personal_details": { "name": { "family_name": "Doe", "given_names": [ "John" ] } } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "original_role": "previous position", "tenure": { "start": "2010-01-11", "tenure_type": "FORMER" } }, { "associated_role": "SHAREHOLDER", "original_role": "current position", "tenure": { "start": "2014-01-11", "tenure_type": "CURRENT" }, "total_percentage": 100 } ] } ], "entity_type": "COMPANY", "external_refs": { "provider": [ { "label": "COMPANY_DATA_REFERENCE_INTEGRATION", "reference": "GB-09565115" } ] }, "metadata": { "addresses": [ { "address": { "country": "GBR", "locality": "LONDON", "original_freeform_address": "MEZZANINE FLOOR 24 CORNHILL, EC3V 3ND, LONDON, United Kingdom", "postal_code": "EC3V 3ND", "route": "MEZZANINE FLOOR 24 CORNHILL", "type": "STRUCTURED" }, "type": "registered_address" } ], "company_type": "Private limited companies", "contact_details": { "email": "info@passfort.com", "phone_number": "+44 20 3633 1761", "url": "www.passfort.com" }, "country_of_incorporation": "GBR", "industry_classifications": [ { "classification_type": "SIC", "classification_version": "US SIC", "code": "737", "description": "Computer programming, data processing, and other computer related services" }, { "classification_type": "NACE", "classification_version": "NACE Rev. 2", "code": "6201", "description": "Computer programming activities" }, { "classification_type": "NAICS", "classification_version": "NAICS 2017", "code": "5415", "description": "Computer Systems Design and Related Services" } ], "is_active": false, "is_active_details": "Inactive", "name": "PASSFORT LIMITED", "number": "09565115", "previous_names": [ { "end": "2015-07-31", "name": "BLOCKOPS LIMITED" } ], "structured_company_type": { "is_limited": true, "is_public": false, "ownership_type": "COMPANY" }, "tax_ids": [ { "tax_id_type": "EUROVAT", "value": "n.a." } ], "trade_description": "Business and domestic software development" } }, "errors": [], "provider_data": "Demo result. Did not make request to provider.", "warnings": [] }
NO_DATA
This expects a situation where no company data was found. For this, respond with the following:
{ "errors": [], "warnings": [], "provider_data": "Demo result. Did not make request to provider.", }
COMPANY_COMPANY_OF_SIGNIFICANT_CONTROL
This means the response contains an associated company entity identified as having significant control.
This would mean ensuring you have an associated entity present and setting the
check_output.associated_entities.relationships.tenure.tenure_type
toCURRENT
and setting thecheck_output.associated_entities.relationships.tenure.associated_role
toPERSON_OF_SIGNIFICANT_CONTROL
and ensuring thecheck_output.associated_entities.entity_type
is set toCOMPANY
.{ "check_output": { "associated_entities": [ { "associate_id": "335b651f-75a3-47cf-b68a-99e7c441afbc", "entity_type": "COMPANY", "immediate_data": { "entity_type": "COMPANY", "metadata": { "name": "PASSFORT LIMITED" } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "tenure": { "tenure_type": "CURRENT" } } ] }, { "associate_id": "7acbdc58-c99e-4cc6-9cbd-1e0f5154a0e0", "entity_type": "INDIVIDUAL", "immediate_data": { "entity_type": "INDIVIDUAL", "personal_details": { "name": { "family_name": "Doe", "given_names": [ "John" ] } } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "original_role": "previous position", "tenure": { "start": "2010-01-11", "tenure_type": "CURRENT" } }, { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "original_role": "current position", "tenure": { "start": "2014-01-11", "tenure_type": "CURRENT" }, "total_percentage": 100 } ] } ], "entity_type": "COMPANY", "external_refs": { "provider": [ { "label": "COMPANY_DATA_REFERENCE_INTEGRATION", "reference": "GB-09565115" } ] }, "metadata": { "addresses": [ { "address": { "country": "GBR", "locality": "LONDON", "original_freeform_address": "MEZZANINE FLOOR 24 CORNHILL, EC3V 3ND, LONDON, United Kingdom", "postal_code": "EC3V 3ND", "route": "MEZZANINE FLOOR 24 CORNHILL", "type": "STRUCTURED" }, "type": "registered_address" } ], "company_type": "Private limited companies", "contact_details": { "email": "info@passfort.com", "phone_number": "+44 20 3633 1761", "url": "www.passfort.com" }, "country_of_incorporation": "GBR", "industry_classifications": [ { "classification_type": "SIC", "classification_version": "US SIC", "code": "737", "description": "Computer programming, data processing, and other computer related services" }, { "classification_type": "NACE", "classification_version": "NACE Rev. 2", "code": "6201", "description": "Computer programming activities" }, { "classification_type": "NAICS", "classification_version": "NAICS 2017", "code": "5415", "description": "Computer Systems Design and Related Services" } ], "is_active": true, "is_active_details": "Active", "name": "PASSFORT LIMITED", "number": "09565115", "previous_names": [ { "end": "2015-07-31", "name": "BLOCKOPS LIMITED" } ], "structured_company_type": { "is_limited": true, "is_public": false, "ownership_type": "COMPANY" }, "tax_ids": [ { "tax_id_type": "EUROVAT", "value": "n.a." } ], "trade_description": "Business and domestic software development" } }, "errors": [], "provider_data": "Demo result. Did not make request to provider.", "warnings": [] }
COMPANY_INDIVIDUAL_OF_SIGNIFICANT_CONTROL
This means the response contains an associated individual entity identified as having significant control.
This would mean ensuring you have an associated entity present and setting the
check_output.associated_entities.relationships.tenure.tenure_type
toCURRENT
and setting thecheck_output.associated_entities.relationships.tenure.associated_role
toPERSON_OF_SIGNIFICANT_CONTROL
and ensuring thecheck_output.associated_entities.entity_type
is set toINDIVIDUAL
.{ "check_output": { "associated_entities": [ { "associate_id": "335b651f-75a3-47cf-b68a-99e7c441afbc", "entity_type": "COMPANY", "immediate_data": { "entity_type": "COMPANY", "metadata": { "name": "PASSFORT LIMITED" } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "tenure": { "tenure_type": "CURRENT" } } ] }, { "associate_id": "7acbdc58-c99e-4cc6-9cbd-1e0f5154a0e0", "entity_type": "INDIVIDUAL", "immediate_data": { "entity_type": "INDIVIDUAL", "personal_details": { "name": { "family_name": "Doe", "given_names": [ "John" ] } } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "original_role": "previous position", "tenure": { "start": "2010-01-11", "tenure_type": "CURRENT" } }, { "associated_role": "SHAREHOLDER", "original_role": "current position", "tenure": { "start": "2014-01-11", "tenure_type": "CURRENT" }, "total_percentage": 100 } ] } ], "entity_type": "COMPANY", "external_refs": { "provider": [ { "label": "COMPANY_DATA_REFERENCE_INTEGRATION", "reference": "GB-09565115" } ] }, "metadata": { "addresses": [ { "address": { "country": "GBR", "locality": "LONDON", "original_freeform_address": "MEZZANINE FLOOR 24 CORNHILL, EC3V 3ND, LONDON, United Kingdom", "postal_code": "EC3V 3ND", "route": "MEZZANINE FLOOR 24 CORNHILL", "type": "STRUCTURED" }, "type": "registered_address" } ], "company_type": "Private limited companies", "contact_details": { "email": "info@passfort.com", "phone_number": "+44 20 3633 1761", "url": "www.passfort.com" }, "country_of_incorporation": "GBR", "industry_classifications": [ { "classification_type": "SIC", "classification_version": "US SIC", "code": "737", "description": "Computer programming, data processing, and other computer related services" }, { "classification_type": "NACE", "classification_version": "NACE Rev. 2", "code": "6201", "description": "Computer programming activities" }, { "classification_type": "NAICS", "classification_version": "NAICS 2017", "code": "5415", "description": "Computer Systems Design and Related Services" } ], "is_active": true, "is_active_details": "Active", "name": "PASSFORT LIMITED", "number": "09565115", "previous_names": [ { "end": "2015-07-31", "name": "BLOCKOPS LIMITED" } ], "structured_company_type": { "is_limited": true, "is_public": false, "ownership_type": "COMPANY" }, "tax_ids": [ { "tax_id_type": "EUROVAT", "value": "n.a." } ], "trade_description": "Business and domestic software development" } }, "errors": [], "provider_data": "Demo result. Did not make request to provider.", "warnings": [] }
COMPANY_FORMER_SHAREHOLDER
This means the response contains an associated company entity identified as being a former shareholder.
Set the
check_output.associated_entities.relationships.tenure.tenure_type
toFORMER
and set thecheck_output.associated_entities.relationships.tenure.associated_role
toSHAREHOLDER
.{ "check_output": { "associated_entities": [ { "associate_id": "335b651f-75a3-47cf-b68a-99e7c441afbc", "entity_type": "COMPANY", "immediate_data": { "entity_type": "COMPANY", "metadata": { "name": "PASSFORT LIMITED" } }, "relationships": [ { "associated_role": "SHAREHOLDER", "tenure": { "tenure_type": "FORMER" } } ] }, { "associate_id": "7acbdc58-c99e-4cc6-9cbd-1e0f5154a0e0", "entity_type": "INDIVIDUAL", "immediate_data": { "entity_type": "INDIVIDUAL", "personal_details": { "name": { "family_name": "Doe", "given_names": [ "John" ] } } }, "relationships": [ { "associated_role": "SHAREHOLDER", "original_role": "previous position", "tenure": { "start": "2010-01-11", "tenure_type": "FORMER" } }, { "associated_role": "SHAREHOLDER", "original_role": "current position", "tenure": { "start": "2014-01-11", "tenure_type": "FORMER" }, "total_percentage": 100 } ] } ], "entity_type": "COMPANY", "external_refs": { "provider": [ { "label": "COMPANY_DATA_REFERENCE_INTEGRATION", "reference": "GB-09565115" } ] }, "metadata": { "addresses": [ { "address": { "country": "GBR", "locality": "LONDON", "original_freeform_address": "MEZZANINE FLOOR 24 CORNHILL, EC3V 3ND, LONDON, United Kingdom", "postal_code": "EC3V 3ND", "route": "MEZZANINE FLOOR 24 CORNHILL", "type": "STRUCTURED" }, "type": "registered_address" } ], "company_type": "Private limited companies", "contact_details": { "email": "info@passfort.com", "phone_number": "+44 20 3633 1761", "url": "www.passfort.com" }, "country_of_incorporation": "GBR", "industry_classifications": [ { "classification_type": "SIC", "classification_version": "US SIC", "code": "737", "description": "Computer programming, data processing, and other computer related services" }, { "classification_type": "NACE", "classification_version": "NACE Rev. 2", "code": "6201", "description": "Computer programming activities" }, { "classification_type": "NAICS", "classification_version": "NAICS 2017", "code": "5415", "description": "Computer Systems Design and Related Services" } ], "is_active": true, "is_active_details": "Active", "name": "PASSFORT LIMITED", "number": "09565115", "previous_names": [ { "end": "2015-07-31", "name": "BLOCKOPS LIMITED" } ], "structured_company_type": { "is_limited": true, "is_public": false, "ownership_type": "COMPANY" }, "tax_ids": [ { "tax_id_type": "EUROVAT", "value": "n.a." } ], "trade_description": "Business and domestic software development" } }, "errors": [], "provider_data": "Demo result. Did not make request to provider.", "warnings": [] }
COMPANY_OFFICER_WITH_MULTIPLE_ROLES
This is expecting an associated entity with multiple roles.
Ensure one of your associated entities has two or more items in the
check_output.associated_entities.relationships
array.{ "check_output": { "associated_entities": [ { "associate_id": "335b651f-75a3-47cf-b68a-99e7c441afbc", "entity_type": "COMPANY", "immediate_data": { "entity_type": "COMPANY", "metadata": { "name": "PASSFORT LIMITED" } }, "relationships": [ { "associated_role": "PARTNER", "tenure": { "tenure_type": "CURRENT" } } ] }, { "associate_id": "7acbdc58-c99e-4cc6-9cbd-1e0f5154a0e0", "entity_type": "INDIVIDUAL", "immediate_data": { "entity_type": "INDIVIDUAL", "personal_details": { "name": { "family_name": "Doe", "given_names": [ "John" ] } } }, "relationships": [ { "associated_role": "PARTNER", "original_role": "previous position", "tenure": { "start": "2010-01-11", "tenure_type": "FORMER" } }, { "associated_role": "PARTNER", "original_role": "current position", "tenure": { "start": "2014-01-11", "tenure_type": "CURRENT" }, "total_percentage": 100 } ] } ], "entity_type": "COMPANY", "external_refs": { "provider": [ { "label": "COMPANY_DATA_REFERENCE_INTEGRATION", "reference": "GB-09565115" } ] }, "metadata": { "addresses": [ { "address": { "country": "GBR", "locality": "LONDON", "original_freeform_address": "MEZZANINE FLOOR 24 CORNHILL, EC3V 3ND, LONDON, United Kingdom", "postal_code": "EC3V 3ND", "route": "MEZZANINE FLOOR 24 CORNHILL", "type": "STRUCTURED" }, "type": "registered_address" } ], "company_type": "Private limited companies", "contact_details": { "email": "info@passfort.com", "phone_number": "+44 20 3633 1761", "url": "www.passfort.com" }, "country_of_incorporation": "GBR", "industry_classifications": [ { "classification_type": "SIC", "classification_version": "US SIC", "code": "737", "description": "Computer programming, data processing, and other computer related services" }, { "classification_type": "NACE", "classification_version": "NACE Rev. 2", "code": "6201", "description": "Computer programming activities" }, { "classification_type": "NAICS", "classification_version": "NAICS 2017", "code": "5415", "description": "Computer Systems Design and Related Services" } ], "is_active": true, "is_active_details": "Active", "name": "PASSFORT LIMITED", "number": "09565115", "previous_names": [ { "end": "2015-07-31", "name": "BLOCKOPS LIMITED" } ], "structured_company_type": { "is_limited": true, "is_public": false, "ownership_type": "COMPANY" }, "tax_ids": [ { "tax_id_type": "EUROVAT", "value": "n.a." } ], "trade_description": "Business and domestic software development" } }, "errors": [], "provider_data": "Demo result. Did not make request to provider.", "warnings": [] }
COMPANY_RESIGNED_OFFICER
This is expecting one of the associated entities as having previously resigned.
To do this, set the
check_output.associated_entities.relationships.tenure.tenure_type
toFORMER
and set thecheck_output.associated_entities.relationships.tenure.associated_role
toDIRECTOR
.{ "check_output": { "associated_entities": [ { "associate_id": "335b651f-75a3-47cf-b68a-99e7c441afbc", "entity_type": "COMPANY", "immediate_data": { "entity_type": "COMPANY", "metadata": { "name": "PASSFORT LIMITED" } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "tenure": { "tenure_type": "FORMER" } } ] }, { "associate_id": "7acbdc58-c99e-4cc6-9cbd-1e0f5154a0e0", "entity_type": "INDIVIDUAL", "immediate_data": { "entity_type": "INDIVIDUAL", "personal_details": { "name": { "family_name": "Doe", "given_names": [ "John" ] } } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "original_role": "previous position", "tenure": { "start": "2010-01-11", "tenure_type": "FORMER" } }, { "associated_role": "SHAREHOLDER", "original_role": "current position", "tenure": { "start": "2014-01-11", "tenure_type": "FORMER" }, "total_percentage": 100 } ] } ], "entity_type": "COMPANY", "external_refs": { "provider": [ { "label": "COMPANY_DATA_REFERENCE_INTEGRATION", "reference": "GB-09565115" } ] }, "metadata": { "addresses": [ { "address": { "country": "GBR", "locality": "LONDON", "original_freeform_address": "MEZZANINE FLOOR 24 CORNHILL, EC3V 3ND, LONDON, United Kingdom", "postal_code": "EC3V 3ND", "route": "MEZZANINE FLOOR 24 CORNHILL", "type": "STRUCTURED" }, "type": "registered_address" } ], "company_type": "Private limited companies", "contact_details": { "email": "info@passfort.com", "phone_number": "+44 20 3633 1761", "url": "www.passfort.com" }, "country_of_incorporation": "GBR", "industry_classifications": [ { "classification_type": "SIC", "classification_version": "US SIC", "code": "737", "description": "Computer programming, data processing, and other computer related services" }, { "classification_type": "NACE", "classification_version": "NACE Rev. 2", "code": "6201", "description": "Computer programming activities" }, { "classification_type": "NAICS", "classification_version": "NAICS 2017", "code": "5415", "description": "Computer Systems Design and Related Services" } ], "is_active": true, "is_active_details": "Active", "name": "PASSFORT LIMITED", "number": "09565115", "previous_names": [ { "end": "2015-07-31", "name": "BLOCKOPS LIMITED" } ], "structured_company_type": { "is_limited": true, "is_public": false, "ownership_type": "COMPANY" }, "tax_ids": [ { "tax_id_type": "EUROVAT", "value": "n.a." } ], "trade_description": "Business and domestic software development" } }, "errors": [], "provider_data": "Demo result. Did not make request to provider.", "warnings": [] }
COMPANY_SHAREHOLDER_WITH_100_PERCENT_OWNERSHIP
This is expecting one of the associated entities to have 100% ownership.
Set the
check_output.associated_entities.relationships.tenure.tenure_type
toCURRENT
, setcheck_output.associated_entities.relationships.tenure.associated_role
toSHAREHOLDER
, and set thecheck_output.associated_entities.relationships.total_percentage
to100.0
.{ "check_output": { "associated_entities": [ { "associate_id": "335b651f-75a3-47cf-b68a-99e7c441afbc", "entity_type": "COMPANY", "immediate_data": { "entity_type": "COMPANY", "metadata": { "name": "PASSFORT LIMITED" } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "tenure": { "tenure_type": "CURRENT" } } ] }, { "associate_id": "7acbdc58-c99e-4cc6-9cbd-1e0f5154a0e0", "entity_type": "INDIVIDUAL", "immediate_data": { "entity_type": "INDIVIDUAL", "personal_details": { "name": { "family_name": "Doe", "given_names": [ "John" ] } } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "original_role": "previous position", "tenure": { "start": "2010-01-11", "tenure_type": "CURRENT" } }, { "associated_role": "SHAREHOLDER", "original_role": "current position", "tenure": { "start": "2014-01-11", "tenure_type": "CURRENT" }, "total_percentage": 100 } ] } ], "entity_type": "COMPANY", "external_refs": { "provider": [ { "label": "COMPANY_DATA_REFERENCE_INTEGRATION", "reference": "GB-09565115" } ] }, "metadata": { "addresses": [ { "address": { "country": "GBR", "locality": "LONDON", "original_freeform_address": "MEZZANINE FLOOR 24 CORNHILL, EC3V 3ND, LONDON, United Kingdom", "postal_code": "EC3V 3ND", "route": "MEZZANINE FLOOR 24 CORNHILL", "type": "STRUCTURED" }, "type": "registered_address" } ], "company_type": "Private limited companies", "contact_details": { "email": "info@passfort.com", "phone_number": "+44 20 3633 1761", "url": "www.passfort.com" }, "country_of_incorporation": "GBR", "industry_classifications": [ { "classification_type": "SIC", "classification_version": "US SIC", "code": "737", "description": "Computer programming, data processing, and other computer related services" }, { "classification_type": "NACE", "classification_version": "NACE Rev. 2", "code": "6201", "description": "Computer programming activities" }, { "classification_type": "NAICS", "classification_version": "NAICS 2017", "code": "5415", "description": "Computer Systems Design and Related Services" } ], "is_active": true, "is_active_details": "Active", "name": "PASSFORT LIMITED", "number": "09565115", "previous_names": [ { "end": "2015-07-31", "name": "BLOCKOPS LIMITED" } ], "structured_company_type": { "is_limited": true, "is_public": false, "ownership_type": "COMPANY" }, "tax_ids": [ { "tax_id_type": "EUROVAT", "value": "n.a." } ], "trade_description": "Business and domestic software development" } }, "errors": [], "provider_data": "Demo result. Did not make request to provider.", "warnings": [] }
COMPANY_SHAREHOLDER_WITH_SIGNIFICANT_CONTROL
This is expecting an associated shareholder and a person with significant control.
To do this, set one of the entities in the
check_output.associated_entities.relationships
array to havecheck_output.associated_entities.relationships.tenure.associated_role
toSHAREHOLDER
and thecheck_output.associated_entities.relationships.tenure.tenure_type
toCURRENT
. Then add a second associated entity in the relationships array to havecheck_output.associated_entities.relationships.tenure.associated_role
toPERSON_OF_SIGNIFICANT_CONTROL
and thecheck_output.associated_entities.relationships.tenure.tenure_type
toCURRENT
.{ "check_output": { "associated_entities": [ { "associate_id": "335b651f-75a3-47cf-b68a-99e7c441afbc", "entity_type": "COMPANY", "immediate_data": { "entity_type": "COMPANY", "metadata": { "name": "PASSFORT LIMITED" } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "tenure": { "tenure_type": "CURRENT" } } ] }, { "associate_id": "7acbdc58-c99e-4cc6-9cbd-1e0f5154a0e0", "entity_type": "INDIVIDUAL", "immediate_data": { "entity_type": "INDIVIDUAL", "personal_details": { "name": { "family_name": "Doe", "given_names": [ "John" ] } } }, "relationships": [ { "associated_role": "PERSON_OF_SIGNIFICANT_CONTROL", "original_role": "previous position", "tenure": { "start": "2010-01-11", "tenure_type": "CURRENT" } }, { "associated_role": "SHAREHOLDER", "original_role": "current position", "tenure": { "start": "2014-01-11", "tenure_type": "CURRENT" }, "total_percentage": 30 } ] } ], "entity_type": "COMPANY", "external_refs": { "provider": [ { "label": "COMPANY_DATA_REFERENCE_INTEGRATION", "reference": "GB-09565115" } ] }, "metadata": { "addresses": [ { "address": { "country": "GBR", "locality": "LONDON", "original_freeform_address": "MEZZANINE FLOOR 24 CORNHILL, EC3V 3ND, LONDON, United Kingdom", "postal_code": "EC3V 3ND", "route": "MEZZANINE FLOOR 24 CORNHILL", "type": "STRUCTURED" }, "type": "registered_address" } ], "company_type": "Private limited companies", "contact_details": { "email": "info@passfort.com", "phone_number": "+44 20 3633 1761", "url": "www.passfort.com" }, "country_of_incorporation": "GBR", "industry_classifications": [ { "classification_type": "SIC", "classification_version": "US SIC", "code": "737", "description": "Computer programming, data processing, and other computer related services" }, { "classification_type": "NACE", "classification_version": "NACE Rev. 2", "code": "6201", "description": "Computer programming activities" }, { "classification_type": "NAICS", "classification_version": "NAICS 2017", "code": "5415", "description": "Computer Systems Design and Related Services" } ], "is_active": true, "is_active_details": "Active", "name": "PASSFORT LIMITED", "number": "09565115", "previous_names": [ { "end": "2015-07-31", "name": "BLOCKOPS LIMITED" } ], "structured_company_type": { "is_limited": true, "is_public": false, "ownership_type": "COMPANY" }, "tax_ids": [ { "tax_id_type": "EUROVAT", "value": "n.a." } ], "trade_description": "Business and domestic software development" } }, "errors": [], "provider_data": "Demo result. Did not make request to provider.", "warnings": [] }
Tests for document verification and document fetch data check types
If your integration is a DOCUMENT_VERIFICATION
or DOCUMENT_FETCH
check type, in addition to the standard tests, the following tests are also performed, using the following demo_result
values.
ANY
orDOCUMENT_ALL_PASS
{"check_output": {"entity_type": "INDIVIDUAL", "documents": [ { "id": "17bb8473-1466-466e-b651-2de39df7c148", "category": "PROOF_OF_IDENTITY", "document_type": "PASSPORT", "images": [ {"provider_reference": "DUMMY_IMAGE", "image_type": "FRONT"} ], "extracted_data": { "address_history": [], "expiry": "2030-01-01", "issued": "2020-01-01", "issuer": "United Kingdom", "issuing_country": "GBR", "mrz1": "P<GBRPERSON<<EXAMPLE<<<<<<<<<<<<<<<<<<<<<<<<", "mrz2": "9040604586GBR8510264M3001019<<<<<<<<<<<<<<06", "number": "904060458", "personal_details": { "name": { "family_name": "Person", "given_names": ["Example"], }, "dob": "1985-10-26", "nationality": "GBR", }, }, "verification_result": { "all_passed": True, "image_checks": [ { "category": "Image Quality", "type": "Image resolution", "result": "PASS", }, { "category": "Image Quality", "type": "Image sharpness", "result": "PASS", }, ], "image_checks_passed": True, "forgery_checks": [ { "category": "Document Fonts", "type": "Title uses correct font", "result": "PASS", }, { "category": "Checksum", "type": "MRZ has a valid checksum", "result": "PASS", }, ], "forgery_checks_passed": True, "document_type_passed": True, }, } ], }, "errors": [] }
ERROR_UNSUPPORTED_DOCUMENT_TYPE
{ "check_output": { "entity_type": "INDIVIDUAL", "documents": [ { "id": "17bb8473-1466-466e-b651-2de39df7c148", "category": "PROOF_OF_IDENTITY", "document_type": "PASSPORT", "images": [ { "provider_reference": "DUMMY_IMAGE", "image_type": "FRONT" } ], "extracted_data": { "address_history": [], "expiry": "2030-01-01", "issued": "2020-01-01", "issuer": "United Kingdom", "issuing_country": "GBR", "mrz1": "P<GBRPERSON<<EXAMPLE<<<<<<<<<<<<<<<<<<<<<<<<", "mrz2": "9040604586GBR8510264M3001019<<<<<<<<<<<<<<06", "number": "904060458", "personal_details": { "name": { "family_name": "Person", "given_names": [ "Example" ] }, "dob": "1985-10-26", "nationality": "GBR" } }, "verification_result": { "all_passed": false, "document_type_passed": false, "error_reason": "Unsupported document type", "image_checks_passed": false, "provider_name": "Document Verification Reference" } } ] }, "errors": [] }
DOCUMENT_FORGERY_CHECK_FAILURE
{ "check_output": { "entity_type": "INDIVIDUAL", "documents": [ { "id": "17bb8473-1466-466e-b651-2de39df7c148", "category": "PROOF_OF_IDENTITY", "document_type": "PASSPORT", "images": [ { "provider_reference": "DUMMY_IMAGE", "image_type": "FRONT" } ], "extracted_data": { "address_history": [], "expiry": "2030-01-01", "issued": "2020-01-01", "issuer": "United Kingdom", "issuing_country": "GBR", "mrz1": "P<GBRPERSON<<EXAMPLE<<<<<<<<<<<<<<<<<<<<<<<<", "mrz2": "9040604586GBR8510264M3001019<<<<<<<<<<<<<<06", "number": "904060458", "personal_details": { "name": { "family_name": "Person", "given_names": [ "Example" ] }, "dob": "1985-10-26", "nationality": "GBR" } }, "verification_result": { "all_passed": false, "image_checks": [ { "category": "Image Quality", "type": "Image resolution", "result": "PASS" }, { "category": "Image Quality", "type": "Image sharpness", "result": "PASS" } ], "image_checks_passed": true, "forgery_checks": [ { "category": "Document Fonts", "type": "Title uses correct font", "result": "FAIL" }, { "category": "Checksum", "type": "MRZ has a valid checksum", "result": "FAIL" } ], "forgery_checks_passed": false, "document_type_passed": true } } ] }, "errors": [] }
DOCUMENT_IMAGE_CHECK_FAILURE
{ "check_output": { "entity_type": "INDIVIDUAL", "documents": [ { "id": "17bb8473-1466-466e-b651-2de39df7c148", "category": "PROOF_OF_IDENTITY", "document_type": "PASSPORT", "images": [ { "provider_reference": "DUMMY_IMAGE", "image_type": "FRONT" } ], "extracted_data": { "address_history": [], "expiry": "2030-01-01", "issued": "2020-01-01", "issuer": "United Kingdom", "issuing_country": "GBR", "mrz1": "P<GBRPERSON<<EXAMPLE<<<<<<<<<<<<<<<<<<<<<<<<", "mrz2": "9040604586GBR8510264M3001019<<<<<<<<<<<<<<06", "number": "904060458", "personal_details": { "name": { "family_name": "Person", "given_names": [ "Example" ] }, "dob": "1985-10-26", "nationality": "GBR" } }, "verification_result": { "all_passed": false, "image_checks": [ { "category": "Image Quality", "type": "Image resolution", "result": "FAIL" }, { "category": "Image Quality", "type": "Image sharpness", "result": "FAIL" } ], "image_checks_passed": false, "forgery_checks": [ { "category": "Document Fonts", "type": "Title uses correct font", "result": "PASS" }, { "category": "Checksum", "type": "MRZ has a valid checksum", "result": "PASS" } ], "forgery_checks_passed": true, "document_type_passed": true } } ] }, "errors": [] }
DOCUMENT_NAME_FIELD_DIFFERENT
{ "check_output": { "entity_type": "INDIVIDUAL", "documents": [ { "id": "17bb8473-1466-466e-b651-2de39df7c148", "category": "PROOF_OF_IDENTITY", "document_type": "PASSPORT", "images": [ { "provider_reference": "DUMMY_IMAGE", "image_type": "FRONT" } ], "extracted_data": { "address_history": [], "expiry": "2030-01-01", "issued": "2020-01-01", "issuer": "United Kingdom", "issuing_country": "GBR", "mrz1": "P<GBRPERSON<<EXAMPLE<<<<<<<<<<<<<<<<<<<<<<<<", "mrz2": "9040604586GBR8510264M3001019<<<<<<<<<<<<<<06", "number": "904060458", "personal_details": { "name": { "family_name": "Person", "given_names": [ "Example" ] }, "dob": "1985-10-26", "nationality": "GBR" } }, "verification_result": { "all_passed": false, "image_checks": [ { "category": "Image Quality", "type": "Image resolution", "result": "PASS" }, { "category": "Image Quality", "type": "Image sharpness", "result": "PASS" } ], "image_checks_passed": true, "forgery_checks": [ { "category": "Document Fonts", "type": "Title uses correct font", "result": "PASS" }, { "category": "Checksum", "type": "MRZ has a valid checksum", "result": "PASS" } ], "forgery_checks_passed": true, "document_type_passed": true, "field_checks": [ { "field": "FIELD_FAMILY_NAME", "result": "CHECK_INVALID" }, { "field": "FIELD_GIVEN_NAMES", "result": "CHECK_INVALID" } ] } } ] }, "errors": [] }
DOCUMENT_DOB_FIELD_DIFFERENT
{ "check_output": { "entity_type": "INDIVIDUAL", "documents": [ { "id": "17bb8473-1466-466e-b651-2de39df7c148", "category": "PROOF_OF_IDENTITY", "document_type": "PASSPORT", "images": [ { "provider_reference": "DUMMY_IMAGE", "image_type": "FRONT" } ], "extracted_data": { "address_history": [], "expiry": "2030-01-01", "issued": "2020-01-01", "issuer": "United Kingdom", "issuing_country": "GBR", "mrz1": "P<GBRPERSON<<EXAMPLE<<<<<<<<<<<<<<<<<<<<<<<<", "mrz2": "9040604586GBR8510264M3001019<<<<<<<<<<<<<<06", "number": "904060458", "personal_details": { "name": { "family_name": "Person", "given_names": [ "Example" ] }, "dob": "1985-10-26", "nationality": "GBR" } }, "verification_result": { "all_passed": false, "image_checks": [ { "category": "Image Quality", "type": "Image resolution", "result": "PASS" }, { "category": "Image Quality", "type": "Image sharpness", "result": "PASS" } ], "image_checks_passed": true, "forgery_checks": [ { "category": "Document Fonts", "type": "Title uses correct font", "result": "PASS" }, { "category": "Checksum", "type": "MRZ has a valid checksum", "result": "PASS" } ], "forgery_checks_passed": true, "document_type_passed": true, "field_checks": [ { "field": "FIELD_DOB", "result": "CHECK_INVALID" } ] } } ] }, "errors": [] }
DOCUMENT_NAME_FIELD_UNREADABLE
{ "check_output": { "entity_type": "INDIVIDUAL", "documents": [ { "id": "17bb8473-1466-466e-b651-2de39df7c148", "category": "PROOF_OF_IDENTITY", "document_type": "PASSPORT", "images": [ { "provider_reference": "DUMMY_IMAGE", "image_type": "FRONT" } ], "extracted_data": { "address_history": [], "expiry": "2030-01-01", "issued": "2020-01-01", "issuer": "United Kingdom", "issuing_country": "GBR", "mrz1": "P<GBRPERSON<<EXAMPLE<<<<<<<<<<<<<<<<<<<<<<<<", "mrz2": "9040604586GBR8510264M3001019<<<<<<<<<<<<<<06", "number": "904060458", "personal_details": { "name": { "family_name": "Person", "given_names": [ "Example" ] }, "dob": "1985-10-26", "nationality": "GBR" } }, "verification_result": { "all_passed": false, "image_checks": [ { "category": "Image Quality", "type": "Image resolution", "result": "PASS" }, { "category": "Image Quality", "type": "Image sharpness", "result": "PASS" } ], "image_checks_passed": true, "forgery_checks": [ { "category": "Document Fonts", "type": "Title uses correct font", "result": "PASS" }, { "category": "Checksum", "type": "MRZ has a valid checksum", "result": "PASS" } ], "forgery_checks_passed": true, "document_type_passed": true, "field_checks": [ { "field": "FIELD_FAMILY_NAME", "result": "CHECK_UNCERTAIN" }, { "field": "FIELD_GIVEN_NAMES", "result": "CHECK_UNCERTAIN" } ] } } ] }, "errors": [] }
DOCUMENT_DOB_FIELD_UNREADABLE
{ "check_output": { "entity_type": "INDIVIDUAL", "documents": [ { "id": "17bb8473-1466-466e-b651-2de39df7c148", "category": "PROOF_OF_IDENTITY", "document_type": "PASSPORT", "images": [ { "provider_reference": "DUMMY_IMAGE", "image_type": "FRONT" } ], "extracted_data": { "address_history": [], "expiry": "2030-01-01", "issued": "2020-01-01", "issuer": "United Kingdom", "issuing_country": "GBR", "mrz1": "P<GBRPERSON<<EXAMPLE<<<<<<<<<<<<<<<<<<<<<<<<", "mrz2": "9040604586GBR8510264M3001019<<<<<<<<<<<<<<06", "number": "904060458", "personal_details": { "name": { "family_name": "Person", "given_names": [ "Example" ] }, "dob": "1985-10-26", "nationality": "GBR" } }, "verification_result": { "all_passed": false, "image_checks": [ { "category": "Image Quality", "type": "Image resolution", "result": "PASS" }, { "category": "Image Quality", "type": "Image sharpness", "result": "PASS" } ], "image_checks_passed": true, "forgery_checks": [ { "category": "Document Fonts", "type": "Title uses correct font", "result": "PASS" }, { "category": "Checksum", "type": "MRZ has a valid checksum", "result": "PASS" } ], "forgery_checks_passed": true, "document_type_passed": true, "field_checks": [ { "field": "FIELD_DOB", "result": "CHECK_UNCERTAIN" } ] } } ] }, "errors": [] }
Tests for the identity check type
If your integration is an IDENTITY_CHECK
check type, in addition to the standard tests, the following tests are also performed, using the following demo_result
values.
ANY
{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [ { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS", "DOB" ], "count": 1 } ], "rules": [], "provider_result": true } } }{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [ { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS", "DOB" ], "count": 1 } ], "rules": [], "provider_result": true } } }
NO_MATCHES
{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [], "rules": [], "provider_result": false } } }
ONE_NAME_ADDRESS_MATCH
{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [ { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS" ], "count": 1 } ], "rules": [], "provider_result": true } } }
ONE_NAME_DOB_MATCH
{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [ { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "DOB" ], "count": 1 } ], "rules": [], "provider_result": true } } }
TWO_NAME_ADDRESS_MATCHES
{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [ { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS" ], "count": 1 }, { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS" ], "count": 1 } ], "rules": [], "provider_result": true } } }
ONE_NAME_ADDRESS_ONE_NAME_DOB_MATCH
{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [ { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS" ], "count": 1 }, { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "DOB" ], "count": 1 } ], "rules": [], "provider_result": true } } }
ONE_NAME_ADDRESS_DOB_MATCH
{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [ { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS", "DOB" ], "count": 1 } ], "rules": [], "provider_result": true } } }
MORTALITY_MATCH
{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [ { "database_name": "DEMO DB", "database_type": "MORTALITY", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS", "DOB" ], "count": 1 } ], "rules": [], "provider_result": true } } }
ONE_NAME_ADDRESS_MORTALITY_MATCH
{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [ { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS" ], "count": 1 }, { "database_name": "DEMO DB", "database_type": "MORTALITY", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS" ], "count": 1 } ], "rules": [], "provider_result": true } } }
ONE_NAME_ADDRESS_ONE_NAME_DOB_MORTALITY_MATCH
{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [], "charges": [ { "amount": 0, "reference": "XX11XX", "sku": "XXXXX" } ], "check_output": { "entity_type": "INDIVIDUAL", "electronic_id_check": { "matches": [ { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS" ], "count": 1 }, { "database_name": "DEMO DB", "database_type": "MORTALITY", "matched_fields": [ "FORENAME", "SURNAME", "ADDRESS" ], "count": 1 }, { "database_name": "DEMO DB", "database_type": "CIVIL", "matched_fields": [ "FORENAME", "SURNAME", "DOB" ], "count": 1 } ], "rules": [], "provider_result": true } } }
Tests for monitoring cancellation
If your integration check template is MONITORED_CALLBACK
, you must have implemented the /cancel_checks
endpoint.
Your integration must always return a 200 status code in response, however it must include errors or warnings under certain circumstances. These are tested in the validation suite.
This is tested by the validation suite using the following demo_result
values.
CANCEL_WITH_SUCCESS
This is simulating a situation where your
/cancel_checks
endpoint receives a valid request and the cancellation completes successfully.{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [] }
CANCEL_BAD_REFERENCES
This is simulating a situation where your
/cancel_checks
endpoint receives a request that contains invalid references.The
references
should include the values that were sent in thereferences
array of the request.{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [ { "type": "BAD_REFERENCES", "references": [ "123456", "7890" ], "message": "These references are invalid" } ] }
CANCEL_ALREADY_CANCELLED_REFERENCES
. This is simulating a situation where your/cancel_checks
endpoint receives a request that contains references that have already had monitoring canceled.The
references
should include the values that were sent in thereferences
array of the request.{ "provider_data": "Demo result. Did not make request to provider.", "errors": [], "warnings": [ { "type": "BAD_REFERENCES", "references": [ "123456", "7890" ], "message": "These references have already been cancelled" } ] }