e2e

Identity & Verification

Identify and verify the customer using the IVR service.

1

SearchCustomers

Identify the customer by asking for certain identifiers. Available identifers include phone number, DOB, post code or account number and more.

post
/customers/search
See API reference
2

GetCustomerJourneyDetailsUsingCustomerRef

Retrieve the customer's application states, account states and various financial data from their customer reference.

Request Example

Request

1curl --request POST \
2  --url 'https://dapi.stg-newdaytechnology.net/customer-service/customers/search?api-version=SOME_STRING_VALUE' \
3  --header 'Api-Version: SOME_STRING_VALUE' \
4  --header 'content-type: application/json' \
5  --data '{"filter":{"givenName":"string","familyName":"string","postcode":"string","phoneNumber":"string","dateOfBirth":"2019-08-24T14:15:22Z","accountNumber":"string","customerRef":"string"}}'

Response Example

Response

JSON

1{
2  "values": [
3    {
4      "id": "0003911000001668971",
5      "customerRef": "4vMgYYLnQJ",
6      "ssoId": "J0aBUy8XBRdiZkV/3EGxtaS7rA+YwJ3bKF7n6EYZVQs=",
7      "status": "Customer",
8      "title": "Dr.",
9      "givenName": "Bloggs",
10      "middleNames": "Adam",
11      "familyName": "Joe",
12      "suffix": "",
13      "salutation": "Mr",
14      "dateOfBirth": "1970-01-01T00:00:00Z",
15      "contact": {
16        "phoneNumbers": [
17          {
18            "type": "Work",
19            "value": "020 7160 8800"
20          }
21        ],
22        "emailAddresses": [
23          {
24            "type": "Personal",
25            "value": "email@newday.co.uk"
26          }
27        ]
28      },
29      "addresses": [
30        {
31          "id": "6d1485d2-848c-4f28-9fe7-109141b081c3",
32          "format": "Manual",
33          "components": {
34            "flatNumber": null,
35            "houseNumber": "7",
36            "houseName": null,
37            "street": null,
38            "locality": null,
39            "addressLine1": "Handyside Street",
40            "addressLine2": null,
41            "addressLine3": null,
42            "addressLine4": null,
43            "townOrCity": "London",
44            "county": null,
45            "postcode": "N1C 4DA",
46            "countryCode": null
47          }
48        }
49      ],
50      "accounts": [
51        {
52          "accountNumber": "0003915000000966364"
53        }
54      ],
55      "applications": [
56        {
57          "applicationId": "93a1c2ce-c345-4057-bd5f-1a639573f00f"
58        }
59      ],
60      "scaExemptions": [
61        "scaExempt"
62      ],
63      "hasVulnerabilities": null,
64      "hasSupportNeeds": null
65    }
66  ]
67}