Create a new customer on our platform
POST/v1/customers
Create a new customer
Creates a new customer which can be subsequently used to place an order for a product. Insurance regulation requires that KYC be done, thus a lot of fields would be mandato
Optional KYC parameters
The following parameters may be omitted
- bvn
- proof_of_address
When the above parameters are absent, the customer will get an email notification with instructions to provide them.
Request
- multipart/form-data
Body
Details of customers to be created
- CustomerIndividual
- customerBusiness
Your unique identifier for the customer as it exists on your database. This would be used to identify this customer in all other operations.
Possible values: [M
, F
]
Must be either M or F
Customer's date of birth e.g 1990-10-10
Customer's email address. This need not be unique if the ref is provided.
Customer's phone number.
ID card of the customer
Possible values: [driversLicense
, internationalPassport
, votersCard
, nimc
]
type of ID
expiry date of the ID
Number of the ID
This is required to be able to purchase credit life products
This is required to be able to purchase credit life products The name of customer's next of kin
This is required to be able to purchase credit life products Phone number of next of kin
proof_of_address object
The proof of the customer's address as part of required KYC. The type can be any string describing what type of document it is. The url should be a publicly accessible file at the time of making this request as it would be copied and stored for insurers to view.
The type of proof of address e.g Electricity bill
A publicly available URL to the customer's proof of address file
Your unique identifier for the customer as it exists on your database. This would be used to identify this customer in all other operations.
Customer's email address. This need not be unique if the ref is provided.
Customer's business description.
Customer's phone number.
Address of the business
Country of the business address
State of the business address
City of the business address
Customer's business registration number
Customer's Tax Identification Number (TIN)
Customer's proof of business registration
Default value: business
Customer's type can be individual or business, this field differentiate between individual and business account
DoB of director whose ID is provided
ID card of one director
Possible values: [driversLicense
, internationalPassport
, votersCard
, nimc
]
type of ID
expiry date of the ID
Number of the ID
Customer's memart
Responses
- 201
- 422
Created
- application/json
- Schema
- Example (from schema)
Schema
Unique identifier for the customer on your system
The customer's email address
{
"ref": "string",
"email": "string",
"phone": "408-867-5309",
"first_name": "Jane",
"last_name": "Doe"
}
Unprocessable Content
- application/json
- Schema
- Example (from schema)
Schema
errors object
{
"message": "The given data was invalid",
"errors": {
"ref": [
"The ref is required"
],
"email": [
"The email field is required"
]
}
}