Skip to content

Commit

Permalink
PYIC-7600: COI check for users with existing identity (#2708)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wynndow authored Nov 21, 2024
2 parents 578dd4f + 8641424 commit 6d71d33
Show file tree
Hide file tree
Showing 25 changed files with 756 additions and 371 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"address": [
{
"buildingNumber": "130",
"streetName": "LONDON ROAD",
"addressLocality": "KNEBWORTH",
"postalCode": "SG3 6EY",
"addressCountry": "GB",
"validFrom": "1000-01-01"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"drivingPermit": [
{
"personalNumber": "12345678",
"expiryDate": "2042-10-01",
"issuedBy": "DVA",
"issueDate": "2018-04-19"
}
],
"name": [
{
"nameParts": [
{
"type": "GivenName",
"value": "KENNETH"
},
{
"type": "FamilyName",
"value": "DECERQUEIRA"
}
]
}
],
"address": [
{
"postalCode": "BA2 5AA",
"addressCountry": "GB"
}
],
"birthDate": [
{
"value": "1965-07-08"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"type": "IdentityCheck",
"txn": "d833dc7f-545b-4743-9ec8-ed01f969de17",
"activityHistoryScore": 1,
"strengthScore": 3,
"validityScore": 2,
"checkDetails": [
{
"checkMethod": "data",
"identityCheckPolicy": "published",
"activityFrom": "2018-04-19"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": [
{
"nameParts": [
{
"value": "Lora",
"type": "GivenName"
},
{
"value": "Logic",
"type": "FamilyName"
}
]
}
],
"birthDate": [
{
"value": "1960-01-01"
}
],
"address": [
{
"buildingNumber": "130",
"streetName": "LONDON ROAD",
"addressLocality": "KNEBWORTH",
"postalCode": "SG3 6EY",
"addressCountry": "GB",
"validFrom": "1000-01-01"
}
]
}
31 changes: 31 additions & 0 deletions api-tests/data/cri-stub-requests/fraud/lora-score-2/evidence.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"activityHistoryScore": 1,
"checkDetails": [
{
"identityCheckPolicy": "none",
"activityFrom": "1963-01-01",
"checkMethod": "data"
},
{
"checkMethod": "data",
"fraudCheck": "mortality_check"
},
{
"checkMethod": "data",
"fraudCheck": "identity_theft_check"
},
{
"checkMethod": "data",
"fraudCheck": "synthetic_identity_check"
},
{
"checkMethod": "data",
"fraudCheck": "impersonation_risk_check",
"txn": "RB000117397035"
}
],
"ci": [],
"txn": "RB000117420948",
"identityFraudScore": 2,
"type": "IdentityCheck"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": [
{
"nameParts": [
{
"value": "Lora",
"type": "GivenName"
},
{
"value": "Logic",
"type": "FamilyName"
}
]
}
],
"birthDate": [
{
"value": "1960-01-01"
}
],
"address": [
{
"buildingNumber": "130",
"streetName": "LONDON ROAD",
"addressLocality": "KNEBWORTH",
"postalCode": "SG3 6EY",
"addressCountry": "GB",
"validFrom": "1000-01-01"
}
]
}
21 changes: 21 additions & 0 deletions api-tests/data/cri-stub-requests/kbv/lora-score-2/evidence.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "IdentityCheck",
"verificationScore": 2,
"checkDetails": [
{
"kbvResponseMode": "multiple_choice",
"kbvQuality": 3,
"checkMethod": "kbv"
},
{
"kbvResponseMode": "multiple_choice",
"kbvQuality": 3,
"checkMethod": "kbv"
},
{
"kbvResponseMode": "multiple_choice",
"kbvQuality": 2,
"checkMethod": "kbv"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"passport": [
{
"icaoIssuerCode": "GBR",
"documentNumber": "123456789",
"expiryDate": "2022-02-02"
}
],
"name": [
{
"nameParts": [
{
"type": "GivenName",
"value": "Lora"
},
{
"type": "FamilyName",
"value": "Logic"
}
]
}
],
"birthDate": [
{
"value": "1960-01-01"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"type": "IdentityCheck",
"validityScore": 2,
"strengthScore": 4,
"checkDetails": [
{
"checkMethod": "data",
"dataCheck": "record_check"
}
],
"txn": "f401fdbc-c2ca-400c-bd06-40abd43c84ba"
}
Loading

0 comments on commit 6d71d33

Please sign in to comment.