Flag Customer

Endpoint to read a customer

Flag or remove fraud risk for a customer

POST https://api.waldo.ai/flag

Request Body

FieldTypeDescription

customerId*

String

Waldo AI customer id

flag*

Boolean

The new risk fraud status (true or false)

note

String

Only when flag is set to true

Headers

NameTypeDescription

Authorization*

String

The token in the format Bearer eyJhbG...

Content-Type*

String

Expected type is application/json

Response

{
    "flagged": true,
    "externalId": "abcd-123-456-efgh",
    "customerId": "65f2ddf6cfcf6ee1fd726307",
    "uri": "https://app.waldo.ai/customers/65f2ddf6cfcf6ee1fd726307"
}

Last updated