Fraud History
Endpoint to read a customer's fraud history
Retrieve fraud history
GET https://api.waldo.ai/history/fraud/:customerId
Path Parameters
Field
Type
Description
customerId*
String
Waldo AI customer id
Headers
Name
Type
Description
Authorization*
String
The token in the format Bearer eyJhbG...
Content-Type*
String
Expected type is application/json
Response
{
"active": {
"date": 1724152019860,
"score": 0.9
},
"history": [
{
"date": 1724152019860,
"score": 0.9
}
]
}{
"code": "API_KEY_REVOKED",
"message": "This API key has been revoked. Please visit the Waldo AI dashboard to review your API key."
}The query should include the following parameters: customerId
{
"code": "INVALID_DATA",
"message": "Invalid customer ID."
}Customer was not found, or has not been evaluated yet.
{
"code": "NOT_FOUND",
"message": "Fraud history not found."
}Last updated