passfort 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.circleci/config.yml +17 -17
- data/.rubocop.yml +8 -8
- data/.ruby-version +1 -1
- data/CHANGELOG.md +53 -48
- data/Gemfile +5 -5
- data/Gemfile.lock +95 -93
- data/LICENCE.txt +22 -22
- data/README.md +6 -6
- data/lib/passfort.rb +35 -35
- data/lib/passfort/client.rb +35 -35
- data/lib/passfort/endpoint.rb +10 -10
- data/lib/passfort/endpoint/checks.rb +19 -19
- data/lib/passfort/endpoint/profiles.rb +46 -46
- data/lib/passfort/endpoint/tasks.rb +16 -16
- data/lib/passfort/errors.rb +16 -16
- data/lib/passfort/errors/api_error.rb +16 -16
- data/lib/passfort/errors/bad_gateway_error.rb +12 -12
- data/lib/passfort/errors/chargeable_limit_reached_error.rb +12 -12
- data/lib/passfort/errors/invalid_api_key_error.rb +12 -12
- data/lib/passfort/errors/invalid_input_data_error.rb +12 -12
- data/lib/passfort/errors/request_error.rb +12 -12
- data/lib/passfort/errors/timeout_error.rb +12 -12
- data/lib/passfort/errors/unknown_api_error.rb +12 -12
- data/lib/passfort/errors/unparseable_response_error.rb +11 -11
- data/lib/passfort/http.rb +95 -95
- data/lib/passfort/resource.rb +13 -13
- data/lib/passfort/resource/base.rb +21 -21
- data/lib/passfort/resource/check.rb +10 -10
- data/lib/passfort/resource/company_data.rb +11 -11
- data/lib/passfort/resource/company_summary.rb +9 -9
- data/lib/passfort/resource/individual_data.rb +11 -11
- data/lib/passfort/resource/profile.rb +15 -15
- data/lib/passfort/resource/task.rb +9 -9
- data/lib/passfort/version.rb +5 -5
- data/passfort.gemspec +30 -30
- data/spec/fixtures/check.json +67 -67
- data/spec/fixtures/collected_data.json +7 -7
- data/spec/fixtures/companies.json +18 -18
- data/spec/fixtures/company_ownership_check/check.json +78 -78
- data/spec/fixtures/company_ownership_check/collected_data.json +7 -7
- data/spec/fixtures/company_ownership_check/collected_data_update_request.json +63 -63
- data/spec/fixtures/company_ownership_check/profile.json +128 -128
- data/spec/fixtures/profile.json +128 -128
- data/spec/fixtures/task.json +6 -6
- data/spec/integration/company_ownership_check_spec.rb +74 -74
- data/spec/passfort/client_spec.rb +43 -43
- data/spec/passfort/endpoint/checks_spec.rb +22 -22
- data/spec/passfort/endpoint/profiles_spec.rb +79 -79
- data/spec/passfort/endpoint/tasks_spec.rb +21 -21
- data/spec/passfort/http_spec.rb +167 -167
- data/spec/spec_helper.rb +9 -9
- metadata +5 -6
@@ -1,63 +1,63 @@
|
|
1
|
-
{
|
2
|
-
"entity_type": "COMPANY",
|
3
|
-
"metadata": {
|
4
|
-
"country_of_incorporation": "GBR",
|
5
|
-
"number": "09565115"
|
6
|
-
},
|
7
|
-
"ownership_structure": {
|
8
|
-
"shareholders": [
|
9
|
-
{
|
10
|
-
"entity_type": "INDIVIDUAL",
|
11
|
-
"immediate_data": {
|
12
|
-
"address_history": [],
|
13
|
-
"entity_type": "INDIVIDUAL",
|
14
|
-
"personal_details": {
|
15
|
-
"name": {
|
16
|
-
"family_name": "Gillies",
|
17
|
-
"given_names": [
|
18
|
-
"Donald"
|
19
|
-
]
|
20
|
-
}
|
21
|
-
}
|
22
|
-
},
|
23
|
-
"provider_name": "DueDil",
|
24
|
-
"resolver_id": "322d0f54-0519-11e8-914c-000000000000",
|
25
|
-
"shareholdings": [
|
26
|
-
{
|
27
|
-
"amount": 100,
|
28
|
-
"currency": "GBP",
|
29
|
-
"percentage": 50,
|
30
|
-
"share_class": "Ordinary"
|
31
|
-
}
|
32
|
-
],
|
33
|
-
"total_percentage": 50
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"entity_type": "INDIVIDUAL",
|
37
|
-
"immediate_data": {
|
38
|
-
"address_history": [],
|
39
|
-
"entity_type": "INDIVIDUAL",
|
40
|
-
"personal_details": {
|
41
|
-
"name": {
|
42
|
-
"family_name": "Irish",
|
43
|
-
"given_names": [
|
44
|
-
"Henry"
|
45
|
-
]
|
46
|
-
}
|
47
|
-
}
|
48
|
-
},
|
49
|
-
"provider_name": "DueDil",
|
50
|
-
"resolver_id": "322d1f9e-0519-11e8-b046-000000000000",
|
51
|
-
"shareholdings": [
|
52
|
-
{
|
53
|
-
"amount": 100,
|
54
|
-
"currency": "GBP",
|
55
|
-
"percentage": 50,
|
56
|
-
"share_class": "Ordinary"
|
57
|
-
}
|
58
|
-
],
|
59
|
-
"total_percentage": 50
|
60
|
-
}
|
61
|
-
]
|
62
|
-
}
|
63
|
-
}
|
1
|
+
{
|
2
|
+
"entity_type": "COMPANY",
|
3
|
+
"metadata": {
|
4
|
+
"country_of_incorporation": "GBR",
|
5
|
+
"number": "09565115"
|
6
|
+
},
|
7
|
+
"ownership_structure": {
|
8
|
+
"shareholders": [
|
9
|
+
{
|
10
|
+
"entity_type": "INDIVIDUAL",
|
11
|
+
"immediate_data": {
|
12
|
+
"address_history": [],
|
13
|
+
"entity_type": "INDIVIDUAL",
|
14
|
+
"personal_details": {
|
15
|
+
"name": {
|
16
|
+
"family_name": "Gillies",
|
17
|
+
"given_names": [
|
18
|
+
"Donald"
|
19
|
+
]
|
20
|
+
}
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"provider_name": "DueDil",
|
24
|
+
"resolver_id": "322d0f54-0519-11e8-914c-000000000000",
|
25
|
+
"shareholdings": [
|
26
|
+
{
|
27
|
+
"amount": 100,
|
28
|
+
"currency": "GBP",
|
29
|
+
"percentage": 50,
|
30
|
+
"share_class": "Ordinary"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"total_percentage": 50
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"entity_type": "INDIVIDUAL",
|
37
|
+
"immediate_data": {
|
38
|
+
"address_history": [],
|
39
|
+
"entity_type": "INDIVIDUAL",
|
40
|
+
"personal_details": {
|
41
|
+
"name": {
|
42
|
+
"family_name": "Irish",
|
43
|
+
"given_names": [
|
44
|
+
"Henry"
|
45
|
+
]
|
46
|
+
}
|
47
|
+
}
|
48
|
+
},
|
49
|
+
"provider_name": "DueDil",
|
50
|
+
"resolver_id": "322d1f9e-0519-11e8-b046-000000000000",
|
51
|
+
"shareholdings": [
|
52
|
+
{
|
53
|
+
"amount": 100,
|
54
|
+
"currency": "GBP",
|
55
|
+
"percentage": 50,
|
56
|
+
"share_class": "Ordinary"
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"total_percentage": 50
|
60
|
+
}
|
61
|
+
]
|
62
|
+
}
|
63
|
+
}
|
@@ -1,128 +1,128 @@
|
|
1
|
-
{
|
2
|
-
"applications": [
|
3
|
-
{
|
4
|
-
"approval_blockers": [
|
5
|
-
{
|
6
|
-
"blocker_type": "INCOMPLETE_TASK",
|
7
|
-
"task_type": "COMPANY_VERIFY_IDENTITY"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"blocker_type": "INCOMPLETE_TASK",
|
11
|
-
"task_type": "COMPANY_IDENTIFY_AUTHORIZED_PERSONS"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"blocker_type": "INCOMPLETE_TASK",
|
15
|
-
"task_type": "COMPANY_IDENTIFY_OFFICERS"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"blocker_type": "INCOMPLETE_TASK",
|
19
|
-
"task_type": "COMPANY_IDENTIFY_BENEFICIAL_OWNERS"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"blocker_type": "INCOMPLETE_TASK",
|
23
|
-
"task_type": "COMPANY_ASSESS_SANCTIONS_EXPOSURE"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"blocker_type": "INCOMPLETE_TASK",
|
27
|
-
"task_type": "COMPANY_REVIEW_FILINGS"
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"history": [
|
31
|
-
{
|
32
|
-
"date": "2018-01-15 11:39:17",
|
33
|
-
"status": "APPLIED"
|
34
|
-
}
|
35
|
-
],
|
36
|
-
"id": "b83a64ec-f9e8-11e7-82a7-000000000000",
|
37
|
-
"product": {
|
38
|
-
"id": "eb299330-f63a-11e7-bc01-000000000000",
|
39
|
-
"name": "Mortgage"
|
40
|
-
},
|
41
|
-
"status": "APPLIED"
|
42
|
-
}
|
43
|
-
],
|
44
|
-
"category": "APPLICANT",
|
45
|
-
"checks": [],
|
46
|
-
"collected_data": {
|
47
|
-
"entity_type": "COMPANY",
|
48
|
-
"metadata": {
|
49
|
-
"country_of_incorporation": "GBR",
|
50
|
-
"number": "09565115"
|
51
|
-
}
|
52
|
-
},
|
53
|
-
"collection_steps": [],
|
54
|
-
"display_name": "PassFort Limited",
|
55
|
-
"document_images": [],
|
56
|
-
"events": [],
|
57
|
-
"has_associates": false,
|
58
|
-
"has_collection_steps": false,
|
59
|
-
"id": "b82b0434-f9e8-11e7-8397-000000000000",
|
60
|
-
"linked_to": [],
|
61
|
-
"risk": {},
|
62
|
-
"role": "COMPANY_CUSTOMER",
|
63
|
-
"status": "NORMAL",
|
64
|
-
"tags": [],
|
65
|
-
"task_progress": {
|
66
|
-
"completed_count": 0,
|
67
|
-
"total_count": 6
|
68
|
-
},
|
69
|
-
"task_types": [
|
70
|
-
"COMPANY_VERIFY_IDENTITY",
|
71
|
-
"COMPANY_IDENTIFY_AUTHORIZED_PERSONS",
|
72
|
-
"COMPANY_IDENTIFY_OFFICERS",
|
73
|
-
"COMPANY_IDENTIFY_BENEFICIAL_OWNERS",
|
74
|
-
"COMPANY_ASSESS_SANCTIONS_EXPOSURE",
|
75
|
-
"COMPANY_REVIEW_FILINGS"
|
76
|
-
],
|
77
|
-
"tasks": [
|
78
|
-
{
|
79
|
-
"check_ids": [],
|
80
|
-
"creation_date": "2018-01-15 11:39:17",
|
81
|
-
"id": "b83e2d7e-f9e8-11e7-8229-000000000000",
|
82
|
-
"is_complete": false,
|
83
|
-
"is_expired": false,
|
84
|
-
"type": "COMPANY_VERIFY_IDENTITY"
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"check_ids": [],
|
88
|
-
"creation_date": "2018-01-15 11:39:17",
|
89
|
-
"id": "b841b73e-f9e8-11e7-b17f-000000000000",
|
90
|
-
"is_complete": false,
|
91
|
-
"is_expired": false,
|
92
|
-
"type": "COMPANY_IDENTIFY_AUTHORIZED_PERSONS"
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"check_ids": [],
|
96
|
-
"creation_date": "2018-01-15 11:39:17",
|
97
|
-
"id": "b843d282-f9e8-11e7-b539-000000000000",
|
98
|
-
"is_complete": false,
|
99
|
-
"is_expired": false,
|
100
|
-
"type": "COMPANY_IDENTIFY_OFFICERS"
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"check_ids": [],
|
104
|
-
"creation_date": "2018-01-15 11:39:17",
|
105
|
-
"id": "b845e7f4-f9e8-11e7-a4d1-000000000000",
|
106
|
-
"is_complete": false,
|
107
|
-
"is_expired": false,
|
108
|
-
"type": "COMPANY_IDENTIFY_BENEFICIAL_OWNERS"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"check_ids": [],
|
112
|
-
"creation_date": "2018-01-15 11:39:17",
|
113
|
-
"id": "b8485a78-f9e8-11e7-86ee-000000000000",
|
114
|
-
"is_complete": false,
|
115
|
-
"is_expired": false,
|
116
|
-
"type": "COMPANY_ASSESS_SANCTIONS_EXPOSURE"
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"check_ids": [],
|
120
|
-
"creation_date": "2018-01-15 11:39:17",
|
121
|
-
"id": "b84ad2de-f9e8-11e7-806b-000000000000",
|
122
|
-
"is_complete": false,
|
123
|
-
"is_expired": false,
|
124
|
-
"type": "COMPANY_REVIEW_FILINGS"
|
125
|
-
}
|
126
|
-
],
|
127
|
-
"unresolved_event_types": []
|
128
|
-
}
|
1
|
+
{
|
2
|
+
"applications": [
|
3
|
+
{
|
4
|
+
"approval_blockers": [
|
5
|
+
{
|
6
|
+
"blocker_type": "INCOMPLETE_TASK",
|
7
|
+
"task_type": "COMPANY_VERIFY_IDENTITY"
|
8
|
+
},
|
9
|
+
{
|
10
|
+
"blocker_type": "INCOMPLETE_TASK",
|
11
|
+
"task_type": "COMPANY_IDENTIFY_AUTHORIZED_PERSONS"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"blocker_type": "INCOMPLETE_TASK",
|
15
|
+
"task_type": "COMPANY_IDENTIFY_OFFICERS"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"blocker_type": "INCOMPLETE_TASK",
|
19
|
+
"task_type": "COMPANY_IDENTIFY_BENEFICIAL_OWNERS"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"blocker_type": "INCOMPLETE_TASK",
|
23
|
+
"task_type": "COMPANY_ASSESS_SANCTIONS_EXPOSURE"
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"blocker_type": "INCOMPLETE_TASK",
|
27
|
+
"task_type": "COMPANY_REVIEW_FILINGS"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"history": [
|
31
|
+
{
|
32
|
+
"date": "2018-01-15 11:39:17",
|
33
|
+
"status": "APPLIED"
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"id": "b83a64ec-f9e8-11e7-82a7-000000000000",
|
37
|
+
"product": {
|
38
|
+
"id": "eb299330-f63a-11e7-bc01-000000000000",
|
39
|
+
"name": "Mortgage"
|
40
|
+
},
|
41
|
+
"status": "APPLIED"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"category": "APPLICANT",
|
45
|
+
"checks": [],
|
46
|
+
"collected_data": {
|
47
|
+
"entity_type": "COMPANY",
|
48
|
+
"metadata": {
|
49
|
+
"country_of_incorporation": "GBR",
|
50
|
+
"number": "09565115"
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"collection_steps": [],
|
54
|
+
"display_name": "PassFort Limited",
|
55
|
+
"document_images": [],
|
56
|
+
"events": [],
|
57
|
+
"has_associates": false,
|
58
|
+
"has_collection_steps": false,
|
59
|
+
"id": "b82b0434-f9e8-11e7-8397-000000000000",
|
60
|
+
"linked_to": [],
|
61
|
+
"risk": {},
|
62
|
+
"role": "COMPANY_CUSTOMER",
|
63
|
+
"status": "NORMAL",
|
64
|
+
"tags": [],
|
65
|
+
"task_progress": {
|
66
|
+
"completed_count": 0,
|
67
|
+
"total_count": 6
|
68
|
+
},
|
69
|
+
"task_types": [
|
70
|
+
"COMPANY_VERIFY_IDENTITY",
|
71
|
+
"COMPANY_IDENTIFY_AUTHORIZED_PERSONS",
|
72
|
+
"COMPANY_IDENTIFY_OFFICERS",
|
73
|
+
"COMPANY_IDENTIFY_BENEFICIAL_OWNERS",
|
74
|
+
"COMPANY_ASSESS_SANCTIONS_EXPOSURE",
|
75
|
+
"COMPANY_REVIEW_FILINGS"
|
76
|
+
],
|
77
|
+
"tasks": [
|
78
|
+
{
|
79
|
+
"check_ids": [],
|
80
|
+
"creation_date": "2018-01-15 11:39:17",
|
81
|
+
"id": "b83e2d7e-f9e8-11e7-8229-000000000000",
|
82
|
+
"is_complete": false,
|
83
|
+
"is_expired": false,
|
84
|
+
"type": "COMPANY_VERIFY_IDENTITY"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"check_ids": [],
|
88
|
+
"creation_date": "2018-01-15 11:39:17",
|
89
|
+
"id": "b841b73e-f9e8-11e7-b17f-000000000000",
|
90
|
+
"is_complete": false,
|
91
|
+
"is_expired": false,
|
92
|
+
"type": "COMPANY_IDENTIFY_AUTHORIZED_PERSONS"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"check_ids": [],
|
96
|
+
"creation_date": "2018-01-15 11:39:17",
|
97
|
+
"id": "b843d282-f9e8-11e7-b539-000000000000",
|
98
|
+
"is_complete": false,
|
99
|
+
"is_expired": false,
|
100
|
+
"type": "COMPANY_IDENTIFY_OFFICERS"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"check_ids": [],
|
104
|
+
"creation_date": "2018-01-15 11:39:17",
|
105
|
+
"id": "b845e7f4-f9e8-11e7-a4d1-000000000000",
|
106
|
+
"is_complete": false,
|
107
|
+
"is_expired": false,
|
108
|
+
"type": "COMPANY_IDENTIFY_BENEFICIAL_OWNERS"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"check_ids": [],
|
112
|
+
"creation_date": "2018-01-15 11:39:17",
|
113
|
+
"id": "b8485a78-f9e8-11e7-86ee-000000000000",
|
114
|
+
"is_complete": false,
|
115
|
+
"is_expired": false,
|
116
|
+
"type": "COMPANY_ASSESS_SANCTIONS_EXPOSURE"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"check_ids": [],
|
120
|
+
"creation_date": "2018-01-15 11:39:17",
|
121
|
+
"id": "b84ad2de-f9e8-11e7-806b-000000000000",
|
122
|
+
"is_complete": false,
|
123
|
+
"is_expired": false,
|
124
|
+
"type": "COMPANY_REVIEW_FILINGS"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"unresolved_event_types": []
|
128
|
+
}
|
data/spec/fixtures/profile.json
CHANGED
@@ -1,128 +1,128 @@
|
|
1
|
-
{
|
2
|
-
"applications": [
|
3
|
-
{
|
4
|
-
"approval_blockers": [
|
5
|
-
{
|
6
|
-
"blocker_type": "INCOMPLETE_TASK",
|
7
|
-
"task_type": "COMPANY_VERIFY_IDENTITY"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"blocker_type": "INCOMPLETE_TASK",
|
11
|
-
"task_type": "COMPANY_IDENTIFY_AUTHORIZED_PERSONS"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"blocker_type": "INCOMPLETE_TASK",
|
15
|
-
"task_type": "COMPANY_IDENTIFY_OFFICERS"
|
16
|
-
},
|
17
|
-
{
|
18
|
-
"blocker_type": "INCOMPLETE_TASK",
|
19
|
-
"task_type": "COMPANY_IDENTIFY_BENEFICIAL_OWNERS"
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"blocker_type": "INCOMPLETE_TASK",
|
23
|
-
"task_type": "COMPANY_ASSESS_SANCTIONS_EXPOSURE"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"blocker_type": "INCOMPLETE_TASK",
|
27
|
-
"task_type": "COMPANY_REVIEW_FILINGS"
|
28
|
-
}
|
29
|
-
],
|
30
|
-
"history": [
|
31
|
-
{
|
32
|
-
"date": "2018-01-15 11:39:17",
|
33
|
-
"status": "APPLIED"
|
34
|
-
}
|
35
|
-
],
|
36
|
-
"id": "b83a64ec-f9e8-11e7-82a7-000000000000",
|
37
|
-
"product": {
|
38
|
-
"id": "eb299330-f63a-11e7-bc01-000000000000",
|
39
|
-
"name": "Mortgage"
|
40
|
-
},
|
41
|
-
"status": "APPLIED"
|
42
|
-
}
|
43
|
-
],
|
44
|
-
"category": "APPLICANT",
|
45
|
-
"checks": [],
|
46
|
-
"collected_data": {
|
47
|
-
"entity_type": "COMPANY",
|
48
|
-
"metadata": {
|
49
|
-
"country_of_incorporation": "GBR",
|
50
|
-
"number": "09565115"
|
51
|
-
}
|
52
|
-
},
|
53
|
-
"collection_steps": [],
|
54
|
-
"display_name": "PassFort Limited",
|
55
|
-
"document_images": [],
|
56
|
-
"events": [],
|
57
|
-
"has_associates": false,
|
58
|
-
"has_collection_steps": false,
|
59
|
-
"id": "b82b0434-f9e8-11e7-8397-000000000000",
|
60
|
-
"linked_to": [],
|
61
|
-
"risk": {},
|
62
|
-
"role": "COMPANY_CUSTOMER",
|
63
|
-
"status": "NORMAL",
|
64
|
-
"tags": [],
|
65
|
-
"task_progress": {
|
66
|
-
"completed_count": 0,
|
67
|
-
"total_count": 6
|
68
|
-
},
|
69
|
-
"task_types": [
|
70
|
-
"COMPANY_VERIFY_IDENTITY",
|
71
|
-
"COMPANY_IDENTIFY_AUTHORIZED_PERSONS",
|
72
|
-
"COMPANY_IDENTIFY_OFFICERS",
|
73
|
-
"COMPANY_IDENTIFY_BENEFICIAL_OWNERS",
|
74
|
-
"COMPANY_ASSESS_SANCTIONS_EXPOSURE",
|
75
|
-
"COMPANY_REVIEW_FILINGS"
|
76
|
-
],
|
77
|
-
"tasks": [
|
78
|
-
{
|
79
|
-
"check_ids": [],
|
80
|
-
"creation_date": "2018-01-15 11:39:17",
|
81
|
-
"id": "b83e2d7e-f9e8-11e7-8229-000000000000",
|
82
|
-
"is_complete": false,
|
83
|
-
"is_expired": false,
|
84
|
-
"type": "COMPANY_VERIFY_IDENTITY"
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"check_ids": [],
|
88
|
-
"creation_date": "2018-01-15 11:39:17",
|
89
|
-
"id": "b841b73e-f9e8-11e7-b17f-000000000000",
|
90
|
-
"is_complete": false,
|
91
|
-
"is_expired": false,
|
92
|
-
"type": "COMPANY_IDENTIFY_AUTHORIZED_PERSONS"
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"check_ids": [],
|
96
|
-
"creation_date": "2018-01-15 11:39:17",
|
97
|
-
"id": "b843d282-f9e8-11e7-b539-000000000000",
|
98
|
-
"is_complete": false,
|
99
|
-
"is_expired": false,
|
100
|
-
"type": "COMPANY_IDENTIFY_OFFICERS"
|
101
|
-
},
|
102
|
-
{
|
103
|
-
"check_ids": [],
|
104
|
-
"creation_date": "2018-01-15 11:39:17",
|
105
|
-
"id": "b845e7f4-f9e8-11e7-a4d1-000000000000",
|
106
|
-
"is_complete": false,
|
107
|
-
"is_expired": false,
|
108
|
-
"type": "COMPANY_IDENTIFY_BENEFICIAL_OWNERS"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"check_ids": [],
|
112
|
-
"creation_date": "2018-01-15 11:39:17",
|
113
|
-
"id": "b8485a78-f9e8-11e7-86ee-000000000000",
|
114
|
-
"is_complete": false,
|
115
|
-
"is_expired": false,
|
116
|
-
"type": "COMPANY_ASSESS_SANCTIONS_EXPOSURE"
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"check_ids": [],
|
120
|
-
"creation_date": "2018-01-15 11:39:17",
|
121
|
-
"id": "b84ad2de-f9e8-11e7-806b-000000000000",
|
122
|
-
"is_complete": false,
|
123
|
-
"is_expired": false,
|
124
|
-
"type": "COMPANY_REVIEW_FILINGS"
|
125
|
-
}
|
126
|
-
],
|
127
|
-
"unresolved_event_types": []
|
128
|
-
}
|
1
|
+
{
|
2
|
+
"applications": [
|
3
|
+
{
|
4
|
+
"approval_blockers": [
|
5
|
+
{
|
6
|
+
"blocker_type": "INCOMPLETE_TASK",
|
7
|
+
"task_type": "COMPANY_VERIFY_IDENTITY"
|
8
|
+
},
|
9
|
+
{
|
10
|
+
"blocker_type": "INCOMPLETE_TASK",
|
11
|
+
"task_type": "COMPANY_IDENTIFY_AUTHORIZED_PERSONS"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"blocker_type": "INCOMPLETE_TASK",
|
15
|
+
"task_type": "COMPANY_IDENTIFY_OFFICERS"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"blocker_type": "INCOMPLETE_TASK",
|
19
|
+
"task_type": "COMPANY_IDENTIFY_BENEFICIAL_OWNERS"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"blocker_type": "INCOMPLETE_TASK",
|
23
|
+
"task_type": "COMPANY_ASSESS_SANCTIONS_EXPOSURE"
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"blocker_type": "INCOMPLETE_TASK",
|
27
|
+
"task_type": "COMPANY_REVIEW_FILINGS"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"history": [
|
31
|
+
{
|
32
|
+
"date": "2018-01-15 11:39:17",
|
33
|
+
"status": "APPLIED"
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"id": "b83a64ec-f9e8-11e7-82a7-000000000000",
|
37
|
+
"product": {
|
38
|
+
"id": "eb299330-f63a-11e7-bc01-000000000000",
|
39
|
+
"name": "Mortgage"
|
40
|
+
},
|
41
|
+
"status": "APPLIED"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"category": "APPLICANT",
|
45
|
+
"checks": [],
|
46
|
+
"collected_data": {
|
47
|
+
"entity_type": "COMPANY",
|
48
|
+
"metadata": {
|
49
|
+
"country_of_incorporation": "GBR",
|
50
|
+
"number": "09565115"
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"collection_steps": [],
|
54
|
+
"display_name": "PassFort Limited",
|
55
|
+
"document_images": [],
|
56
|
+
"events": [],
|
57
|
+
"has_associates": false,
|
58
|
+
"has_collection_steps": false,
|
59
|
+
"id": "b82b0434-f9e8-11e7-8397-000000000000",
|
60
|
+
"linked_to": [],
|
61
|
+
"risk": {},
|
62
|
+
"role": "COMPANY_CUSTOMER",
|
63
|
+
"status": "NORMAL",
|
64
|
+
"tags": [],
|
65
|
+
"task_progress": {
|
66
|
+
"completed_count": 0,
|
67
|
+
"total_count": 6
|
68
|
+
},
|
69
|
+
"task_types": [
|
70
|
+
"COMPANY_VERIFY_IDENTITY",
|
71
|
+
"COMPANY_IDENTIFY_AUTHORIZED_PERSONS",
|
72
|
+
"COMPANY_IDENTIFY_OFFICERS",
|
73
|
+
"COMPANY_IDENTIFY_BENEFICIAL_OWNERS",
|
74
|
+
"COMPANY_ASSESS_SANCTIONS_EXPOSURE",
|
75
|
+
"COMPANY_REVIEW_FILINGS"
|
76
|
+
],
|
77
|
+
"tasks": [
|
78
|
+
{
|
79
|
+
"check_ids": [],
|
80
|
+
"creation_date": "2018-01-15 11:39:17",
|
81
|
+
"id": "b83e2d7e-f9e8-11e7-8229-000000000000",
|
82
|
+
"is_complete": false,
|
83
|
+
"is_expired": false,
|
84
|
+
"type": "COMPANY_VERIFY_IDENTITY"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"check_ids": [],
|
88
|
+
"creation_date": "2018-01-15 11:39:17",
|
89
|
+
"id": "b841b73e-f9e8-11e7-b17f-000000000000",
|
90
|
+
"is_complete": false,
|
91
|
+
"is_expired": false,
|
92
|
+
"type": "COMPANY_IDENTIFY_AUTHORIZED_PERSONS"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"check_ids": [],
|
96
|
+
"creation_date": "2018-01-15 11:39:17",
|
97
|
+
"id": "b843d282-f9e8-11e7-b539-000000000000",
|
98
|
+
"is_complete": false,
|
99
|
+
"is_expired": false,
|
100
|
+
"type": "COMPANY_IDENTIFY_OFFICERS"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"check_ids": [],
|
104
|
+
"creation_date": "2018-01-15 11:39:17",
|
105
|
+
"id": "b845e7f4-f9e8-11e7-a4d1-000000000000",
|
106
|
+
"is_complete": false,
|
107
|
+
"is_expired": false,
|
108
|
+
"type": "COMPANY_IDENTIFY_BENEFICIAL_OWNERS"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"check_ids": [],
|
112
|
+
"creation_date": "2018-01-15 11:39:17",
|
113
|
+
"id": "b8485a78-f9e8-11e7-86ee-000000000000",
|
114
|
+
"is_complete": false,
|
115
|
+
"is_expired": false,
|
116
|
+
"type": "COMPANY_ASSESS_SANCTIONS_EXPOSURE"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"check_ids": [],
|
120
|
+
"creation_date": "2018-01-15 11:39:17",
|
121
|
+
"id": "b84ad2de-f9e8-11e7-806b-000000000000",
|
122
|
+
"is_complete": false,
|
123
|
+
"is_expired": false,
|
124
|
+
"type": "COMPANY_REVIEW_FILINGS"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"unresolved_event_types": []
|
128
|
+
}
|