User Registration
Use this endpoint to register borrowers, merchants or agents onto PEZESHA
Last updated
Was this helpful?
Was this helpful?
{
"error":false,
"status":200,
"response_code":0,
"data":{
"customer_id":1,
"customer_names":"John",
"customer_identification":"292309489",
"customer_phoneno":"0721234567"
}
}
{
"error": true,
"status": 422,
"message": {
"phone": [
"The phone field is required."
]
}
}
{
"full_names":"John Doe",
"phone":"254721XXXXXX",
"other_phone_nos":[
"25471XXXXXXX",
"25472XXXXXXXX"
],
"national_id":"12311313",
"dob":"1999-01-01",
"email":"",
"merchant_id":"",
"merchant_reg_date":"",
"location":"",
"geo_location":{
"long":"",
"lat":""
}
}{
"full_names":"John Doe",
"phone":"254721XXXXXX",
"other_phone_nos":[
"25471XXXXXXX",
"25472XXXXXXXX"
],
"national_id":"12311313",
"dob":"1999-01-01",
"email":"",
"merchant_id":"",
"merchant_reg_date":"",
"location":"",
"geo_location":{
"long":"",
"lat":""
}
}{
"full_names":"John Doe",
"phone":"254721XXXXXX",
"other_phone_nos":[
"25471XXXXXXX",
"25472XXXXXXXX"
],
"national_id":"12311313",
"dob":"1999-01-01",
"email":"",
"merchant_id":"",
"merchant_reg_date":"",
"location":"",
"geo_location":{
"long":"",
"lat":""
}
}{
"full_names":"John Doe",
"phone":"254721XXXXXX",
"other_phone_nos":[
"25471XXXXXXX",
"25472XXXXXXXX"
],
"national_id":"12311313",
"dob":"1999-01-01",
"email":"",
"merchant_id":"",
"merchant_reg_date":"",
"location":"",
"geo_location":{
"long":"",
"lat":""
}
}wddwe{
"full_names":"John Doe",
"phone":"254721XXXXXX",
"other_phone_nos":[
"25471XXXXXXX",
"25472XXXXXXXX"
],
"national_id":"12311313",
"dob":"1999-01-01",
"email":"",
"merchant_id":"",
"merchant_reg_date":"",
"location":"",
"geo_location":{
"long":"",
"lat":""
}
}{
"full_names":"John Doe",
"phone":"254721XXXXXX",
"other_phone_nos":[
"25471XXXXXXX",
"25472XXXXXXXX"
],
"national_id":"12311313",
"dob":"1999-01-01",
"email":"",
"merchant_id":"",
"merchant_reg_date":"",
"location":"",
"geo_location":{
"long":"",
"lat":""
}
}{
"channel": "Partner Name",
"full_names":"John Doe",
"phone":"254721XXXXXX",
"other_phone_nos":[
"25471XXXXXXX",
"25472XXXXXXXX"
],
"national_id":"12311313",
"dob":"1999-01-01",
"email":"[email protected]",
"gender":"Female",
"merchant_id":"",
"merchant_reg_date":"",
"location":"",
"county":"",
"sub_county":"",
"alternative_customer_phoneno":"",
"next_of_kin_name":"",
"next_of_kin_phoneno":"",
"geo_location":{
"long":"",
"lat":""
},
"meta_data":[
{
"key":"",
"value":""
}
]
}