GET /v1/customer_partners/{{customer_partner_id}}/customers
Returns an array of all customers attached to your integration and the number of active customers that you have.
Response
This is expected response if the request is completed successfully.
{
"message": {
"status": "success",
"message": "Customers retrieved successfully"
},
"data": {
"customers": [
{
"id": "w6r90wokmfu",
"business_name": "B54",
"unique_id_type": "bvn",
"unique_id": "123456780",
"first_name": "John",
"last_name": "Doe",
"other_names": "Smith",
"mother_maiden_name": "Jane",
"gender": "male",
"date_of_birth":"DD-MM-YYYY",
"street": "12 Olaniyi street ",
"city": "Ikeja",
"state": "Lagos",
"country": "Nigeria",
"email": "[email protected]",
"contact_number": "08000000007",
"nin": "1234567890",
"photo_id_type": "NIN slip",
"occupation": "Software Developer",
"office_street": "229 Herbert Macaulay",
"office_city": "Yaba",
"office_state": "Lagos",
"office_country": "Nigeria",
"address": "229 Herbert Macaulay Yaba Lagos Nigeria",
"next_of_kin": "Arowojobe Stone Jeremiah"
"nin_slip": "https://fileLink",
"proof_of_residence": "https://fileLink",
"international_passport": "https://fileLink",
"utility_slip": "https://fileLink",
"drivers_license": "https://fileLink"
"is_deleted": false,
"created_at": "2021-04-28 11:22:07",
"updated_at": "2021-04-28 11:22:07"
}
],
"no_of_active_customers": 1
}
}
The response
object
response
objectstatus string
This is the status of the request. It can be either success
or error
message string
This is a message describing the outcome of the request sent to the server.
data object
customers array of object
Object
business_name string
This is the business name of the customer if they have a business.
unique_id_type string
This is the primary type of identifying and verifying the user's bio-information. In this context, the value is bvn
.
unique_id string
This is the ID number that corresponds with the unique_id_type
first_name string
This is the first name of the customer.
last_name string
This is the last name of the customer.
other_names string
This can include other names of the customer if applicable.
mother_maiden_name string
This is the customer's mother's maiden name.
gender string
This is the gender of the customer. It must either be male
or female
date_of_birth string
This is the date of birth of the customer. The format of the date must be in this format: DD-MM-YYYY
street string
This is the street on which the customer resides.
city string
This is the city in which the customer resides.
state string
This is the state in which the customer resides.
country string
This is the country in which the customer resides.
email string
This is the email address of the customer.
contact_number string
This is the contact (phone) number of the customer.
nin string
This is the National Identification Number.
photo_id_type string
This is the type of photo identification to be used. Its value can be NIN slip
, International passport
or Drivers license
.
occupation string
This is the occupation of the customer.
office_street string
This is the street on which the customer's office is situated.
office_city string
This is the city in which the customer's office is situated.
office_state string
This is the state in which the customer's office is situated.
office_country string
This is the country in which the customer's office is situated.
address string
This is the address of the customer.
next_of_kin string
This is the name of the next of kin of the customer.
proof_of_residence string
This is the link to the image of the customer's proof of residence.
international_passport string
This is the link to the image of the customer's international passport.
utility_slip string
This is the link to the image of the customer's utility slip.
drivers_license string
This is the link to the image of the customer's driver's license.
id int
This is the ID of the customer.
is_deleted boolean
This indicates whether or not the customer has been deleted ot not.
metadata string
This includes the created_at
and updated_at
timestamps sent in a DateTime
format.