Skip to main content

Create a new customer on our platform

POST 

/v1/customers

Create a new customer

Creates a new customer. You can then use this customer to place an order for a product. Insurance regulation requires KYC, so some fields are mandatory.

Customer types

  • Individual (default): omit customer_type, or set it to individual.
  • Business: set customer_type to business.

Optional KYC parameters

You can omit these parameters:

  • bvn
  • proof_of_address

Request​

Body

required

Details of the customer to create

    oneOf
    customer_type stringnullable

    Possible values: [individual]

    Default value: individual

    Omit this field, or set it to individual, to create an individual customer.

    ref stringnullable

    Possible values: <= 150 characters

    Your unique identifier for the customer as it exists on your database. It must be unique for your account. If you omit it, Curacel generates one. This would be used to identify this customer in all other operations.

    first_name stringrequired

    Letters, numbers, dashes and underscores only. Spaces are not allowed.

    last_name stringrequired

    Letters, numbers, dashes and underscores only. Spaces are not allowed.

    middle_name stringnullable
    sex stringnullable

    Possible values: [M, F]

    Must be either M or F

    birth_date datenullable

    Customer's date of birth in YYYY-MM-DD format. The customer must be at least 18 years old. Required for partners onboarded on or after 1 August 2023.

    email emailrequired

    Customer's email address. It must be unique for your account when you do not send ref.

    phone stringnullable

    Customer's phone number. Required for partners onboarded on or after 1 August 2023.

    occupation stringnullable
    specialty stringnullable

    The specialty of the policy holder

    state_of_origin stringnullable
    nationality stringnullable
    residential_address stringnullable

    Customer's home address. Required for partners onboarded on or after 1 August 2023. Also required to buy credit life products.

    town stringnullable
    city stringnullable
    state stringnullable
    country stringnullable
    bvn stringnullable

    Possible values: Value must match regular expression ^[0-9]+$

    Bank Verification Number. Digits only. This KYC field is optional.

    proof_of_address objectnullable

    The proof of the customer's address. This KYC field is optional. When you send it, both type and url are required. The type can be any string that describes the document. The url must be publicly accessible when you make this request, because Curacel copies and stores the file for insurers to view.

    type stringrequired

    The type of proof of address e.g Electricity bill

    url urlrequired

    A publicly available URL to the customer's proof of address file

    next_of_kin_name stringnullable

    The name of the customer's next of kin. Required to buy credit life products.

    next_of_kin_phone stringnullable

    Phone number of the customer's next of kin. Required to buy credit life products.

    id_card binarynullable

    ID card of the customer. To upload it, send the request as multipart/form-data. When you upload it, id_number and id_expiry are required.

    id_type stringnullable

    Possible values: [driversLicense, internationalPassport, votersCard, nimc]

    Type of ID

    id_number stringnullable

    Number of the ID. Required when you upload id_card.

    id_expiry datenullable

    Expiry date of the ID in YYYY-MM-DD format. It must be today or a later date. Required when you upload id_card.

Responses​

Created

Schema
    id integer
    ref string

    Unique identifier for the customer. This is the ref you sent, or the one that Curacel generated.

    email string
    full_name string

    First and last name for an individual. Business name for a business.

    first_name stringnullable
    last_name stringnullable
    phone stringnullable
    sex stringnullable
    birth_date datenullable
    next_of_kin_name stringnullable
    next_of_kin_phone stringnullable
    residential_address stringnullable
    country stringnullable
    state stringnullable
    city stringnullable
    customer_type stringnullable

    Possible values: [individual, business]

    The value you sent in customer_type. It is null when you omit it.

    created_at date-time
    id_card urlnullable

    URL of the uploaded ID card

    id_type stringnullable
    id_number stringnullable
    channel stringnullable

    The sales channel of the customer, when set.

    specialty string

    Only present when you send specialty.

    business_name string

    Only present for business customers.

    description string

    Only present for business customers.

    tin string

    Only present for business customers.

Loading...