@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,487 @@
|
|
|
1
|
+
# TransactionFraudMonitoring operations
|
|
2
|
+
|
|
3
|
+
Generated from `openapi/v3/TransactionFraudMonitoring.json` by `skills/build.mjs`; do not edit. Models: [TransactionFraudMonitoring.models.md](TransactionFraudMonitoring.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
|
+
## Account
|
|
11
|
+
|
|
12
|
+
### Account.Get
|
|
13
|
+
|
|
14
|
+
`GET /api/v3/Account` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfAccountUpsertDTO
|
|
15
|
+
|
|
16
|
+
Retrieves account details by account ID or account number (at least one is required). Returns account information including customer details, bank information, balance, and optional parameters. AccountId can be obtained from POST /api/v3/Account response.
|
|
17
|
+
|
|
18
|
+
| Parameter | In | Type | Required | Notes |
|
|
19
|
+
|---|---|---|---|---|
|
|
20
|
+
| `accountId` | query | integer | | Account ID (optional if accountNumber is given). Can be obtained from POST /api/v3/Account endpoint response (AccountId field). |
|
|
21
|
+
| `accountNumber` | query | string | | Account number (optional if accountId is given). Can be obtained from POST /api/v3/Account endpoint response (AccountNumber field). |
|
|
22
|
+
|
|
23
|
+
### Account.Create
|
|
24
|
+
|
|
25
|
+
`POST /api/v3/Account` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfAccountUpsertDTO
|
|
26
|
+
|
|
27
|
+
Creates a new account in the system. CustomerID can be obtained from POST /api/v3/Customer endpoint response (CustomerId field). AccountCurrencyCode can be obtained from GET /api/v3/Transaction/Setting/Currency endpoint (Code field). OptionalParameters can be obtained from GET /api/v3/Transaction/Setting/DynamicField endpoint (Key field). Returns created account with assigned AccountId.
|
|
28
|
+
|
|
29
|
+
| Parameter | In | Type | Required | Notes |
|
|
30
|
+
|---|---|---|---|---|
|
|
31
|
+
| `tMAddAccountModel` | body | TMAddAccountModel | yes | See TMAddAccountModel. |
|
|
32
|
+
|
|
33
|
+
### Account.UploadBatchFile
|
|
34
|
+
|
|
35
|
+
`POST /api/v3/Account/Batch/File` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfBatchUploadResponse
|
|
36
|
+
|
|
37
|
+
Uploads an Excel or CSV file (max 10MB) of accounts for batch processing. Columns are positional (CustomerNumber, AccountNumber, AccountName, AccountCurrency, AccountCurrencyCode, Balance, IBAN, BankBranch, BankCity, BankCountry, BankID, BankName, OnboardingDate, IsWhiteList, WhiteListExpiredDate, IsBlackList, BlackListExpiredDate, ClosedDate) plus optional header-matched MASAK columns (Bank Branch Code, Bank Institution Code, Account Type, Restriction Type, Restriction Description, Is Sole Proprietorship Account) plus an optional header-matched Joint Holder Customer Numbers column (comma separated; a filled cell replaces the account's joint holders, an empty cell leaves them unchanged) plus dynamic fields. Accounts are upserted in the background. 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. Returns a batch identifier; use GET /api/v3/Account/Batch/{batchId} to poll status.
|
|
38
|
+
|
|
39
|
+
| Parameter | In | Type | Required | Notes |
|
|
40
|
+
|---|---|---|---|---|
|
|
41
|
+
| `file` | form | file | yes | |
|
|
42
|
+
|
|
43
|
+
### Account.GetBatch
|
|
44
|
+
|
|
45
|
+
`GET /api/v3/Account/Batch/{batchId}` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfAccountBatchResultResponse
|
|
46
|
+
|
|
47
|
+
Retrieves the status and counts of an account batch upload (Status, TotalCount, ProcessedCount). Poll until Status is Done/Failed.
|
|
48
|
+
|
|
49
|
+
| Parameter | In | Type | Required | Notes |
|
|
50
|
+
|---|---|---|---|---|
|
|
51
|
+
| `batchId` | path | string | yes | Batch identifier returned from POST /api/v3/Account/Batch/File (e.g., ACC-...). |
|
|
52
|
+
|
|
53
|
+
### Account.Update
|
|
54
|
+
|
|
55
|
+
`PUT /api/v3/Account/{accountId}` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfAccountUpsertDTO
|
|
56
|
+
|
|
57
|
+
Updates an existing account. Only provided fields will be updated. The account id in the path can be obtained from POST /api/v3/Account or GET /api/v3/Account response. CustomerID can be obtained from POST /api/v3/Customer endpoint response (CustomerId field). AccountCurrencyCode can be obtained from GET /api/v3/Transaction/Setting/Currency endpoint (Code field). OptionalParameters can be obtained from GET /api/v3/Transaction/Setting/DynamicField endpoint (Key field).
|
|
58
|
+
|
|
59
|
+
| Parameter | In | Type | Required | Notes |
|
|
60
|
+
|---|---|---|---|---|
|
|
61
|
+
| `accountId` | path | integer | yes | |
|
|
62
|
+
| `tMUpdateAccountModel` | body | TMUpdateAccountModel | yes | See TMUpdateAccountModel. |
|
|
63
|
+
|
|
64
|
+
### Account.AddBalance
|
|
65
|
+
|
|
66
|
+
`POST /api/v3/Account/{accountId}/Balance` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfAddAccountBalanceModel
|
|
67
|
+
|
|
68
|
+
Adds balance to an existing account. The account id in the path can be obtained from POST /api/v3/Account or GET /api/v3/Account response. Returns updated account balance.
|
|
69
|
+
|
|
70
|
+
| Parameter | In | Type | Required | Notes |
|
|
71
|
+
|---|---|---|---|---|
|
|
72
|
+
| `accountId` | path | integer | yes | |
|
|
73
|
+
| `tMAddAccountBalanceModel` | body | TMAddAccountBalanceModel | yes | See TMAddAccountBalanceModel. |
|
|
74
|
+
|
|
75
|
+
### Account.AddToBlacklist
|
|
76
|
+
|
|
77
|
+
`PUT /api/v3/Account/{accountNumber}/Blacklist` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfAccountBlacklistWhitelistResponse
|
|
78
|
+
|
|
79
|
+
Adds an account to blacklist. Blacklisted accounts will be flagged in future transaction monitoring. Returns updated account list status. AccountNumber is the same as the one you sent to this endpoint POST /api/v3/Account
|
|
80
|
+
|
|
81
|
+
| Parameter | In | Type | Required | Notes |
|
|
82
|
+
|---|---|---|---|---|
|
|
83
|
+
| `accountNumber` | path | string | yes | Account number. AccountNumber is the same as the one you sent to this endpoint POST /api/v3/Account |
|
|
84
|
+
| `tMAccountBlacklistWhitelistRequest` | body | TMAccountBlacklistWhitelistRequest | yes | See TMAccountBlacklistWhitelistRequest. |
|
|
85
|
+
|
|
86
|
+
### Account.RemoveFromBlacklist
|
|
87
|
+
|
|
88
|
+
`DELETE /api/v3/Account/{accountNumber}/Blacklist` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfAccountBlacklistWhitelistResponse
|
|
89
|
+
|
|
90
|
+
Removes an account from blacklist. Returns updated account list status. AccountNumber is the same as the one you sent to this endpoint POST /api/v3/Account
|
|
91
|
+
|
|
92
|
+
| Parameter | In | Type | Required | Notes |
|
|
93
|
+
|---|---|---|---|---|
|
|
94
|
+
| `accountNumber` | path | string | yes | Account number. AccountNumber is the same as the one you sent to this endpoint POST /api/v3/Account |
|
|
95
|
+
| `tMAccountBlacklistWhitelistRemoveRequest` | body | TMAccountBlacklistWhitelistRemoveRequest | yes | See TMAccountBlacklistWhitelistRemoveRequest. |
|
|
96
|
+
|
|
97
|
+
### Account.AddToWhitelist
|
|
98
|
+
|
|
99
|
+
`PUT /api/v3/Account/{accountNumber}/Whitelist` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfAccountBlacklistWhitelistResponse
|
|
100
|
+
|
|
101
|
+
Adds an account to whitelist. Whitelisted accounts will be excluded in future transaction monitoring. Returns updated account list status. AccountNumber is the same as the one you sent to this endpoint POST /api/v3/Account
|
|
102
|
+
|
|
103
|
+
| Parameter | In | Type | Required | Notes |
|
|
104
|
+
|---|---|---|---|---|
|
|
105
|
+
| `accountNumber` | path | string | yes | Account number. AccountNumber is the same as the one you sent to this endpoint POST /api/v3/Account |
|
|
106
|
+
| `tMAccountBlacklistWhitelistRequest` | body | TMAccountBlacklistWhitelistRequest | yes | See TMAccountBlacklistWhitelistRequest. |
|
|
107
|
+
|
|
108
|
+
### Account.RemoveFromWhitelist
|
|
109
|
+
|
|
110
|
+
`DELETE /api/v3/Account/{accountNumber}/Whitelist` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfAccountBlacklistWhitelistResponse
|
|
111
|
+
|
|
112
|
+
Removes an account from whitelist. Returns updated account list status. AccountNumber is the same as the one you sent to this endpoint POST /api/v3/Account
|
|
113
|
+
|
|
114
|
+
| Parameter | In | Type | Required | Notes |
|
|
115
|
+
|---|---|---|---|---|
|
|
116
|
+
| `accountNumber` | path | string | yes | Account number. AccountNumber is the same as the one you sent to this endpoint POST /api/v3/Account |
|
|
117
|
+
| `tMAccountBlacklistWhitelistRemoveRequest` | body | TMAccountBlacklistWhitelistRemoveRequest | yes | See TMAccountBlacklistWhitelistRemoveRequest. |
|
|
118
|
+
|
|
119
|
+
## Transaction
|
|
120
|
+
|
|
121
|
+
### Transaction.Create
|
|
122
|
+
|
|
123
|
+
`POST /api/v3/Transaction` | Permission: Scan | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfTransactionExecutionResultModel
|
|
124
|
+
|
|
125
|
+
Execute a transaction against given ruleset(s). Up to 2 comma separated ruleset keys of different types (AML / FRAUD) can be given; they run in parallel, TotalScore is the sum of the ruleset scores and TriggeredAlarm is the highest alarm level. Returns the risk score of this transaction and its risk level based on risk thresholds
|
|
126
|
+
|
|
127
|
+
| Parameter | In | Type | Required | Notes |
|
|
128
|
+
|---|---|---|---|---|
|
|
129
|
+
| `tMExecuteTransactionApiModel` | body | TMExecuteTransactionApiModel | yes | See TMExecuteTransactionApiModel. |
|
|
130
|
+
|
|
131
|
+
### Transaction.CreateMerchantCardholder
|
|
132
|
+
|
|
133
|
+
`POST /api/v3/Transaction/MerchantCardholder` | Permission: Scan | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfListOfTransactionExecutionResultModel
|
|
134
|
+
|
|
135
|
+
Executes a card / POS transaction once for the merchant and once for the cardholder, in parallel, each against its own ruleset. The merchant execution uses the given Direction and TransactionID; the cardholder execution reverses the Direction so the other party becomes the customer and is stored with the TransactionID suffix _CARDHOLDER. Returns [merchant result, cardholder result].
|
|
136
|
+
|
|
137
|
+
| Parameter | In | Type | Required | Notes |
|
|
138
|
+
|---|---|---|---|---|
|
|
139
|
+
| `tMExecuteMerchantCardholderTransactionApiModel` | body | TMExecuteMerchantCardholderTransactionApiModel | yes | See TMExecuteMerchantCardholderTransactionApiModel. |
|
|
140
|
+
|
|
141
|
+
### Transaction.UploadBatchFile
|
|
142
|
+
|
|
143
|
+
`POST /api/v3/Transaction/Batch/File` | Permission: Scan | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfBatchUploadResponse
|
|
144
|
+
|
|
145
|
+
Uploads an Excel or CSV file (max 10MB) of transactions for batch processing. Supports the 4-column SWIFT format and the multi-column header format. Dates: TransactionDate as dd.MM.yyyy or yyyy-MM-dd is 00:00 of that day in the organization's time zone; a date and time without a zone (dd.MM.yyyy HH:mm, yyyy-MM-ddTHH:mm:ss) is the organization's time; Z or an offset is an exact instant. Other date columns are dates only (dd.MM.yyyy or yyyy-MM-dd); a row with a date that cannot be read is rejected. Rows are validated, a batch record is created, and transactions are executed in the background. Returns a batch identifier; poll GET /api/v3/Transaction/Batch/{batchId} for status.
|
|
146
|
+
|
|
147
|
+
| Parameter | In | Type | Required | Notes |
|
|
148
|
+
|---|---|---|---|---|
|
|
149
|
+
| `file` | form | file | yes | |
|
|
150
|
+
| `triggeredRuleSetKey` | form | uuid | | |
|
|
151
|
+
| `dryRun` | form | boolean | | Default false. |
|
|
152
|
+
| `source` | form | string | | |
|
|
153
|
+
| `sourceOrganizationId` | form | integer | | |
|
|
154
|
+
|
|
155
|
+
### Transaction.GetBatch
|
|
156
|
+
|
|
157
|
+
`GET /api/v3/Transaction/Batch/{batchId}` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfTransactionBatchResultResponse
|
|
158
|
+
|
|
159
|
+
Retrieves the status and counts of a transaction batch upload (Status, TotalCount, ProcessedCount). Poll until Status is Done/PartiallySuccessful/Failed.
|
|
160
|
+
|
|
161
|
+
| Parameter | In | Type | Required | Notes |
|
|
162
|
+
|---|---|---|---|---|
|
|
163
|
+
| `batchId` | path | string | yes | Batch identifier returned from POST /api/v3/Transaction/Batch/File (e.g., TRX-...). |
|
|
164
|
+
|
|
165
|
+
### Transaction.CreateFromSwiftMessage
|
|
166
|
+
|
|
167
|
+
`POST /api/v3/Transaction/SwiftMessage` | Permission: Scan | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfTransactionExecutionResultModel
|
|
168
|
+
|
|
169
|
+
Execute a transaction from a raw ISO 20022 MX (Swift) message. All transaction fields are mapped from the parsed MX XML. Accepted message types: pacs.008 (MT103), pacs.009 (MT202/COV), pain.001 (MT101), pacs.004 (Payment Return).
|
|
170
|
+
|
|
171
|
+
| Parameter | In | Type | Required | Notes |
|
|
172
|
+
|---|---|---|---|---|
|
|
173
|
+
| `tMExecuteSwiftTransactionApiModel` | body | TMExecuteSwiftTransactionApiModel | yes | See TMExecuteSwiftTransactionApiModel. |
|
|
174
|
+
|
|
175
|
+
### Transaction.Get
|
|
176
|
+
|
|
177
|
+
`GET /api/v3/Transaction/{transactionId}` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfTransactionDetailApiModel
|
|
178
|
+
|
|
179
|
+
Retrieves the stored transaction with every field sent when it was created (including optionalParameters and customer/account level fields, read from the party records) and its scoring outcome: totalScore, triggeredAlarm and the fired rules with key, name and score.
|
|
180
|
+
|
|
181
|
+
| Parameter | In | Type | Required | Notes |
|
|
182
|
+
|---|---|---|---|---|
|
|
183
|
+
| `transactionId` | path | string | yes | The reference number of the transaction that is sent from your end |
|
|
184
|
+
| `ruleSetType` | query | TMRuleSetType | | Optional. When the TransactionId has both an AML and a FRAUD transaction, the first is returned and the other is in relatedTransactions; give a ruleset type to get only that transaction. |
|
|
185
|
+
|
|
186
|
+
### Transaction.Update
|
|
187
|
+
|
|
188
|
+
`PUT /api/v3/Transaction/{transactionId}` | Permission: Scan | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfTransactionExecutionResultModel
|
|
189
|
+
|
|
190
|
+
Changes an existing transaction or resends it with updated data. This endpoint replaces the existing transaction with new data and re-executes it against the ruleset. Returns updated execution result.
|
|
191
|
+
|
|
192
|
+
| Parameter | In | Type | Required | Notes |
|
|
193
|
+
|---|---|---|---|---|
|
|
194
|
+
| `transactionId` | path | string | yes | The reference number of the transaction that is sent from your end |
|
|
195
|
+
| `tMExecuteTransactionApiModel` | body | TMExecuteTransactionApiModel | yes | See TMExecuteTransactionApiModel. |
|
|
196
|
+
|
|
197
|
+
### Transaction.OpenCase
|
|
198
|
+
|
|
199
|
+
`POST /api/v3/Transaction/{transactionId}/Case` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfExecuteTransactionApiModel
|
|
200
|
+
|
|
201
|
+
Converts a transaction to a case for manual review. Once converted, the transaction can be assigned to users and managed through case management.
|
|
202
|
+
|
|
203
|
+
| Parameter | In | Type | Required | Notes |
|
|
204
|
+
|---|---|---|---|---|
|
|
205
|
+
| `transactionId` | path | string | yes | The reference number of the transaction that is sent from your end |
|
|
206
|
+
| `ruleSetType` | query | TMRuleSetType | | Required when the TransactionId has both an AML and a FRAUD transaction. Selects the transaction of this ruleset type. |
|
|
207
|
+
|
|
208
|
+
### Transaction.CloseCase
|
|
209
|
+
|
|
210
|
+
`DELETE /api/v3/Transaction/{transactionId}/Case` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfExecuteTransactionApiModel
|
|
211
|
+
|
|
212
|
+
Closes a transaction case, removing it from case management.
|
|
213
|
+
|
|
214
|
+
| Parameter | In | Type | Required | Notes |
|
|
215
|
+
|---|---|---|---|---|
|
|
216
|
+
| `transactionId` | path | string | yes | The reference number of the transaction that is sent from your end |
|
|
217
|
+
| `ruleSetType` | query | TMRuleSetType | | Required when the TransactionId has both an AML and a FRAUD transaction. Selects the transaction of this ruleset type. |
|
|
218
|
+
|
|
219
|
+
### Transaction.UpdateStatus
|
|
220
|
+
|
|
221
|
+
`PUT /api/v3/Transaction/{transactionId}/Status` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfTransactionStatusResponse
|
|
222
|
+
|
|
223
|
+
Updates the status of a transaction. If webhooks are enabled transaction_status_updated event will be triggered
|
|
224
|
+
|
|
225
|
+
| Parameter | In | Type | Required | Notes |
|
|
226
|
+
|---|---|---|---|---|
|
|
227
|
+
| `transactionId` | path | string | yes | The reference number of the transaction that is sent from your end |
|
|
228
|
+
| `tMTransactionStatusUpdateRequest` | body | TMTransactionStatusUpdateRequest | yes | See TMTransactionStatusUpdateRequest. |
|
|
229
|
+
| `ruleSetType` | query | TMRuleSetType | | Required when the TransactionId has both an AML and a FRAUD transaction. Selects the transaction of this ruleset type. |
|
|
230
|
+
|
|
231
|
+
### Transaction.UpdateMatchStatus
|
|
232
|
+
|
|
233
|
+
`PUT /api/v3/Transaction/{transactionId}/MatchStatus` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfTransactionMatchStatusResponse
|
|
234
|
+
|
|
235
|
+
Updates the match status of a transaction. If webhooks are enabled transaction_match_status_updated event will be triggered
|
|
236
|
+
|
|
237
|
+
| Parameter | In | Type | Required | Notes |
|
|
238
|
+
|---|---|---|---|---|
|
|
239
|
+
| `transactionId` | path | string | yes | The reference number of the transaction that is sent from your end |
|
|
240
|
+
| `tMTransactionMatchStatusUpdateRequest` | body | TMTransactionMatchStatusUpdateRequest | yes | See TMTransactionMatchStatusUpdateRequest. |
|
|
241
|
+
| `ruleSetType` | query | TMRuleSetType | | Required when the TransactionId has both an AML and a FRAUD transaction. Selects the transaction of this ruleset type. |
|
|
242
|
+
|
|
243
|
+
### Transaction.UpdateMetadata
|
|
244
|
+
|
|
245
|
+
`PATCH /api/v3/Transaction/Metadata` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfUpdateTransactionMetadataResult
|
|
246
|
+
|
|
247
|
+
Updates the Response of transactions that were already sent, e.g. to report the final approve or decline result. Send one item, or up to 1000 in one request. The transaction is not re-scored and its alarm does not change. Channel, Source and Action cannot be changed here because they decide which rules run. Response ids can be obtained from GET /api/v3/Transaction/Setting/Metadata (type = Response). Turnover and dashboard figures use the new Response from then on. Each change is written to the transaction's history. An empty list, more than 1000 items or a repeated transactionId rejects the whole request; a transaction that is not found or a Response that is not yours is reported per item in failedTransactions.
|
|
248
|
+
|
|
249
|
+
| Parameter | In | Type | Required | Notes |
|
|
250
|
+
|---|---|---|---|---|
|
|
251
|
+
| `tMUpdateTransactionMetadataRequest` | body | TMUpdateTransactionMetadataRequest | | See TMUpdateTransactionMetadataRequest. |
|
|
252
|
+
|
|
253
|
+
### Transaction.UpdateTags
|
|
254
|
+
|
|
255
|
+
`PUT /api/v3/Transaction/Tag` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMArrayOfApiResponseOfTransactionTagRequestV2
|
|
256
|
+
|
|
257
|
+
Replaces tags of the given transaction
|
|
258
|
+
|
|
259
|
+
| Parameter | In | Type | Required | Notes |
|
|
260
|
+
|---|---|---|---|---|
|
|
261
|
+
| `tMTransactionTagRequestV2` | body | array of TMTransactionTagRequestV2 | yes | See TMTransactionTagRequestV2. |
|
|
262
|
+
|
|
263
|
+
### Transaction.Assign
|
|
264
|
+
|
|
265
|
+
`PUT /api/v3/Transaction/Assignee` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMArrayOfApiResponseOfTransactionAssignRequest
|
|
266
|
+
|
|
267
|
+
Assigns a user to transaction cases. UserId (GUID) can be obtained from GET /api/v3/User (Guid field). If webhooks are enabled, case_assigned event will be triggered.
|
|
268
|
+
|
|
269
|
+
| Parameter | In | Type | Required | Notes |
|
|
270
|
+
|---|---|---|---|---|
|
|
271
|
+
| `tMTransactionAssignRequest` | body | array of TMTransactionAssignRequest | yes | See TMTransactionAssignRequest. |
|
|
272
|
+
|
|
273
|
+
### Transaction.Exists
|
|
274
|
+
|
|
275
|
+
`GET /api/v3/Transaction/Existence` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfstring
|
|
276
|
+
|
|
277
|
+
Checks if a transaction exists in the system by transaction ID.
|
|
278
|
+
|
|
279
|
+
| Parameter | In | Type | Required | Notes |
|
|
280
|
+
|---|---|---|---|---|
|
|
281
|
+
| `transactionId` | query | string | yes | The reference number of the transaction that is sent from your end |
|
|
282
|
+
|
|
283
|
+
## TransactionSetting
|
|
284
|
+
|
|
285
|
+
### TransactionSetting.GetRiskThreshold
|
|
286
|
+
|
|
287
|
+
`GET /api/v3/Transaction/Setting/RiskThreshold` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfRiskThreshold
|
|
288
|
+
|
|
289
|
+
Get transaction risk score thresholds
|
|
290
|
+
|
|
291
|
+
### TransactionSetting.UpdateRiskThreshold
|
|
292
|
+
|
|
293
|
+
`PUT /api/v3/Transaction/Setting/RiskThreshold` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfRiskThreshold
|
|
294
|
+
|
|
295
|
+
Update transaction risk score thresholds. Max threshold value: 99999.999
|
|
296
|
+
|
|
297
|
+
| Parameter | In | Type | Required | Notes |
|
|
298
|
+
|---|---|---|---|---|
|
|
299
|
+
| `tMRiskThreshold` | body | TMRiskThreshold | yes | See TMRiskThreshold. |
|
|
300
|
+
|
|
301
|
+
### TransactionSetting.ListMccCodes
|
|
302
|
+
|
|
303
|
+
`GET /api/v3/Transaction/Setting/MccCode` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMArrayOfApiResponseOfMccResponse
|
|
304
|
+
|
|
305
|
+
Returns Merchant Category Codes (MCCs)
|
|
306
|
+
|
|
307
|
+
### TransactionSetting.UploadMccBatchFile
|
|
308
|
+
|
|
309
|
+
`POST /api/v3/Transaction/Setting/Mcc/Batch/File` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfBatchUploadResponse
|
|
310
|
+
|
|
311
|
+
Uploads an Excel or CSV file (max 10MB, .xlsx or .csv) of MCC codes for batch processing. Columns: MCC Code, Name, Description, Risk Level (Low/Medium/High). Existing MCC codes (matched by MCC Code) are updated, new ones are created. Invalid rows are skipped and reported; valid rows are still processed. Returns a batch identifier; use GET /api/v3/Transaction/Setting/Mcc/Batch/{batchId} to retrieve the result.
|
|
312
|
+
|
|
313
|
+
| Parameter | In | Type | Required | Notes |
|
|
314
|
+
|---|---|---|---|---|
|
|
315
|
+
| `file` | form | file | yes | |
|
|
316
|
+
|
|
317
|
+
### TransactionSetting.GetMccBatch
|
|
318
|
+
|
|
319
|
+
`GET /api/v3/Transaction/Setting/Mcc/Batch/{batchId}` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfMcCodeBatchResultResponse
|
|
320
|
+
|
|
321
|
+
Retrieves the status and counts of an MCC batch upload (Status, TotalCount, ProcessedCount, row-level errors in Message).
|
|
322
|
+
|
|
323
|
+
| Parameter | In | Type | Required | Notes |
|
|
324
|
+
|---|---|---|---|---|
|
|
325
|
+
| `batchId` | path | string | yes | Batch identifier returned from POST /api/v3/Transaction/Setting/Mcc/BatchUpload (e.g., MCC-...). |
|
|
326
|
+
|
|
327
|
+
### TransactionSetting.ListCurrencyRiskLevels
|
|
328
|
+
|
|
329
|
+
`GET /api/v3/Transaction/Setting/CurrencyRiskLevel` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMArrayOfApiResponseOfCurrencyRiskLevelResponse
|
|
330
|
+
|
|
331
|
+
Returns the currency risk level assignments configured for the organization.
|
|
332
|
+
|
|
333
|
+
### TransactionSetting.GetCurrencyRiskLevelBatchTemplate
|
|
334
|
+
|
|
335
|
+
`GET /api/v3/Transaction/Setting/CurrencyRiskLevel/BatchTemplate` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: file (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, text/csv)
|
|
336
|
+
|
|
337
|
+
Downloads the currency risk level batch template (.xlsx, or .csv with format=csv), pre-filled with the organization's current assignments. Columns: Currency, Currency Code, Risk Level.
|
|
338
|
+
|
|
339
|
+
| Parameter | In | Type | Required | Notes |
|
|
340
|
+
|---|---|---|---|---|
|
|
341
|
+
| `format` | query | string | | xlsx (default) or csv |
|
|
342
|
+
|
|
343
|
+
### TransactionSetting.UploadCurrencyRiskLevelBatchFile
|
|
344
|
+
|
|
345
|
+
`POST /api/v3/Transaction/Setting/CurrencyRiskLevel/Batch/File` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfBatchUploadResponse
|
|
346
|
+
|
|
347
|
+
Uploads an Excel or CSV file (max 10MB, .xlsx or .csv) assigning currency risk levels in bulk. Columns: Currency, Currency Code, Risk Level. Currencies are matched by Currency Code first and by Currency name when the code is empty or unknown. Rows with an empty Risk Level are ignored. Invalid rows are skipped and reported; valid rows are still processed. Returns a batch identifier; use GET /api/v3/Transaction/Setting/CurrencyRiskLevel/Batch/{batchId} to retrieve the result.
|
|
348
|
+
|
|
349
|
+
| Parameter | In | Type | Required | Notes |
|
|
350
|
+
|---|---|---|---|---|
|
|
351
|
+
| `file` | form | file | yes | |
|
|
352
|
+
|
|
353
|
+
### TransactionSetting.GetCurrencyRiskLevelBatch
|
|
354
|
+
|
|
355
|
+
`GET /api/v3/Transaction/Setting/CurrencyRiskLevel/Batch/{batchId}` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfRiskLevelBatchResultResponse
|
|
356
|
+
|
|
357
|
+
Retrieves the status and counts of a currency risk level batch upload (Status, TotalCount, ProcessedCount, row-level errors in Message).
|
|
358
|
+
|
|
359
|
+
| Parameter | In | Type | Required | Notes |
|
|
360
|
+
|---|---|---|---|---|
|
|
361
|
+
| `batchId` | path | string | yes | Batch identifier returned from POST /api/v3/Transaction/Setting/CurrencyRiskLevel/BatchUpload (e.g., CURRENCYRL-...). |
|
|
362
|
+
|
|
363
|
+
### TransactionSetting.ListMetadata
|
|
364
|
+
|
|
365
|
+
`GET /api/v3/Transaction/Setting/Metadata` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMArrayOfApiResponseOfTransactionMetaDataResponse
|
|
366
|
+
|
|
367
|
+
Returns transaction metadata such as channel, source, response and action. id is the value to send in ExecuteTransaction. For a Response, isSuccessful tells how its transactions count in turnover and dashboard figures: true = successful, false = failed, null = not set, which counts as successful (most platform default Responses are null). isDefault marks platform defaults, which cannot be changed.
|
|
368
|
+
|
|
369
|
+
### TransactionSetting.AddMetadata
|
|
370
|
+
|
|
371
|
+
`POST /api/v3/Transaction/Setting/Metadata` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfTransactionMetaDataResponse
|
|
372
|
+
|
|
373
|
+
Adds a Channel, Source, Response or Action for your organization. The returned id is the value to send in ExecuteTransaction (channel, source, response, action). Names are unique per type, platform defaults included. For a Response, isSuccessful sets whether transactions with it count as successful or failed in turnover and dashboard figures; omit it to keep the default (successful). Names cannot be changed through the API.
|
|
374
|
+
|
|
375
|
+
| Parameter | In | Type | Required | Notes |
|
|
376
|
+
|---|---|---|---|---|
|
|
377
|
+
| `tMTransactionMetadataAddRequest` | body | TMTransactionMetadataAddRequest | | See TMTransactionMetadataAddRequest. |
|
|
378
|
+
|
|
379
|
+
### TransactionSetting.UpdateResponseMetadata
|
|
380
|
+
|
|
381
|
+
`PUT /api/v3/Transaction/Setting/Metadata/Response/{id}` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfTransactionMetaDataResponse
|
|
382
|
+
|
|
383
|
+
Sets whether transactions with this Response count as successful or failed in turnover and dashboard figures. Only your organization's own Responses can be changed, not the platform defaults. The figures are calculated when they are read, so the change also applies to transactions sent earlier with this Response. Transactions are not re-scored.
|
|
384
|
+
|
|
385
|
+
| Parameter | In | Type | Required | Notes |
|
|
386
|
+
|---|---|---|---|---|
|
|
387
|
+
| `id` | path | integer | yes | Response id. Can be obtained from GET /api/v3/Transaction/Setting/Metadata (type = Response, id field) |
|
|
388
|
+
| `tMTransactionResponseMetadataUpdateRequest` | body | TMTransactionResponseMetadataUpdateRequest | | See TMTransactionResponseMetadataUpdateRequest. |
|
|
389
|
+
|
|
390
|
+
### TransactionSetting.ListCurrencies
|
|
391
|
+
|
|
392
|
+
`GET /api/v3/Transaction/Setting/Currency` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMArrayOfApiResponseOfGeneralCurrencyResponse
|
|
393
|
+
|
|
394
|
+
Returns transaction currency code list with their codes
|
|
395
|
+
|
|
396
|
+
### TransactionSetting.ListDynamicFields
|
|
397
|
+
|
|
398
|
+
`GET /api/v3/Transaction/Setting/DynamicField` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMArrayOfApiResponseOfGeneralDynamicFieldResponse
|
|
399
|
+
|
|
400
|
+
Returns transaction dynamic fields
|
|
401
|
+
|
|
402
|
+
### TransactionSetting.ListRulesets
|
|
403
|
+
|
|
404
|
+
`GET /api/v3/Transaction/Setting/Ruleset` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMArrayOfApiResponseOfRulesetResponse
|
|
405
|
+
|
|
406
|
+
Lists rule sets with every setting shown on the Ruleset screen: description, case conversion, alert levels to convert, assignee, total score, selected rule count, scheduled (promote-dated) update and, per rule, Async, Reset Counter, Repeat limit, Schedule and dependencies. The rule set GUID is the Ruleset Key on the screen and the triggeredRuleSetKey used when executing transactions.
|
|
407
|
+
|
|
408
|
+
| Parameter | In | Type | Required | Notes |
|
|
409
|
+
|---|---|---|---|---|
|
|
410
|
+
| `sourceOrganizationId` | query | integer | | For linked-system integrations. When supplied it must match your organisation's linked system id, otherwise the request is rejected. |
|
|
411
|
+
| `name` | query | string | | Returns rule sets whose name contains this text (case-insensitive). |
|
|
412
|
+
|
|
413
|
+
### TransactionSetting.CreateRuleset
|
|
414
|
+
|
|
415
|
+
`POST /api/v3/Transaction/Setting/Ruleset` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfRulesetResponse
|
|
416
|
+
|
|
417
|
+
Creates a rule set with the same options as the Ruleset screen and returns it, including its GUID (Ruleset Key) to be sent as triggeredRuleSetKey when executing transactions.
|
|
418
|
+
|
|
419
|
+
| Parameter | In | Type | Required | Notes |
|
|
420
|
+
|---|---|---|---|---|
|
|
421
|
+
| `tMRulesetRequest` | body | TMRulesetRequest | | See TMRulesetRequest. |
|
|
422
|
+
|
|
423
|
+
### TransactionSetting.GetRuleset
|
|
424
|
+
|
|
425
|
+
`GET /api/v3/Transaction/Setting/Ruleset/{ruleSetGuid}` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfRulesetResponse
|
|
426
|
+
|
|
427
|
+
Get a single rule set with all of its settings by its GUID (Ruleset Key).
|
|
428
|
+
|
|
429
|
+
| Parameter | In | Type | Required | Notes |
|
|
430
|
+
|---|---|---|---|---|
|
|
431
|
+
| `ruleSetGuid` | path | uuid | yes | Ruleset Key. Shown at the bottom of the Ruleset screen or returned by GET /api/v3/Transaction/Setting/Ruleset. |
|
|
432
|
+
|
|
433
|
+
### TransactionSetting.UpdateRuleset
|
|
434
|
+
|
|
435
|
+
`PUT /api/v3/Transaction/Setting/Ruleset/{ruleSetGuid}` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfRulesetResponse
|
|
436
|
+
|
|
437
|
+
Updates a rule set. Only the fields you send are changed. When 'rules' is sent it becomes the full rule list: rules that stay keep their settings unless you override them, removed rules lose their settings and schedule. The legacy 'ruleGuids' body is still accepted and no longer resets rule settings. Send 'promoteDate' to schedule rule changes for a future date (organization time zone); name, description, case conversion and assignee changes apply immediately.
|
|
438
|
+
|
|
439
|
+
| Parameter | In | Type | Required | Notes |
|
|
440
|
+
|---|---|---|---|---|
|
|
441
|
+
| `ruleSetGuid` | path | uuid | yes | Ruleset Key. Shown at the bottom of the Ruleset screen or returned by GET /api/v3/Transaction/Setting/Ruleset. |
|
|
442
|
+
| `tMRulesetRequest` | body | TMRulesetRequest | | See TMRulesetRequest. |
|
|
443
|
+
|
|
444
|
+
### TransactionSetting.DeleteRuleset
|
|
445
|
+
|
|
446
|
+
`DELETE /api/v3/Transaction/Setting/Ruleset/{ruleSetGuid}` | Permission: Manage | Module: Transaction & Fraud Monitoring | Returns: nothing (see below)
|
|
447
|
+
|
|
448
|
+
Deletes a rule set. Transactions sent afterwards with this rule set's key (triggeredRuleSetKey) are rejected, so update your integration first. A rule set used in the last 30 days is not deleted unless force=true.
|
|
449
|
+
|
|
450
|
+
The API document declares no response body for this operation, so the SDK method returns nothing; the
|
|
451
|
+
per-language SDK file says how to read the raw response.
|
|
452
|
+
|
|
453
|
+
| Parameter | In | Type | Required | Notes |
|
|
454
|
+
|---|---|---|---|---|
|
|
455
|
+
| `ruleSetGuid` | path | uuid | yes | Ruleset Key. Shown at the bottom of the Ruleset screen or returned by GET /api/v3/Transaction/Setting/Ruleset. |
|
|
456
|
+
| `force` | query | boolean | | Delete even if the rule set processed transactions in the last 30 days. Default false. |
|
|
457
|
+
|
|
458
|
+
### TransactionSetting.ListRules
|
|
459
|
+
|
|
460
|
+
`GET /api/v3/Transaction/Setting/Rule` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMArrayOfApiResponseOfRuleResponse
|
|
461
|
+
|
|
462
|
+
Lists the organization's transaction rules with their GUID and Unique Code. Use the uniqueCode or name query parameters to filter. Ruleset endpoints expect the rule GUID, not the Unique Code shown in Rule Studio.
|
|
463
|
+
|
|
464
|
+
| Parameter | In | Type | Required | Notes |
|
|
465
|
+
|---|---|---|---|---|
|
|
466
|
+
| `uniqueCode` | query | string | | Returns only the rule whose Unique Code matches exactly (case-insensitive). |
|
|
467
|
+
| `name` | query | string | | Returns rules whose name contains this text (case-insensitive). |
|
|
468
|
+
|
|
469
|
+
### TransactionSetting.GetRule
|
|
470
|
+
|
|
471
|
+
`GET /api/v3/Transaction/Setting/Rule/{ruleGuid}` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMApiResponseOfRuleDetailResponse
|
|
472
|
+
|
|
473
|
+
Get a single rule by its GUID, including the rule sets it belongs to and its settings in each set (Async, Reset Counter, Repeat limit, Schedule).
|
|
474
|
+
|
|
475
|
+
| Parameter | In | Type | Required | Notes |
|
|
476
|
+
|---|---|---|---|---|
|
|
477
|
+
| `ruleGuid` | path | uuid | yes | Rule GUID. Can be fetched from GET /api/v3/Transaction/Setting/Rule or copied from Rule Studio > Rule Settings. |
|
|
478
|
+
|
|
479
|
+
### TransactionSetting.ListMatchlists
|
|
480
|
+
|
|
481
|
+
`GET /api/v3/Transaction/Setting/Matchlist` | Permission: Read | Module: Transaction & Fraud Monitoring | Returns: TMArrayOfApiResponseOfMatchListResponse
|
|
482
|
+
|
|
483
|
+
Retrieves all transaction matchlists configured for the organization. Optional query: includeDeleted=true returns soft-deleted matchlist items with deletion metadata.
|
|
484
|
+
|
|
485
|
+
| Parameter | In | Type | Required | Notes |
|
|
486
|
+
|---|---|---|---|---|
|
|
487
|
+
| `includeDeleted` | query | boolean | | Default false. |
|