Get Customer
Request URL
GET /condor/customer/get/:customerId
(deprecated)
Description
This endpoint is deprecated. Instead of using /condor endpoints, it is recommended to use /ibis endpoints. Ibis endpoints support credit-card issuing, debit-card issuing, and vAccount issuing.
This endpoint is used to retrieve an existing customer. The connectFi customerId should be included in the url as a path parameter.
Request Body
HEADERS
{
"x-connectfi-token": "a long random string" //Authorization token received from /auth/get-token request
}
REQUEST BODY
none
Successful Response Example
200 (HTTP response status code) -- Success, customer is returned
{
"code": "0", //Success
"data": {
"condorCustomer": {
"first_name": "JESSIE",
"last_name": "TESTMAN",
"gender": "M",
"email": "aa@aa.ae",
"phone_details": [
{
"phone_type": "MOBILE",
"country_dialing_code": 1,
"phone_number": "##########", //a phone number, "##########", is used as a placeholder here for documentation purposes
}
],
"date_of_birth": "1978-10-15", //YYYY-MM-DD format
"addresses": [
{
"address_type": "PRIMARY",
"address1": "123 Some Str.",
"city": "Mycityname",
"region": "PA",
"postal_code": "#####", //a postal code, ##### is used as a placeholder here for documentation purposes
"country": "USA"
}
],
"identification_docs": [
{
"identification_type": "DRIVING LICENSE",
"identification_value": "#########", //a Driver's License Number, ######### is used as a placeholder here for documentation purposes
"identification_issuance_country": "USA",
"identification_issuance_region": "Pennsylvania",
"identification_expiry_date": "2023-04-08"
},
{
"identification_type": "SSN",
"identification_value": "#########", //a 9 digit Social Security Number, ######### is used as a placeholder here for documentation purposes
"identification_issuance_country": "USA"
}
],
"customerId": "csta_MlNTVaPPqdvvl1swwSGbC" //customer ID in connectFi
}
}
}