POST
/
api
/
service
/
customer
/
search
JavaScript
import Ivy from '@getivy/node-sdk';

const client = new Ivy({
  apiKey: 'My API Key',
});

const response = await client.customers.search({ email: 'email' });

console.log(response.count);
{
  "items": [
    {
      "id": "<string>",
      "emailAddress": "<string>",
      "bankAccounts": [
        {
          "last4digits": "<string>",
          "bank": {
            "id": "<string>",
            "logo": "<string>",
            "name": "<string>"
          }
        }
      ]
    }
  ],
  "count": 123,
  "skip": 123,
  "hasNext": true
}

Authorizations

X-Ivy-Api-Key
string
header
required

API key for authentication

Body

application/json

Response

200 - application/json

Successful response

The response is of type object.