POST {{baseurl}}/customers/create
These are the parameters of the request body.
Field | Data Type | Description |
---|---|---|
email | String | Required. User’s email address. |
firstName | String | Required. User’s first name. |
lastName | String | Required. User’s last name. |
phoneNumber | String | Required. User’s phone number. Example:
+2348131911964 . |
city | String | Required. User’s city of residence. |
state | String | Required. User’s state of residence. |
country | String | Required. User’s country of residence. Example:
NG . |
zipCode | String | Required. User’s postal or ZIP code. |
line1 | String | Required. First line of user’s address. |
line2 | String | Optional. Second line of user’s address. |
house | String | Optional. House or apartment number. |
idType | Enum | Optional. Type of identification document.
Values: NIN , PASSPORT ,
DRIVER_LICENSE , VOTER_CARD . |
idNumber | String | Optional. Identification document number.
Required if idType is provided. |
bvn | String | Conditionally Required. BVN is required for
users in Nigeria (country = NG ). |
document | String | Optional. URL of the user’s identification document. |
document2 | String | Optional. URL of the user’s identification (the back of the document) |
profileImage | String | Optional. URL to the user’s profile image. |
dateOfBirth | String | Required. User’s date of birth in
YYYY-MM-DD format. |
reference | String | Optional. Reference identifier for the user. |