Waldo AI Docs
Dashboard
  • Meet Waldo AI
  • Quick Start
  • Getting Started
  • Guides
    • Authentication process
  • Features
    • Overview
    • Onboarding
    • Fraud Evaluation
    • Express KYC
    • Document Upload
    • Deep Background Check
    • Webhooks
    • Sandbox
  • API Reference
    • Authentication
    • Customer Onboarding
    • KYC History
    • Get Customer
    • Document Upload
    • Check Fraud
    • Fraud History
    • Flag Customer
  • General Information
    • Data Sources
Powered by GitBook
On this page
  1. API Reference

Fraud History

Endpoint to read a customer's fraud history

Retrieve fraud history

GET https://api.waldo.ai/history/fraud/:customerId

Request Body

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": "NOT_AUTHORIZED",
  "message": "Not authorized."
}
{
  "code": "INVALID_TOKEN",
  "message": "Invalid token."
}
{
  "code": "NOT_AUTHORIZED",
  "message": "You are not authorized to perform this action. Please contact support for assistance."
}
{
  "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."
}
PreviousCheck FraudNextFlag Customer

Last updated 8 months ago