Flag or remove fraud risk for a customer
{
"flagged": true,
"status": "REJECTED",
"externalId": "abcd-123-456-efgh",
"customerId": "65f2ddf6cfcf6ee1fd726307",
"uri": "https://app.waldo.ai/customers/65f2ddf6cfcf6ee1fd726307"
}
{
"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 at least one of the following parameters: customerId, flag
{
"code": "INVALID_QUERY",
"message": "Invalid query."
}
Webhooks event notification
{
"event": "flag",
"flag": true,
"externalId": "abcd-123-456-efgh",
"customerId": "<customer-id>",
"uri": "https://app.waldo.ai/customers/<customer-id>"
}