EKYC Data
EKYC Data
POST/https://gcpdfa.rahisi.co/api2/api/v1/partner/customer/create?shortCode=406441
The endpoint allows partners to create a new customer by providing the necessary information.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <accessToken>
Body
Name
Type
Description
legal_name
string
The legal name of the customer
id_number
number
The identification number of the customer
id_verified
boolean
True or False verification
id_type
string
The type of identification (e.g., NATIONAL_ID, ALIEN_ID, PASSPORT_NO)
customer_id
string
A unique identifier for the customer
phone_number
string
The customer's phone number
Body Request
{
"legal_name": “James Bond”,
"id_number": “723472423”,
"id_verified": true,
"id_type": "NATIONAL_ID",
"customer_id": "e39d1a74-c232-4154-9545-78e12d28eb1b",
"phone_number": “+254730455345”,
}Response
{
"status_code": 0,
"status_description": "success",
"status_details": "Customer Created Successfully"
}{
"status_code": 1,
"status_description": "error",
"status_details": "Customer with id 'e39d1a74-c232-4154-9545-78e12d28eb1b' exist"
}{
"message": "Unauthorized!"
}Last updated