Risikobewertung
curl --request POST \
--url https://api.truthlocks.com/v1/risk/evaluate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"subject_id": "<string>",
"risk_score": 50
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({subject_id: '<string>', risk_score: 50})
};
fetch('https://api.truthlocks.com/v1/risk/evaluate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/evaluate"
payload = {
"subject_id": "<string>",
"risk_score": 50
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/evaluate"
payload := strings.NewReader("{\n \"subject_id\": \"<string>\",\n \"risk_score\": 50\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"decision_id": "<string>",
"signal_id": "<string>",
"decision": "allow",
"policy_id": "<string>",
"receipt_id": "<string>"
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Risikobewertung
Risikobewertung
Einheitlicher Endpunkt zur Risikobewertung. Nimmt ein Signal auf, bewertet es anhand Ihrer Mandantenrichtlinien, erstellt eine signierte Risikobewertung und prägt optional einen fraud_decision_receipt zur Unwiderlegbarkeit.
POST
/
v1
/
risk
/
evaluate
Risikobewertung
curl --request POST \
--url https://api.truthlocks.com/v1/risk/evaluate \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"subject_id": "<string>",
"risk_score": 50
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({subject_id: '<string>', risk_score: 50})
};
fetch('https://api.truthlocks.com/v1/risk/evaluate', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/evaluate"
payload = {
"subject_id": "<string>",
"risk_score": 50
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/evaluate"
payload := strings.NewReader("{\n \"subject_id\": \"<string>\",\n \"risk_score\": 50\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"decision_id": "<string>",
"signal_id": "<string>",
"decision": "allow",
"policy_id": "<string>",
"receipt_id": "<string>"
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Wie die Auswertung funktioniert
- Das Signal wird in
risk_signalsaufgenommen - Ihre aktiven Richtlinienregeln werden ausgewertet (die Übereinstimmung mit der höchsten Priorität gewinnt)
- Ein
risk_decision-Datensatz wird mit dem Ergebnis erstellt - Wenn
mint_receipt: trueundissuer_id/kidbereitgestellt werden, wird einfraud_decision_receiptüber den Attestierungsdienst geprägt
Entscheidungsergebnisse
| Aktion | Bedeutung |
|---|---|
allow | Keine Richtlinie entsprach oder Punktzahl unter allen Schwellenwerten |
challenge | MFA oder Step-up-Authentifizierung erforderlich |
block | Aktion vollständig ablehnen |
review | Weiterleitung zur manuellen Betrugsprüfungswarteschlange |
Integrierte Belegtypen
| Belegart | Zweck |
|---|---|
fraud_decision_receipt | Zeichnet Zulassungs-/Herausforderungs-/Blockierungs-/Überprüfungsentscheidungen auf |
ato_alert_receipt | Zeichnet ATO-Alarmereignisse auf |
risk_block_receipt | Beweist, dass eine Aktion blockiert wurde |
deepfake_detection_receipt | Zeichnet Deepfake-Scan-Ergebnisse auf |
Antwort
Autorisierungen
Body
application/json

