@compleadai/skills 0.0.0-stage → 0.1.0-preview.1
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.
- package/README.md +39 -2
- package/bin/install.mjs +25 -0
- package/complead/SKILL.md +96 -0
- package/complead/authentication.md +50 -0
- package/complead/cases.md +53 -0
- package/complead/customers.md +56 -0
- package/complead/errors-and-retries.md +68 -0
- package/complead/kyb.md +47 -0
- package/complead/name-screening.md +87 -0
- package/complead/reference/Core.md +229 -0
- package/complead/reference/Core.models.md +546 -0
- package/complead/reference/CustomerRiskAssessment.md +336 -0
- package/complead/reference/CustomerRiskAssessment.models.md +785 -0
- package/complead/reference/KnowYourBusiness.md +289 -0
- package/complead/reference/KnowYourBusiness.models.md +900 -0
- package/complead/reference/NameScreening.md +862 -0
- package/complead/reference/NameScreening.models.md +1950 -0
- package/complead/reference/TransactionFraudMonitoring.md +487 -0
- package/complead/reference/TransactionFraudMonitoring.models.md +1503 -0
- package/complead/sdks/csharp.md +101 -0
- package/complead/sdks/javascript.md +113 -0
- package/complead/transaction-monitoring.md +88 -0
- package/complead/webhooks.md +44 -0
- package/package.json +25 -4
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
# CustomerRiskAssessment operations
|
|
2
|
+
|
|
3
|
+
Generated from `openapi/v3/CustomerRiskAssessment.json` by `skills/build.mjs`; do not edit. Models: [CustomerRiskAssessment.models.md](CustomerRiskAssessment.models.md).
|
|
4
|
+
|
|
5
|
+
Each operation is `<Api>.<Operation>`: the SDK class and method in every language. How each SDK spells class,
|
|
6
|
+
method and parameter names is in `../sdks/<language>.md`. Parameters are listed in the SDK order (required
|
|
7
|
+
first); a JSON body is one parameter holding the model. "Permission" is the API user permission the operation
|
|
8
|
+
needs on the product in "Module"; Scan is the only level that spends credits.
|
|
9
|
+
|
|
10
|
+
## Customer
|
|
11
|
+
|
|
12
|
+
### Customer.Create
|
|
13
|
+
|
|
14
|
+
`POST /api/v3/Customer` | Permission: Scan | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerResponse
|
|
15
|
+
|
|
16
|
+
Creates a new customer in the system. Returns the created customer with assigned risk score and risk level. CustomerNumber must be unique. OptionalParameters can be obtained from GET /api/v3/General/DynamicField endpoint. Tags can be assigned at creation by supplying Tags (guids from GET /api/v3/General/Tags). Setting AutoScreen to true runs a sanction screening for the created customer; it requires the Name Screening product and consumes 1 Name Screening credit. If SearchProfileKey or MinMatchRate are omitted, organization wide settings are used.
|
|
17
|
+
|
|
18
|
+
| Parameter | In | Type | Required | Notes |
|
|
19
|
+
|---|---|---|---|---|
|
|
20
|
+
| `customerRequest` | body | CustomerRequest | yes | See CustomerRequest. |
|
|
21
|
+
|
|
22
|
+
### Customer.UploadBatchFile
|
|
23
|
+
|
|
24
|
+
`POST /api/v3/Customer/Batch/File` | Permission: Scan | Module: - | Returns: ApiResponseOfBatchUploadResponse
|
|
25
|
+
|
|
26
|
+
Uploads a file (max 10MB) containing customers for batch processing. The rows are validated, a batch record is created, and customers are upserted in the background. Returns a batch identifier. Use GET /api/v3/Customer/Batch/{batchId} to poll status. Allowed formats: .xlsx, .xls, .csv, .pdf, .png, .jpg, .docx, .msg Dates are read day first: dd.MM.yyyy (or with / or -), yyyy-MM-dd, or an Excel date cell; every date column is a date only, and a value with Z or an offset is read as the organization's date of that instant. A row with a date that cannot be read is rejected. This batch type can also be delivered over SFTP without calling this endpoint; see Batch Upload over SFTP.
|
|
27
|
+
|
|
28
|
+
| Parameter | In | Type | Required | Notes |
|
|
29
|
+
|---|---|---|---|---|
|
|
30
|
+
| `file` | form | file | yes | |
|
|
31
|
+
| `tags` | form | array of uuid | | |
|
|
32
|
+
|
|
33
|
+
### Customer.GetBatch
|
|
34
|
+
|
|
35
|
+
`GET /api/v3/Customer/Batch/{batchId}` | Permission: Read | Module: - | Returns: ApiResponseOfCustomerBatchResultResponse
|
|
36
|
+
|
|
37
|
+
Retrieves the status and per-row results of a customer batch upload. Items (customer number, name, risk level/score) are populated once the batch has finished processing.
|
|
38
|
+
|
|
39
|
+
| Parameter | In | Type | Required | Notes |
|
|
40
|
+
|---|---|---|---|---|
|
|
41
|
+
| `batchId` | path | string | yes | Batch identifier returned from POST /api/v3/Customer/BatchUpload (e.g., CUS-...). |
|
|
42
|
+
|
|
43
|
+
### Customer.Get
|
|
44
|
+
|
|
45
|
+
`GET /api/v3/Customer/{customerNumber}` | Permission: Read | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerResponse
|
|
46
|
+
|
|
47
|
+
Retrieves customer details by customer number. Returns customer information including risk score, risk level, blacklist/whitelist status, and optional parameters. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
48
|
+
|
|
49
|
+
| Parameter | In | Type | Required | Notes |
|
|
50
|
+
|---|---|---|---|---|
|
|
51
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
52
|
+
|
|
53
|
+
### Customer.Update
|
|
54
|
+
|
|
55
|
+
`PUT /api/v3/Customer/{customerNumber}` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerResponse
|
|
56
|
+
|
|
57
|
+
Updates an existing customer. Only provided fields will be updated. Returns updated customer information. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer OptionalParameters can be obtained from GET /api/v3/General/DynamicField endpoint.
|
|
58
|
+
|
|
59
|
+
| Parameter | In | Type | Required | Notes |
|
|
60
|
+
|---|---|---|---|---|
|
|
61
|
+
| `customerNumber` | path | string | yes | Customer number to update. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
62
|
+
| `customerRequest` | body | CustomerRequest | yes | See CustomerRequest. |
|
|
63
|
+
|
|
64
|
+
### Customer.Delete
|
|
65
|
+
|
|
66
|
+
`DELETE /api/v3/Customer/{customerNumber}` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfstring
|
|
67
|
+
|
|
68
|
+
Permanently deletes a customer. The customer record is removed from the customer list and cannot be restored; ongoing monitoring for the customer's screenings is stopped. If you only want to suspend the customer while keeping the record, use POST /api/v3/Customer/{customerNumber}/Deactivate instead. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
69
|
+
|
|
70
|
+
| Parameter | In | Type | Required | Notes |
|
|
71
|
+
|---|---|---|---|---|
|
|
72
|
+
| `customerNumber` | path | string | yes | Customer number to delete. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
73
|
+
|
|
74
|
+
### Customer.ListKycFormInvitations
|
|
75
|
+
|
|
76
|
+
`GET /api/v3/Customer/{customerNumber}/KycFormInvitation` | Permission: Read | Module: Customer Risk Assessment | Returns: ApiResponseOfListOfKycFormInvitationStatusResponse
|
|
77
|
+
|
|
78
|
+
Lists the KYC form invitations sent to the customer with their current status (Sent, Opened, Submitted, Approved, Rejected, Sent Back, Cancelled, Expired). CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
79
|
+
|
|
80
|
+
| Parameter | In | Type | Required | Notes |
|
|
81
|
+
|---|---|---|---|---|
|
|
82
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
83
|
+
|
|
84
|
+
### Customer.SendKycFormInvitation
|
|
85
|
+
|
|
86
|
+
`POST /api/v3/Customer/{customerNumber}/KycFormInvitation` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfKycFormInvitationResponse
|
|
87
|
+
|
|
88
|
+
Sends a KYC form invitation to an existing customer by email and/or SMS. The invitation is linked to the customer: when the submitted form is approved, the answers and files are added to this customer instead of creating a new one. An earlier open invitation of the same form to the same customer is cancelled. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
89
|
+
|
|
90
|
+
| Parameter | In | Type | Required | Notes |
|
|
91
|
+
|---|---|---|---|---|
|
|
92
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
93
|
+
| `kycFormInvitationRequest` | body | KycFormInvitationRequest | yes | See KycFormInvitationRequest. |
|
|
94
|
+
|
|
95
|
+
### Customer.GetKycFormInvitation
|
|
96
|
+
|
|
97
|
+
`GET /api/v3/Customer/{customerNumber}/KycFormInvitation/{invitationId}` | Permission: Read | Module: Customer Risk Assessment | Returns: ApiResponseOfKycFormInvitationStatusResponse
|
|
98
|
+
|
|
99
|
+
Returns the current status of one KYC form invitation of the customer (Sent, Opened, Submitted, Approved, Rejected, Sent Back, Cancelled, Expired). CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
100
|
+
|
|
101
|
+
| Parameter | In | Type | Required | Notes |
|
|
102
|
+
|---|---|---|---|---|
|
|
103
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
104
|
+
| `invitationId` | path | integer | yes | InvitationId returned by POST /api/v3/Customer/{customerNumber}/KycFormInvitation |
|
|
105
|
+
|
|
106
|
+
### Customer.Activate
|
|
107
|
+
|
|
108
|
+
`PUT /api/v3/Customer/{customerNumber}/Activation` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfstring
|
|
109
|
+
|
|
110
|
+
Activates a deactivated customer. Ongoing monitoring that was stopped by the deactivation is restored. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
111
|
+
|
|
112
|
+
| Parameter | In | Type | Required | Notes |
|
|
113
|
+
|---|---|---|---|---|
|
|
114
|
+
| `customerNumber` | path | string | yes | Customer number to activate. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
115
|
+
|
|
116
|
+
### Customer.Deactivate
|
|
117
|
+
|
|
118
|
+
`DELETE /api/v3/Customer/{customerNumber}/Activation` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfstring
|
|
119
|
+
|
|
120
|
+
Deactivates a customer. The customer record is preserved and can be activated again later; ongoing monitoring for the customer's screenings is stopped. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
121
|
+
|
|
122
|
+
| Parameter | In | Type | Required | Notes |
|
|
123
|
+
|---|---|---|---|---|
|
|
124
|
+
| `customerNumber` | path | string | yes | Customer number to deactivate. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
125
|
+
|
|
126
|
+
### Customer.AddRiskScore
|
|
127
|
+
|
|
128
|
+
`POST /api/v3/Customer/{customerNumber}/RiskScore/Addition` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerRiskResponse
|
|
129
|
+
|
|
130
|
+
Adds risk score to a customer. This increases the customer's total risk score. Returns the updated risk score. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
131
|
+
|
|
132
|
+
| Parameter | In | Type | Required | Notes |
|
|
133
|
+
|---|---|---|---|---|
|
|
134
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
135
|
+
| `customerRiskRequest` | body | CustomerRiskRequest | yes | See CustomerRiskRequest. |
|
|
136
|
+
|
|
137
|
+
### Customer.DeductRiskScore
|
|
138
|
+
|
|
139
|
+
`POST /api/v3/Customer/{customerNumber}/RiskScore/Deduction` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerRiskResponse
|
|
140
|
+
|
|
141
|
+
Deducts risk score from a customer. This decreases the customer's total risk score. Returns the updated risk score. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
142
|
+
|
|
143
|
+
| Parameter | In | Type | Required | Notes |
|
|
144
|
+
|---|---|---|---|---|
|
|
145
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
146
|
+
| `customerRiskRequest` | body | CustomerRiskRequest | yes | See CustomerRiskRequest. |
|
|
147
|
+
|
|
148
|
+
### Customer.ListScreenings
|
|
149
|
+
|
|
150
|
+
`GET /api/v3/Customer/{customerNumber}/Screening` | Permission: Read | Module: Name Screening | Returns: ApiResponseOfCustomerScreeningResponseArray
|
|
151
|
+
|
|
152
|
+
Retrieves all screening results (scans) performed for a customer. Returns scan history with added risk scores. ScanId can be used to retrieve scan details. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
153
|
+
|
|
154
|
+
| Parameter | In | Type | Required | Notes |
|
|
155
|
+
|---|---|---|---|---|
|
|
156
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
157
|
+
|
|
158
|
+
### Customer.UpdateCaseStatus
|
|
159
|
+
|
|
160
|
+
`PUT /api/v3/Customer/{customerNumber}/Case/Status` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerStatusResponse
|
|
161
|
+
|
|
162
|
+
Updates the status of a customer case. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
163
|
+
|
|
164
|
+
| Parameter | In | Type | Required | Notes |
|
|
165
|
+
|---|---|---|---|---|
|
|
166
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
167
|
+
| `customerCaseStatusRequest` | body | CustomerCaseStatusRequest | yes | See CustomerCaseStatusRequest. |
|
|
168
|
+
|
|
169
|
+
### Customer.AssignUser
|
|
170
|
+
|
|
171
|
+
`PUT /api/v3/Customer/{customerNumber}/Assignee/User` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfObject
|
|
172
|
+
|
|
173
|
+
Assigns a user to a customer case. UserId can be obtained from GET /api/v3/User. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
174
|
+
|
|
175
|
+
| Parameter | In | Type | Required | Notes |
|
|
176
|
+
|---|---|---|---|---|
|
|
177
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
178
|
+
| `customerAssigneeUserRequest` | body | CustomerAssigneeUserRequest | yes | See CustomerAssigneeUserRequest. |
|
|
179
|
+
|
|
180
|
+
### Customer.AssignTeam
|
|
181
|
+
|
|
182
|
+
`PUT /api/v3/Customer/{customerNumber}/Assignee/Team` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfObject
|
|
183
|
+
|
|
184
|
+
Assigns a team to a customer case. TeamId can be obtained from GET /api/v3/General/Team endpoint. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
185
|
+
|
|
186
|
+
| Parameter | In | Type | Required | Notes |
|
|
187
|
+
|---|---|---|---|---|
|
|
188
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
189
|
+
| `customerAssigneeTeamRequest` | body | CustomerAssigneeTeamRequest | yes | See CustomerAssigneeTeamRequest. |
|
|
190
|
+
|
|
191
|
+
### Customer.WithdrawUser
|
|
192
|
+
|
|
193
|
+
`DELETE /api/v3/Customer/{customerNumber}/Assignee/User/{userId}` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfObject
|
|
194
|
+
|
|
195
|
+
Withdraw assigned user from customer case
|
|
196
|
+
|
|
197
|
+
| Parameter | In | Type | Required | Notes |
|
|
198
|
+
|---|---|---|---|---|
|
|
199
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
200
|
+
| `userId` | path | integer | yes | User ID to withdraw. Can be obtained from GET /api/v3/User (Id field) |
|
|
201
|
+
|
|
202
|
+
### Customer.WithdrawTeam
|
|
203
|
+
|
|
204
|
+
`DELETE /api/v3/Customer/{customerNumber}/Assignee/Team/{teamId}` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfObject
|
|
205
|
+
|
|
206
|
+
Withdraw assigned team from customer case
|
|
207
|
+
|
|
208
|
+
| Parameter | In | Type | Required | Notes |
|
|
209
|
+
|---|---|---|---|---|
|
|
210
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
211
|
+
| `teamId` | path | integer | yes | Team ID to withdraw. Can be obtained from GET /api/v3/General/Team endpoint (Id field) |
|
|
212
|
+
|
|
213
|
+
### Customer.ListTags
|
|
214
|
+
|
|
215
|
+
`GET /api/v3/Customer/{customerNumber}/Tag` | Permission: Read | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerTagResponse
|
|
216
|
+
|
|
217
|
+
Retrieves all tags assigned to a customer case. Tag GUIDs can be used in other operations. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
218
|
+
|
|
219
|
+
| Parameter | In | Type | Required | Notes |
|
|
220
|
+
|---|---|---|---|---|
|
|
221
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
222
|
+
|
|
223
|
+
### Customer.AddMemoNote
|
|
224
|
+
|
|
225
|
+
`POST /api/v3/Customer/{customerNumber}/MemoNote` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfboolean
|
|
226
|
+
|
|
227
|
+
Creates memo note for a customer case.
|
|
228
|
+
|
|
229
|
+
| Parameter | In | Type | Required | Notes |
|
|
230
|
+
|---|---|---|---|---|
|
|
231
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
232
|
+
| `caseMemoNoteRequest` | body | CaseMemoNoteRequest | yes | See CaseMemoNoteRequest. |
|
|
233
|
+
|
|
234
|
+
### Customer.AddToBlacklist
|
|
235
|
+
|
|
236
|
+
`PUT /api/v3/Customer/{customerNumber}/Blacklist` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerResponse
|
|
237
|
+
|
|
238
|
+
Adds a customer to blacklist. Blacklisted customers will be flagged in future screenings. Returns updated customer information. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
239
|
+
|
|
240
|
+
| Parameter | In | Type | Required | Notes |
|
|
241
|
+
|---|---|---|---|---|
|
|
242
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
243
|
+
| `blacklistWhitelistRequest` | body | BlacklistWhitelistRequest | yes | See BlacklistWhitelistRequest. |
|
|
244
|
+
|
|
245
|
+
### Customer.RemoveFromBlacklist
|
|
246
|
+
|
|
247
|
+
`DELETE /api/v3/Customer/{customerNumber}/Blacklist` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerResponse
|
|
248
|
+
|
|
249
|
+
Removes a customer from blacklist. Returns updated customer information. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
250
|
+
|
|
251
|
+
| Parameter | In | Type | Required | Notes |
|
|
252
|
+
|---|---|---|---|---|
|
|
253
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
254
|
+
| `reason` | query | string | | Reason for the removal |
|
|
255
|
+
|
|
256
|
+
### Customer.AddToWhitelist
|
|
257
|
+
|
|
258
|
+
`PUT /api/v3/Customer/{customerNumber}/Whitelist` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerResponse
|
|
259
|
+
|
|
260
|
+
Adds a customer to whitelist. Whitelisted customers will be automatically approved in future screenings. Returns updated customer information. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
261
|
+
|
|
262
|
+
| Parameter | In | Type | Required | Notes |
|
|
263
|
+
|---|---|---|---|---|
|
|
264
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
265
|
+
| `blacklistWhitelistRequest` | body | BlacklistWhitelistRequest | yes | See BlacklistWhitelistRequest. |
|
|
266
|
+
|
|
267
|
+
### Customer.RemoveFromWhitelist
|
|
268
|
+
|
|
269
|
+
`DELETE /api/v3/Customer/{customerNumber}/Whitelist` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerResponse
|
|
270
|
+
|
|
271
|
+
Removes a customer from whitelist. Returns updated customer information. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
272
|
+
|
|
273
|
+
| Parameter | In | Type | Required | Notes |
|
|
274
|
+
|---|---|---|---|---|
|
|
275
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
276
|
+
| `reason` | query | string | | Reason for the removal |
|
|
277
|
+
|
|
278
|
+
### Customer.GetHistory
|
|
279
|
+
|
|
280
|
+
`GET /api/v3/Customer/{customerNumber}/History` | Permission: Read | Module: Customer Risk Assessment | Returns: ApiResponseOfPartialHistoryDTO
|
|
281
|
+
|
|
282
|
+
Retrieves the history of actions performed on a customer case including status changes, risk score changes, assignments, etc. Results are returned newest first and are paginated: use skip and take to page through them, and check hasMore in the response to see whether further entries remain. Defaults to the 25 most recent entries. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
283
|
+
|
|
284
|
+
| Parameter | In | Type | Required | Notes |
|
|
285
|
+
|---|---|---|---|---|
|
|
286
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
287
|
+
| `skip` | query | integer | | Number of entries to skip. Defaults to 0. Default 0. |
|
|
288
|
+
| `take` | query | integer | | Maximum number of entries to return. Defaults to 25. Default 25. |
|
|
289
|
+
|
|
290
|
+
### Customer.GetRiskHistory
|
|
291
|
+
|
|
292
|
+
`GET /api/v3/Customer/{customerNumber}/RiskHistory` | Permission: Read | Module: Customer Risk Assessment | Returns: ApiResponseOfGetCustomerScoreHistoryResponseModel
|
|
293
|
+
|
|
294
|
+
Retrieves risk score history for a customer within a specified date range. Shows all risk score additions and deductions with their descriptions. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
295
|
+
|
|
296
|
+
| Parameter | In | Type | Required | Notes |
|
|
297
|
+
|---|---|---|---|---|
|
|
298
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
299
|
+
| `from` | query | date-time | yes | Start date for risk history query. Maximum date range is 90 days. With the X-Time-Zone header it is a day of the requested zone (the time part is ignored) and the dates in the response are ISO 8601 in that zone with an explicit offset. |
|
|
300
|
+
| `to` | query | date-time | yes | End date for risk history query. Maximum date range is 90 days. With the X-Time-Zone header it is a day of the requested zone and the whole day is included. |
|
|
301
|
+
| `changeTypes` | query | array of integer | yes | Optional. Filter by change type(s). Values: 1=CustomerCreated, 2=FieldUpdate, 3=SystemRecalc, 4=ScanMatch, 5=Blacklist, 6=Whitelist, 7=ManualIncrease, 8=ManualDecrease, 9=ManualOverride, 10=KybRefresh, 11=OwnershipChange, 12=TransactionRule, 13=Expiry (a transaction rule score reached its end of validity), 14=RuleScoreFalsePositiveRevert (a transaction rule score was reverted or restored when its transaction was marked or unmarked False Positive) |
|
|
302
|
+
| `changedFieldId` | query | integer | yes | Optional. Filter by the dynamic field whose value triggered the score change. |
|
|
303
|
+
|
|
304
|
+
### Customer.ListScoreChangeTypes
|
|
305
|
+
|
|
306
|
+
`GET /api/v3/Customer/ScoreChangeType` | Permission: Read | Module: Customer Risk Assessment | Returns: ApiResponseOfListOfCustomerScoreChangeTypeDto
|
|
307
|
+
|
|
308
|
+
Returns the list of score change types used in risk score history. Use the returned ids in the RiskHistory endpoint's ChangeTypes filter.
|
|
309
|
+
|
|
310
|
+
### Customer.GetScoreBreakdown
|
|
311
|
+
|
|
312
|
+
`GET /api/v3/Customer/{customerNumber}/ScoreBreakdown` | Permission: Read | Module: Customer Risk Assessment | Returns: ApiResponseOfCustomerScoreBreakdownResponse
|
|
313
|
+
|
|
314
|
+
Retrieves the total risk score of a customer together with the breakdown of the individual factors that contribute to it. Each breakdown item exposes its name, the score it contributes and, for dynamic-field-driven scores, the formula(s) that produced it. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer
|
|
315
|
+
|
|
316
|
+
| Parameter | In | Type | Required | Notes |
|
|
317
|
+
|---|---|---|---|---|
|
|
318
|
+
| `customerNumber` | path | string | yes | Customer number. CustomerNumber is the same as the one you sent to this endpoint POST /api/v3/Customer |
|
|
319
|
+
|
|
320
|
+
## General
|
|
321
|
+
|
|
322
|
+
### General.GetCustomerRiskThreshold
|
|
323
|
+
|
|
324
|
+
`GET /api/v3/Setting/CustomerRiskThreshold` | Permission: Read | Module: Customer Risk Assessment | Returns: ApiResponseOfRiskThreshold
|
|
325
|
+
|
|
326
|
+
Retrieves customer risk score thresholds. These thresholds determine the risk level (VeryLow, Low, Medium, High, Critical) based on customer risk scores. Used to calculate RiskLevelId in customer responses.
|
|
327
|
+
|
|
328
|
+
### General.UpdateCustomerRiskThreshold
|
|
329
|
+
|
|
330
|
+
`PUT /api/v3/Setting/CustomerRiskThreshold` | Permission: Manage | Module: Customer Risk Assessment | Returns: ApiResponseOfRiskThreshold
|
|
331
|
+
|
|
332
|
+
Sets customer risk score thresholds. These thresholds determine the risk level (VeryLow, Low, Medium, High, Critical) based on customer risk scores. After updating, customer RiskLevelId will be recalculated based on these thresholds. Max threshold value: 99999.999
|
|
333
|
+
|
|
334
|
+
| Parameter | In | Type | Required | Notes |
|
|
335
|
+
|---|---|---|---|---|
|
|
336
|
+
| `riskThreshold` | body | RiskThreshold | yes | See RiskThreshold. |
|