Customer account creation
Customer Account Creation
This API allows you to create and manage user accounts efficiently and securely. With this API, you can streamline the onboarding process, ensuring a seamless experience for your users.
NB:
In the sandbox environment, KYC checks are always passed without any deductions.
In the live environment:
KYC will be verified, and a ₦50 fee will be deducted from the business wallet for each check. If the business wallet has insufficient funds, the request will fail with a 422 status code.
To create an account, make a POST request to the endpoint:
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:
|
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:
|
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: |
idNumber | String | Optional. Identification document number.
Required if |
bvn | String | Conditionally Required. BVN is required for
users in Nigeria ( |
document | String | Optional. URL of the user’s identification document. |
profileImage | String | Optional. URL to the user’s profile image. |
dateOfBirth | String | Required. User’s date of birth in
|
reference | String | Optional. Reference identifier for the user. |
This is what a typical successful response will look like:
Remember to save the customer ID
Error Responses
Missing API keys
Status Code: 401 Bad Request
The response will include an error message indicating an issue with the request parameters.