alloy-kyc 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c974670d0a31754cae8c6436b49eaef75943234d
4
- data.tar.gz: 0b1a9193002ae0de909edce4890495300be6e7b9
3
+ metadata.gz: cf9e8eb8bb0df9e3b8db684062c228b0a52bc3c3
4
+ data.tar.gz: 5bc113dd4fa04946f642df2d9800b2aa5ebeb2e6
5
5
  SHA512:
6
- metadata.gz: 80579f2511193fede6de8ff9a040705381e2fb792e69358aa5339e020ea62a03ef57c56b8569ff740fdf0b7fcc550bb1d069b0b542da71567cd5e37928a65f47
7
- data.tar.gz: e19ff492ff1a4a964abf1865cf8441f065357e110c3fa181ba1ffda4a1178fca7a019577863ab7ee29e476e0d4106c27fcdcdedf9a1842265cd063cb143c5313
6
+ metadata.gz: 8e9d0be345cfef36740743019660cdef7d7b0f806f4ad30935a7f63d7b82e3b2862f5c4258733801dabdbc8ea6ec457a784f424f491bcf039a5a4ccabe38f98d
7
+ data.tar.gz: 7f0baf36cfd28d094eee27cab05401a414486b6187cb8fcfe4666d2cc39cb36d10e79a184144948493e755afe6f84845190ac77b8b69f6a86cf7b965842f35ec
@@ -1,5 +1,8 @@
1
+ * May 25, 2017 - 0.1.3
2
+ Add support for manual review and denials
3
+
1
4
  * April 26, 2017 - 0.1.2
2
- Allow clients to use path prefixes.
5
+ Allow clients to use path prefixes
3
6
 
4
7
  * April 11, 2017 - 0.1.1
5
8
  Adding Tom Copeland to authors
@@ -0,0 +1,553 @@
1
+ {
2
+ "status_code": 201,
3
+ "error": null,
4
+ "timestamp": 1495221936459,
5
+ "evaluation_token": "L-Bqthc0wbqwzIzujEug0f",
6
+ "entity_token": "P-JWtltgzaw0cCrAMGS4lg",
7
+ "application_token": "ryT2MLx7mRYxvJEzaK22l6UmtuWSYHXs",
8
+ "summary": {
9
+ "outcome": "denied",
10
+ "score": 0.83,
11
+ "tags": [
12
+ "Email Warning",
13
+ "Reason Codes Warning",
14
+ "Denied Fraud",
15
+ "KYC Name Match",
16
+ "KYC SSN Match",
17
+ "KYC DOB Match",
18
+ "KYC Address Match",
19
+ "Phone Match",
20
+ "Phone Partial Match"
21
+ ],
22
+ "services": {
23
+ "Emailage": "executed",
24
+ "Blockscore": "not_executed",
25
+ "Lexis Nexis Instant ID": "executed",
26
+ "White Pages Pro": "executed",
27
+ "Socure": "executed"
28
+ },
29
+ "result": "success"
30
+ },
31
+ "supplied": {
32
+ "address_line_1": "1 MAIN ST",
33
+ "name_last": "Copeland",
34
+ "name_middle": "Lee",
35
+ "phone_number": "+17035551212",
36
+ "address_state": "VA",
37
+ "document_ssn_last4": "1111",
38
+ "document_ssn": "123451111",
39
+ "address_city": "HERNDON",
40
+ "email_address": "tom@example.org",
41
+ "name_first": "Thomas",
42
+ "address_line_2": "",
43
+ "gender": "",
44
+ "address_postal_code": "11111-3506",
45
+ "birth_date": "1973-02-19",
46
+ "address_country_code": "US"
47
+ },
48
+ "formatted": {
49
+ "address_line_1": "1 MAIN ST",
50
+ "name_last": "Copeland",
51
+ "name_middle": "Lee",
52
+ "phone_number": "+17035551212",
53
+ "address_state": "VA",
54
+ "document_ssn_last4": "1111",
55
+ "document_ssn": "123451111",
56
+ "address_city": "HERNDON",
57
+ "email_address": "tom@example.org",
58
+ "name_first": "Thomas",
59
+ "address_line_2": "",
60
+ "gender": "",
61
+ "address_postal_code": "11111-3506",
62
+ "birth_date": "1973-02-19",
63
+ "address_country_code": "US"
64
+ },
65
+ "matching": {
66
+ "email": {
67
+ "score": 0,
68
+ "unmatched": [
69
+ "Socure",
70
+ "White Pages Pro"
71
+ ],
72
+ "matched": []
73
+ },
74
+ "dob": {
75
+ "score": 0.99,
76
+ "unmatched": [],
77
+ "matched": [
78
+ "Socure",
79
+ "Lexis Nexis Instant ID"
80
+ ]
81
+ },
82
+ "name": {
83
+ "score": 0.99,
84
+ "unmatched": [],
85
+ "matched": [
86
+ "Socure",
87
+ "Lexis Nexis Instant ID",
88
+ "Emailage"
89
+ ]
90
+ },
91
+ "ssn": {
92
+ "score": 0.99,
93
+ "unmatched": [],
94
+ "matched": [
95
+ "Socure",
96
+ "Lexis Nexis Instant ID"
97
+ ]
98
+ },
99
+ "phone": {
100
+ "score": 1,
101
+ "unmatched": [],
102
+ "matched": [
103
+ "Socure",
104
+ "White Pages Pro",
105
+ "Lexis Nexis Instant ID"
106
+ ]
107
+ },
108
+ "address": {
109
+ "score": 1,
110
+ "unmatched": [],
111
+ "matched": [
112
+ "Socure",
113
+ "White Pages Pro",
114
+ "Lexis Nexis Instant ID"
115
+ ]
116
+ }
117
+ },
118
+ "diligence": {
119
+ "financial": null,
120
+ "identity_questions": null,
121
+ "watchlists": {
122
+ "matches": [],
123
+ "lists": [
124
+ "Socure Watchlists Tier 1",
125
+ "BES",
126
+ "CFTC",
127
+ "DTC",
128
+ "EUDT",
129
+ "FBI",
130
+ "FCEN",
131
+ "FAR",
132
+ "IMW",
133
+ "OFAC",
134
+ "OCC",
135
+ "OSFI",
136
+ "PEP",
137
+ "SDT",
138
+ "UNNT",
139
+ "BIS",
140
+ "WBIF"
141
+ ]
142
+ },
143
+ "fraud": {
144
+ "score": 0.12,
145
+ "flags": []
146
+ }
147
+ },
148
+ "related_data": {
149
+ "social": [
150
+ {
151
+ "url": "https://plus.google.com/104592934742970127494/about",
152
+ "type": "Google Plus",
153
+ "id": "about"
154
+ }
155
+ ]
156
+ },
157
+ "raw_responses": {
158
+ "Emailage": [
159
+ {
160
+ "totalhits": "1",
161
+ "dob": "",
162
+ "EAStatusID": "3",
163
+ "domainExists": "Yes",
164
+ "firstVerificationDate": "2012-11-14T07:00:00Z",
165
+ "EARiskBandID": "4",
166
+ "status": "EmailInexistent",
167
+ "country": "US",
168
+ "domaincountryname": "United+States",
169
+ "domaincategory": "Webmail",
170
+ "company": "",
171
+ "fraudRisk": "708 Review",
172
+ "gender": "",
173
+ "EAAdviceID": "11",
174
+ "fraud_type": "",
175
+ "domainrisklevelID": "3",
176
+ "title": "",
177
+ "location": "",
178
+ "email": "tom%40example.org",
179
+ "uniquehits": "1",
180
+ "domainname": "example.org",
181
+ "EAScore": "708",
182
+ "EAAdvice": "Data Entry Review",
183
+ "smlinks": [],
184
+ "eName": "",
185
+ "emailExists": "No",
186
+ "domainrisklevel": "Moderate",
187
+ "emailAge": "",
188
+ "smfriends": "",
189
+ "domainrelevantinfo": "Valid Webmail Domain from United States",
190
+ "domainrelevantinfoID": "508",
191
+ "shipforward": "",
192
+ "domaincompany": "Verizon",
193
+ "lastVerificationDate": "2017-05-19T19:25:34Z",
194
+ "EAReasonID": "2",
195
+ "source_industry": "",
196
+ "EARiskBand": "Fraud Score 601 to 799",
197
+ "EAReason": "Email does not exist",
198
+ "imageurl": "",
199
+ "domaincorporate": "No",
200
+ "domainAge": "1999-07-06T07:00:00Z"
201
+ }
202
+ ],
203
+ "Lexis Nexis Instant ID": [
204
+ {
205
+ "response": {
206
+ "Header": {
207
+ "Status": 0,
208
+ "TransactionId": "158813203R731727"
209
+ },
210
+ "Result": {
211
+ "VerifiedInput": {
212
+ "Name": {
213
+ "Last": "COPELAND",
214
+ "First": "THOMAS"
215
+ },
216
+ "HomePhone": "7035551212",
217
+ "SSN": "12345xxxx",
218
+ "DOB": {
219
+ "Year": "1974",
220
+ "Month": "02",
221
+ "Day": "XX"
222
+ },
223
+ "Address": {
224
+ "StreetAddress1": "1 MAIN ST",
225
+ "County": "FAIRFAX",
226
+ "City": "HERNDON",
227
+ "Zip5": "11111",
228
+ "StreetSuffix": "ST",
229
+ "State": "VA",
230
+ "StreetName": "MAIN",
231
+ "StreetNumber": "1",
232
+ "Zip4": "3506"
233
+ }
234
+ },
235
+ "InstantIDVersion": "1",
236
+ "AdditionalScore2": "0",
237
+ "ComprehensiveVerification": {
238
+ "ComprehensiveVerificationIndex": 50
239
+ },
240
+ "AddressCMRA": false,
241
+ "PhoneOfNameAddress": "7035551212",
242
+ "NameAddressPhone": {
243
+ "Summary": "12",
244
+ "Status": "C",
245
+ "Type": "P"
246
+ },
247
+ "SSNInfo": {
248
+ "IssuedLocation": "Virginia",
249
+ "Valid": "G",
250
+ "IssuedEndDate": {
251
+ "Year": "1976",
252
+ "Month": "12",
253
+ "Day": "31"
254
+ },
255
+ "IssuedStartDate": {
256
+ "Year": "1975",
257
+ "Month": "01",
258
+ "Day": "01"
259
+ }
260
+ },
261
+ "NameAddressSSNSummary": 12,
262
+ "InputEcho": {
263
+ "ApplicationDateTime": {
264
+ "Hour24": "19",
265
+ "Year": "2017",
266
+ "Month": "5",
267
+ "Day": "19",
268
+ "Second": "34",
269
+ "Minute": "25"
270
+ },
271
+ "Passport": {
272
+ "ExpirationDate": null,
273
+ "MachineReadableLine1": "",
274
+ "Country": "",
275
+ "MachineReadableLine2": "",
276
+ "Number": ""
277
+ },
278
+ "Email": "tom@example.org",
279
+ "Name": {
280
+ "Last": "Copeland",
281
+ "Middle": "Lee",
282
+ "First": "Thomas"
283
+ },
284
+ "OwnOrRent": null,
285
+ "Channel": null,
286
+ "SSNLast4": "1111",
287
+ "SSN": "123451111",
288
+ "HomePhone": "7035551212",
289
+ "DOB": {
290
+ "Year": "1972",
291
+ "Month": "1",
292
+ "Day": "29"
293
+ },
294
+ "Address": {
295
+ "StreetAddress1": "1 MAIN ST",
296
+ "State": "VA",
297
+ "Zip5": "11111",
298
+ "City": "HERNDON"
299
+ }
300
+ },
301
+ "UniqueId": "509968167",
302
+ "CurrentName": {
303
+ "Last": "COPELAND",
304
+ "First": "THOMAS"
305
+ },
306
+ "DOBMatchLevel": 8,
307
+ "ChronologyHistories": {
308
+ "ChronologyHistory": [
309
+ {
310
+ "IsBestAddress": true,
311
+ "Phone": "7035551212",
312
+ "DateFirstSeen": {
313
+ "Year": "2008"
314
+ },
315
+ "DateLastSeen": {
316
+ "Year": "2017",
317
+ "Month": "04"
318
+ },
319
+ "Address": {
320
+ "StreetAddress1": "1 MAIN ST",
321
+ "City": "HERNDON",
322
+ "Zip5": "11111",
323
+ "StreetSuffix": "ST",
324
+ "State": "VA",
325
+ "StreetName": "FLORIS",
326
+ "StreetNumber": "13515",
327
+ "Zip4": "3506"
328
+ }
329
+ },
330
+ {
331
+ "Phone": "7035551212",
332
+ "DateFirstSeen": {
333
+ "Year": "1999",
334
+ "Month": "12"
335
+ },
336
+ "DateLastSeen": {
337
+ "Year": "2008",
338
+ "Month": "06"
339
+ },
340
+ "Address": {
341
+ "StreetAddress1": "3272 MAIN CT",
342
+ "City": "RESTON",
343
+ "Zip5": "22003",
344
+ "StreetSuffix": "CT",
345
+ "State": "VA",
346
+ "StreetName": "MAIN",
347
+ "StreetNumber": "3272",
348
+ "Zip4": "1108"
349
+ }
350
+ },
351
+ {
352
+ "DateFirstSeen": {
353
+ "Year": "1999",
354
+ "Month": "09"
355
+ },
356
+ "DateLastSeen": {
357
+ "Year": "2000",
358
+ "Month": "01"
359
+ },
360
+ "Address": {
361
+ "StreetAddress1": "2003 MAIN ST",
362
+ "City": "FAIRFAX",
363
+ "Zip5": "22204",
364
+ "StreetSuffix": "ST",
365
+ "State": "VA",
366
+ "UnitNumber": "319",
367
+ "StreetName": "MAIN",
368
+ "StreetNumber": "2003",
369
+ "UnitDesignation": "APT",
370
+ "Zip4": "4557"
371
+ }
372
+ }
373
+ ]
374
+ },
375
+ "ReversePhone": {
376
+ "Name": {
377
+ "Last": "COPELAND",
378
+ "First": "THOMAS"
379
+ },
380
+ "Address": {
381
+ "StreetAddress1": "1 MAIN ST",
382
+ "City": "HERNDON",
383
+ "Zip5": "11111",
384
+ "StreetSuffix": "ST",
385
+ "State": "VA",
386
+ "StreetName": "MAIN",
387
+ "StreetNumber": "1"
388
+ }
389
+ },
390
+ "AdditionalScore1": "0",
391
+ "DOBVerified": true,
392
+ "AddressPOBox": false,
393
+ "SSNFoundForLexID": true,
394
+ "PassportValidated": false
395
+ }
396
+ }
397
+ }
398
+ ],
399
+ "White Pages Pro": [
400
+ {
401
+ "ip_address_checks": null,
402
+ "address_checks": {
403
+ "is_valid": true,
404
+ "is_forwarder": false,
405
+ "type": "Single unit",
406
+ "error": null,
407
+ "resident_name": "Thomas L Copeland",
408
+ "is_commercial": false,
409
+ "warnings": [],
410
+ "is_active": true,
411
+ "is_resident_deceased": false,
412
+ "address_to_name": "Match",
413
+ "resident_age_range": "45-49",
414
+ "diagnostics": []
415
+ },
416
+ "billing_address_checks": null,
417
+ "request": {
418
+ "address.city": "HERNDON",
419
+ "firstname": "Thomas",
420
+ "api_key": "",
421
+ "address.state_code": "VA",
422
+ "address.country_code": "US",
423
+ "phone": "+17035551212",
424
+ "address.street_line_1": "1 MAIN ST",
425
+ "lastname": "Copeland",
426
+ "email_address": "tom@example.org"
427
+ },
428
+ "billing_name_checks": null,
429
+ "errors": [],
430
+ "phone_checks": {
431
+ "is_valid": true,
432
+ "phone_to_address": "Match",
433
+ "error": null,
434
+ "carrier": "Verizon",
435
+ "subscriber_age_range": "45-49",
436
+ "is_prepaid": false,
437
+ "warnings": [],
438
+ "phone_to_name": "Match",
439
+ "is_do_not_call_registered": null,
440
+ "line_type": "Landline",
441
+ "country_code": "US",
442
+ "is_subscriber_deceased": false,
443
+ "is_connected": null,
444
+ "is_commercial": false,
445
+ "subscriber_name": "Thomas L Copeland"
446
+ },
447
+ "billing_phone_checks": null,
448
+ "shipping_name_checks": null,
449
+ "name_checks": {
450
+ "celebrity_name": false,
451
+ "fake_name": false,
452
+ "warnings": [],
453
+ "error": null
454
+ },
455
+ "shipping_phone_checks": null,
456
+ "email_address_checks": {
457
+ "is_valid": false,
458
+ "email_domain_creation_date": "1999-07-06",
459
+ "email_to_name": "No name found",
460
+ "registered_owner_age_range": null,
461
+ "is_disposable": false,
462
+ "warnings": [
463
+ "The mailbox is invalid or does not exist"
464
+ ],
465
+ "registered_name": null,
466
+ "is_autogenerated": false,
467
+ "email_first_seen_days": 1647,
468
+ "email_domain_creation_days": 6527,
469
+ "diagnostics": [],
470
+ "email_first_seen_date": "2012-11-14",
471
+ "error": null
472
+ },
473
+ "shipping_address_checks": null
474
+ }
475
+ ],
476
+ "Socure": [
477
+ {
478
+ "status": "Ok",
479
+ "data": {
480
+ "confidence": 0.42,
481
+ "uuid": "e29f0809-0db3-4a71-88ac-2cedaa032084",
482
+ "referenceid": "415716bc-735f-41bd-bcce-500a13b93a8b",
483
+ "details": [
484
+ {
485
+ "fieldValidation": {
486
+ "email": "",
487
+ "mobilenumber": "",
488
+ "name": "",
489
+ "address": ""
490
+ },
491
+ "profilesFound": [
492
+ "https://whitepages.plus/n/Tom_Copeland/Herndon_VA/9c5f2c7131eb65417d81f7fadd74c1de",
493
+ "http://tomcopeland.blogs.com",
494
+ "http://en.gravatar.com/tomcopeland",
495
+ "http://en.gravatar.com/8598557",
496
+ "https://plus.google.com/104592934742970127494/about",
497
+ "https://whitepages.plus/n/Thomas_Copeland/Herndon_VA/b33590e357e1e63e49db7cb8c1239957",
498
+ "http://gravatar.com/tomcopeland"
499
+ ],
500
+ "kyc": {
501
+ "surname": "0.99",
502
+ "dob": "0.99",
503
+ "state": "0.99",
504
+ "firstname": "0.99",
505
+ "streetaddress": "0.99",
506
+ "zip": "0.99",
507
+ "ssn": "0.99",
508
+ "city": "0.99",
509
+ "mobilenumber": "0.99"
510
+ },
511
+ "correlationScores": {
512
+ "name_address_email": "0.82",
513
+ "name_address_phone_email": "0.88",
514
+ "name_address_phone": "0.99",
515
+ "name_phone_email": "0.83"
516
+ },
517
+ "blacklisted": {}
518
+ }
519
+ ],
520
+ "fraudscore": 0.1162,
521
+ "reasoncodes": [
522
+ "I916",
523
+ "I705",
524
+ "I609",
525
+ "I129",
526
+ "I322",
527
+ "I333",
528
+ "I553",
529
+ "I611",
530
+ "I919",
531
+ "I603",
532
+ "I614",
533
+ "I329",
534
+ "I127",
535
+ "I556",
536
+ "I708",
537
+ "I618",
538
+ "I555",
539
+ "I327",
540
+ "I260",
541
+ "I707",
542
+ "I121"
543
+ ],
544
+ "authscore": 6,
545
+ "debug": [],
546
+ "custommodels": []
547
+ },
548
+ "msg": ""
549
+ }
550
+ ]
551
+ },
552
+ "audit_archive": null
553
+ }
@@ -0,0 +1,617 @@
1
+ {
2
+ "status_code": 201,
3
+ "error": null,
4
+ "timestamp": 1495222000317,
5
+ "evaluation_token": "L-FCfrqm4VtgfTOlUGKkc2",
6
+ "entity_token": "P-JWtltgzaw0cCrAMGS4lg",
7
+ "application_token": "ryT2MLx7mRYxvJEzaK22l6UmtuWSYHXs",
8
+ "summary": {
9
+ "outcome": "manual review",
10
+ "score": 0.91,
11
+ "tags": [
12
+ "Reason Codes Warning",
13
+ "KYC Name Match",
14
+ "KYC SSN Match",
15
+ "KYC DOB Match",
16
+ "KYC Address Match",
17
+ "Email Risk",
18
+ "Phone Match",
19
+ "Phone Partial Match"
20
+ ],
21
+ "services": {
22
+ "Emailage": "cached",
23
+ "Blockscore": "not_executed",
24
+ "Lexis Nexis Instant ID": "cached",
25
+ "White Pages Pro": "cached",
26
+ "Socure": "cached"
27
+ },
28
+ "result": "success"
29
+ },
30
+ "supplied": {
31
+ "address_line_1": "1 MAIN ST",
32
+ "name_last": "Copeland",
33
+ "name_middle": "Lee",
34
+ "phone_number": "+17035551212",
35
+ "address_state": "VA",
36
+ "document_ssn_last4": "1111",
37
+ "document_ssn": "123451111",
38
+ "address_city": "HERNDON",
39
+ "email_address": "tom@example.org",
40
+ "name_first": "Thomas",
41
+ "address_line_2": "",
42
+ "gender": "",
43
+ "address_postal_code": "11111-3506",
44
+ "birth_date": "1973-02-19",
45
+ "address_country_code": "US"
46
+ },
47
+ "formatted": {
48
+ "address_line_1": "1 MAIN ST",
49
+ "name_last": "Copeland",
50
+ "name_middle": "Lee",
51
+ "phone_number": "+17035551212",
52
+ "address_state": "VA",
53
+ "document_ssn_last4": "1111",
54
+ "document_ssn": "123451111",
55
+ "address_city": "HERNDON",
56
+ "email_address": "tom@example.org",
57
+ "name_first": "Thomas",
58
+ "address_line_2": "",
59
+ "gender": "",
60
+ "address_postal_code": "11111-3506",
61
+ "birth_date": "1973-02-19",
62
+ "address_country_code": "US"
63
+ },
64
+ "matching": {
65
+ "email": {
66
+ "score": 0.5,
67
+ "unmatched": [
68
+ "Socure"
69
+ ],
70
+ "matched": [
71
+ "White Pages Pro"
72
+ ]
73
+ },
74
+ "dob": {
75
+ "score": 0.99,
76
+ "unmatched": [],
77
+ "matched": [
78
+ "Lexis Nexis Instant ID",
79
+ "Socure"
80
+ ]
81
+ },
82
+ "name": {
83
+ "score": 0.99,
84
+ "unmatched": [],
85
+ "matched": [
86
+ "Lexis Nexis Instant ID",
87
+ "Socure",
88
+ "Emailage"
89
+ ]
90
+ },
91
+ "ssn": {
92
+ "score": 0.99,
93
+ "unmatched": [],
94
+ "matched": [
95
+ "Lexis Nexis Instant ID",
96
+ "Socure"
97
+ ]
98
+ },
99
+ "phone": {
100
+ "score": 1,
101
+ "unmatched": [],
102
+ "matched": [
103
+ "White Pages Pro",
104
+ "Lexis Nexis Instant ID",
105
+ "Socure"
106
+ ]
107
+ },
108
+ "address": {
109
+ "score": 1,
110
+ "unmatched": [],
111
+ "matched": [
112
+ "White Pages Pro",
113
+ "Lexis Nexis Instant ID",
114
+ "Socure"
115
+ ]
116
+ }
117
+ },
118
+ "diligence": {
119
+ "financial": null,
120
+ "identity_questions": null,
121
+ "watchlists": {
122
+ "matches": [],
123
+ "lists": [
124
+ "BES",
125
+ "CFTC",
126
+ "DTC",
127
+ "EUDT",
128
+ "FBI",
129
+ "FCEN",
130
+ "FAR",
131
+ "IMW",
132
+ "OFAC",
133
+ "OCC",
134
+ "OSFI",
135
+ "PEP",
136
+ "SDT",
137
+ "UNNT",
138
+ "BIS",
139
+ "WBIF",
140
+ "Socure Watchlists Tier 1"
141
+ ]
142
+ },
143
+ "fraud": {
144
+ "score": 0.05,
145
+ "flags": []
146
+ }
147
+ },
148
+ "related_data": {
149
+ "social": [
150
+ {
151
+ "url": "http://klout.com/tcopeland",
152
+ "type": "Klout",
153
+ "id": "tcopeland"
154
+ },
155
+ {
156
+ "url": "https://about.me/tcopeland",
157
+ "type": "About Me",
158
+ "id": "tcopeland"
159
+ },
160
+ {
161
+ "url": "https://plus.google.com/104592934742970127494/about",
162
+ "type": "Google Plus",
163
+ "id": "about"
164
+ },
165
+ {
166
+ "url": "https://twitter.com/tcopeland",
167
+ "type": "Twitter",
168
+ "id": "tcopeland"
169
+ },
170
+ {
171
+ "url": "https://plus.google.com/104592934742970127494",
172
+ "type": "Google Plus",
173
+ "id": "104592934742970127494"
174
+ },
175
+ {
176
+ "url": "https://www.facebook.com/tom.copeland.549",
177
+ "type": "Facebook",
178
+ "id": "tom.copeland.549"
179
+ },
180
+ {
181
+ "url": "https://foursquare.com/user/10921572",
182
+ "type": "FourSquare",
183
+ "id": "10921572"
184
+ },
185
+ {
186
+ "url": "https://github.com/tcopeland",
187
+ "type": "GitHub",
188
+ "id": "tcopeland"
189
+ },
190
+ {
191
+ "url": "https://twitter.com/?profile_id=15031577",
192
+ "type": "Twitter",
193
+ "id": "15031577"
194
+ }
195
+ ]
196
+ },
197
+ "raw_responses": {
198
+ "Emailage": [
199
+ {
200
+ "totalhits": "1",
201
+ "dob": "",
202
+ "EAStatusID": "2",
203
+ "domainExists": "Yes",
204
+ "firstVerificationDate": "2011-05-03T00:00:00Z",
205
+ "EARiskBandID": "1",
206
+ "status": "Verified",
207
+ "country": "US",
208
+ "domaincountryname": "United+States",
209
+ "domaincategory": "",
210
+ "company": "",
211
+ "fraudRisk": "089 Very Low",
212
+ "gender": "male",
213
+ "EAAdviceID": "3",
214
+ "fraud_type": "",
215
+ "domainrisklevelID": "3",
216
+ "title": "",
217
+ "location": "Herndon%2c+Virginia%2c+United+States",
218
+ "email": "tom%40example.org",
219
+ "uniquehits": "1",
220
+ "domainname": "thomasleecopeland.com",
221
+ "EAScore": "89",
222
+ "EAAdvice": "Lower Fraud Risk",
223
+ "smlinks": [
224
+ {
225
+ "link": "https://twitter.com/tcopeland",
226
+ "source": "Twitter"
227
+ }
228
+ ],
229
+ "eName": "Tom+Copeland",
230
+ "emailExists": "Yes",
231
+ "domainrisklevel": "Moderate",
232
+ "emailAge": "",
233
+ "smfriends": "908",
234
+ "domainrelevantinfo": "Valid Domain from United States",
235
+ "domainrelevantinfoID": "508",
236
+ "shipforward": "",
237
+ "domaincompany": "",
238
+ "lastVerificationDate": "2017-05-19T19:00:25Z",
239
+ "EAReasonID": "14",
240
+ "source_industry": "",
241
+ "EARiskBand": "Fraud Score 1 to 100",
242
+ "EAReason": "Email Created at least 6.0 Years Ago",
243
+ "imageurl": "https%3a%2f%2fapp.emailage.com%2fEmailAgeImage%2faXbt8Vrq94Awerl.a3TFRC22xQGPzwc3Xi.at-OLa.aobf5Fu.aMMeWn54EL9LquUnhS.png",
244
+ "domaincorporate": "",
245
+ "domainAge": "2011-05-03T00:00:00Z"
246
+ }
247
+ ],
248
+ "Lexis Nexis Instant ID": [
249
+ {
250
+ "response": {
251
+ "Header": {
252
+ "Status": 0,
253
+ "TransactionId": "129188222R729369"
254
+ },
255
+ "Result": {
256
+ "VerifiedInput": {
257
+ "Name": {
258
+ "Last": "COPELAND",
259
+ "First": "THOMAS"
260
+ },
261
+ "HomePhone": "7035551212",
262
+ "SSN": "12345xxxx",
263
+ "DOB": {
264
+ "Year": "1972",
265
+ "Month": "01",
266
+ "Day": "XX"
267
+ },
268
+ "Address": {
269
+ "StreetAddress1": "1 MAIN ST",
270
+ "County": "FAIRFAX",
271
+ "City": "HERNDON",
272
+ "Zip5": "11111",
273
+ "StreetSuffix": "ST",
274
+ "State": "VA",
275
+ "StreetName": "MAIN",
276
+ "StreetNumber": "1",
277
+ "Zip4": "3506"
278
+ }
279
+ },
280
+ "InstantIDVersion": "1",
281
+ "AdditionalScore2": "0",
282
+ "ComprehensiveVerification": {
283
+ "ComprehensiveVerificationIndex": 50
284
+ },
285
+ "AddressCMRA": false,
286
+ "PhoneOfNameAddress": "7035551212",
287
+ "NameAddressPhone": {
288
+ "Summary": "12",
289
+ "Status": "C",
290
+ "Type": "P"
291
+ },
292
+ "SSNInfo": {
293
+ "IssuedLocation": "Virginia",
294
+ "Valid": "G",
295
+ "IssuedEndDate": {
296
+ "Year": "1976",
297
+ "Month": "12",
298
+ "Day": "31"
299
+ },
300
+ "IssuedStartDate": {
301
+ "Year": "1975",
302
+ "Month": "01",
303
+ "Day": "01"
304
+ }
305
+ },
306
+ "NameAddressSSNSummary": 12,
307
+ "InputEcho": {
308
+ "ApplicationDateTime": {
309
+ "Hour24": "19",
310
+ "Year": "2017",
311
+ "Month": "5",
312
+ "Day": "19",
313
+ "Second": "26",
314
+ "Minute": "16"
315
+ },
316
+ "Passport": {
317
+ "ExpirationDate": null,
318
+ "MachineReadableLine1": "",
319
+ "Country": "",
320
+ "MachineReadableLine2": "",
321
+ "Number": ""
322
+ },
323
+ "Email": "tom@example.org",
324
+ "Name": {
325
+ "Last": "Copeland",
326
+ "Middle": "Lee",
327
+ "First": "Thomas"
328
+ },
329
+ "OwnOrRent": null,
330
+ "Channel": null,
331
+ "SSNLast4": "1111",
332
+ "SSN": "123451111",
333
+ "HomePhone": "7035551212",
334
+ "DOB": {
335
+ "Year": "1972",
336
+ "Month": "1",
337
+ "Day": "29"
338
+ },
339
+ "Address": {
340
+ "StreetAddress1": "1 MAIN ST",
341
+ "State": "VA",
342
+ "Zip5": "11111",
343
+ "City": "HERNDON"
344
+ }
345
+ },
346
+ "UniqueId": "509968167",
347
+ "CurrentName": {
348
+ "Last": "COPELAND",
349
+ "First": "THOMAS"
350
+ },
351
+ "DOBMatchLevel": 8,
352
+ "ChronologyHistories": {
353
+ "ChronologyHistory": [
354
+ {
355
+ "IsBestAddress": true,
356
+ "Phone": "7035551212",
357
+ "DateFirstSeen": {
358
+ "Year": "2008"
359
+ },
360
+ "DateLastSeen": {
361
+ "Year": "2017",
362
+ "Month": "04"
363
+ },
364
+ "Address": {
365
+ "StreetAddress1": "1 MAIN ST",
366
+ "City": "HERNDON",
367
+ "Zip5": "11111",
368
+ "StreetSuffix": "ST",
369
+ "State": "VA",
370
+ "StreetName": "MAIN",
371
+ "StreetNumber": "1",
372
+ "Zip4": "3506"
373
+ }
374
+ },
375
+ {
376
+ "Phone": "7038512570",
377
+ "DateFirstSeen": {
378
+ "Year": "1999",
379
+ "Month": "12"
380
+ },
381
+ "DateLastSeen": {
382
+ "Year": "2008",
383
+ "Month": "06"
384
+ },
385
+ "Address": {
386
+ "StreetAddress1": "1 MAIN ST",
387
+ "City": "FAIRFAX",
388
+ "Zip5": "20111",
389
+ "StreetSuffix": "CT",
390
+ "State": "VA",
391
+ "StreetName": "MAIN",
392
+ "StreetNumber": "1",
393
+ "Zip4": "1108"
394
+ }
395
+ },
396
+ {
397
+ "DateFirstSeen": {
398
+ "Year": "1999",
399
+ "Month": "09"
400
+ },
401
+ "DateLastSeen": {
402
+ "Year": "2000",
403
+ "Month": "01"
404
+ },
405
+ "Address": {
406
+ "StreetAddress1": "2003 MAIN ST",
407
+ "City": "RESTON",
408
+ "Zip5": "22206",
409
+ "StreetSuffix": "ST",
410
+ "State": "VA",
411
+ "UnitNumber": "317",
412
+ "StreetName": "MAIN",
413
+ "StreetNumber": "2003",
414
+ "UnitDesignation": "APT",
415
+ "Zip4": "4557"
416
+ }
417
+ }
418
+ ]
419
+ },
420
+ "ReversePhone": {
421
+ "Name": {
422
+ "Last": "COPELAND",
423
+ "First": "THOMAS"
424
+ },
425
+ "Address": {
426
+ "StreetAddress1": "1 MAIN ST",
427
+ "City": "HERNDON",
428
+ "Zip5": "11111",
429
+ "StreetSuffix": "ST",
430
+ "State": "VA",
431
+ "StreetName": "MAIN",
432
+ "StreetNumber": "1"
433
+ }
434
+ },
435
+ "AdditionalScore1": "0",
436
+ "DOBVerified": true,
437
+ "AddressPOBox": false,
438
+ "SSNFoundForLexID": true,
439
+ "PassportValidated": false
440
+ }
441
+ }
442
+ }
443
+ ],
444
+ "White Pages Pro": [
445
+ {
446
+ "ip_address_checks": null,
447
+ "address_checks": {
448
+ "is_valid": true,
449
+ "is_forwarder": false,
450
+ "type": "Single unit",
451
+ "error": null,
452
+ "resident_name": "Thomas L Copeland",
453
+ "is_commercial": false,
454
+ "warnings": [],
455
+ "is_active": true,
456
+ "is_resident_deceased": false,
457
+ "address_to_name": "Match",
458
+ "resident_age_range": "45-49",
459
+ "diagnostics": []
460
+ },
461
+ "billing_address_checks": null,
462
+ "request": {
463
+ "address.city": "HERNDON",
464
+ "firstname": "Thomas",
465
+ "api_key": "",
466
+ "address.state_code": "VA",
467
+ "address.country_code": "US",
468
+ "phone": "+17035551212",
469
+ "address.street_line_1": "1 MAIN ST",
470
+ "lastname": "Copeland",
471
+ "email_address": "tom@example.org"
472
+ },
473
+ "billing_name_checks": null,
474
+ "errors": [
475
+ "Could not retrieve entire response"
476
+ ],
477
+ "phone_checks": {
478
+ "is_valid": true,
479
+ "phone_to_address": "Match",
480
+ "error": null,
481
+ "carrier": "Verizon",
482
+ "subscriber_age_range": "45-49",
483
+ "is_prepaid": false,
484
+ "warnings": [],
485
+ "phone_to_name": "Match",
486
+ "is_do_not_call_registered": null,
487
+ "line_type": "Landline",
488
+ "country_code": "US",
489
+ "is_subscriber_deceased": false,
490
+ "is_connected": null,
491
+ "is_commercial": false,
492
+ "subscriber_name": "Thomas L Copeland"
493
+ },
494
+ "billing_phone_checks": null,
495
+ "shipping_name_checks": null,
496
+ "name_checks": {
497
+ "celebrity_name": false,
498
+ "fake_name": false,
499
+ "warnings": [],
500
+ "error": null
501
+ },
502
+ "shipping_phone_checks": null,
503
+ "email_address_checks": {
504
+ "is_valid": false,
505
+ "email_domain_creation_date": null,
506
+ "email_to_name": "Match",
507
+ "registered_owner_age_range": null,
508
+ "is_disposable": null,
509
+ "warnings": [
510
+ "The mailbox is invalid or does not exist"
511
+ ],
512
+ "registered_name": "Tom Copeland",
513
+ "is_autogenerated": false,
514
+ "email_first_seen_days": 1419,
515
+ "email_domain_creation_days": null,
516
+ "diagnostics": [],
517
+ "email_first_seen_date": "2013-06-30",
518
+ "error": {
519
+ "name": "PartialError",
520
+ "message": "Could not retrieve entire response"
521
+ }
522
+ },
523
+ "shipping_address_checks": null
524
+ }
525
+ ],
526
+ "Socure": [
527
+ {
528
+ "status": "Ok",
529
+ "data": {
530
+ "confidence": 0.95,
531
+ "uuid": "ddcff835-fc2d-4aba-8151-f0ac97d93259",
532
+ "referenceid": "79f6ea0c-e6c1-4a4a-aaf1-ce015dc588a7",
533
+ "details": [
534
+ {
535
+ "fieldValidation": {
536
+ "email": "",
537
+ "mobilenumber": "",
538
+ "name": "",
539
+ "address": ""
540
+ },
541
+ "profilesFound": [
542
+ "http://klout.com/tcopeland",
543
+ "https://whitepages.plus/n/Tom_Copeland/Herndon_VA/9c5f2c7131eb65417d81f7fadd74c1de",
544
+ "http://tomcopeland.blogs.com",
545
+ "https://about.me/tcopeland",
546
+ "https://plus.google.com/104592934742970127494/about",
547
+ "https://whitepages.plus/n/Thomas_Copeland/Herndon_VA/b33590e357e1e63e49db7cb8c1239957",
548
+ "https://twitter.com/tcopeland",
549
+ "https://plus.google.com/104592934742970127494",
550
+ "https://www.facebook.com/tom.copeland.549",
551
+ "http://en.gravatar.com/tomcopeland",
552
+ "https://foursquare.com/user/10921572",
553
+ "https://github.com/tcopeland",
554
+ "http://en.gravatar.com/8598557",
555
+ "https://gravatar.com/tomcopeland",
556
+ "https://twitter.com/?profile_id=15031577"
557
+ ],
558
+ "kyc": {
559
+ "surname": "0.99",
560
+ "dob": "0.99",
561
+ "state": "0.99",
562
+ "firstname": "0.99",
563
+ "streetaddress": "0.99",
564
+ "zip": "0.99",
565
+ "ssn": "0.99",
566
+ "city": "0.99",
567
+ "mobilenumber": "0.99"
568
+ },
569
+ "correlationScores": {
570
+ "name_address_email": "0.99",
571
+ "name_address_phone_email": "0.99",
572
+ "name_address_phone": "0.99",
573
+ "name_phone_email": "0.99"
574
+ },
575
+ "blacklisted": {}
576
+ }
577
+ ],
578
+ "fraudscore": 0.0504,
579
+ "reasoncodes": [
580
+ "I916",
581
+ "I241",
582
+ "I230",
583
+ "I705",
584
+ "I609",
585
+ "I129",
586
+ "I322",
587
+ "I333",
588
+ "I240",
589
+ "I553",
590
+ "I611",
591
+ "I919",
592
+ "I244",
593
+ "I329",
594
+ "I127",
595
+ "R552",
596
+ "I243",
597
+ "I556",
598
+ "I601",
599
+ "I708",
600
+ "R551",
601
+ "I242",
602
+ "I618",
603
+ "I327",
604
+ "I260",
605
+ "I707",
606
+ "I121"
607
+ ],
608
+ "authscore": 10,
609
+ "debug": [],
610
+ "custommodels": []
611
+ },
612
+ "msg": ""
613
+ }
614
+ ]
615
+ },
616
+ "audit_archive": null
617
+ }
@@ -20,6 +20,14 @@ module Alloy
20
20
  summary["result"] == "success" && status_code == 206
21
21
  end
22
22
 
23
+ def denied?
24
+ summary['result'] == "success" && status_code != 206 && summary['outcome'] == "denied"
25
+ end
26
+
27
+ def manual_review?
28
+ summary['result'] == "success" && status_code != 206 && summary['outcome'] == "manual review"
29
+ end
30
+
23
31
  def requires_oow?
24
32
  !!self.required
25
33
  end
@@ -1,5 +1,5 @@
1
1
  module Alloy
2
2
  module KYC
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alloy-kyc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Ramsay
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-04-26 00:00:00.000000000 Z
12
+ date: 2017-05-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -141,6 +141,8 @@ files:
141
141
  - alloy-kyc.gemspec
142
142
  - bin/console
143
143
  - bin/setup
144
+ - data/fake_create_evaluations_response_denied.json
145
+ - data/fake_create_evaluations_response_manual_review.json
144
146
  - data/fake_create_evaluations_response_requires_oow.json
145
147
  - data/fake_create_evaluations_response_success.json
146
148
  - data/fake_fork_response_success.json