Get Customer

Endpoint to read a customer

Retrieve a customer

GET https://api.waldo.ai/customer?email=john@example.com

Query Parameters

NameTypeDescription

<customer_field>

String

<customer_field> should be one or more of the following:

customerId, email, officialId, zipCode, dob, externalId

Headers

NameTypeDescription

Authorization*

String

The token in the format Bearer eyJhbG...

Content-Type*

String

Expected type is application/json

Response

{
    "customers": [
        {
            "createdAt": 1695892771782,
            "firstName": "Raych",
            "lastName": "Foss",
            "officialId": {
                "docType": "SSN",
                "value": "123-45-6789",
                "country": "US"
            },
            "dob": "1985-04-24",
            "address": "Trantor Blvd. 73",
            "email": "raych@example.com",
            "phone": "(123) 456-7890",
            "zipCode": "00001",
            "state": "IL",
            "externalId": "abcd-123-456-efgh",
            "customerId": "6515452382d40426aa45989a",
            "uri": "https://app.waldo.ai/customers/6515452382d40426aa45989a",
            "validation": {
                "status": "APPROVED",
                "kyc": "REJECTED",
                "fraudScore": 0.82,
                "fraudReport": false,
                "fraudCheck": false
            }
        }
    ]
}

Last updated