-
Notifications
You must be signed in to change notification settings - Fork 1
/
fraudScan.json
46 lines (46 loc) · 1.09 KB
/
fraudScan.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"name": "fraudScan",
"type": "object",
"properties": {
"chargeUuid": {
"type": "string",
"description": "Unique ID for the charge that has been created"
},
"fraudScanId": {
"type": "string",
"description": "Unique reference for this fraud scan"
},
"connectorLibrary": {
"type": "string",
"description": "Connector used for this fraud scan"
},
"suggestedAction": {
"type": "string",
"enum": [
"NO_SUGGESTION",
"REVIEW",
"ALLOW",
"DENY"
],
"description": "Recommendation from the fraud scan"
},
"scanTime": {
"type": "number",
"description": "Time the scan was performed, output as the number of seconds since unix epoch"
},
"overallScore": {
"$ref": "fraudScore.json"
},
"subScores": {
"type": "array",
"items": {
"$ref": "fraudScore.json"
}
},
"references": {
"type": "object",
"description": "References associated with this scan"
}
}
}