Find One Customer Account

This API endpoint allows you to retrieve detailed information for a specific customer account based on a unique identifier.

Endpoint

{{baseurl}}/customer/{id}

This is a GET request; one required parameter here is the customer ID.

FieldData TypeDescription.
idstringUnique identifier of the customer account you want to retrieve.

This is how a successful request will look.

{
  "success": true,
  "statusCode": 200,
  "message": "Fetched customer details",
  "data": {
    "id": "326a18a1-441a-457d-ba28-0538e0717c92",
    "email": "test@payshiga.com",
    "firstName": "test",
    "lastName": "testing",
    "city": "Bariga",
    "state": "Lagos",
    "country": "Nigeria",
    "zipCode": "100231",
    "line1": "123, Payshiga road",
    "line2": null,
    "phoneNumber": "+2348123456789",
    "house": "Zk9",
    "dateOfBirth": "2002-10-29T00:00:00.000Z",
    "idType": null,
    "idNumber": null,
    "document": null,
    "imageURL": null,
    "reference": "w72hs8shshshshw8s8292ushs",
    "createdAt": "2024-05-01T22:10:44.329Z",
    "status": "UNVERIFIED",
    "reason": null,
    "businessId": "0bb1dfc6-a74c-4e53-b41a-4a0c1eab188e"
  }
}