post https://wassdev.idbanc.com/customers
This endpoint create a new customer with provided details.
Request Body
The request body should include the following parameters for creating a new customer:
| Parameter | Type | Description |
|---|---|---|
| phoneNumber | string | Phone number of the customer. |
| firstName | string | First name of the customer. |
| lastName | string | Last name of the customer. |
| string | Email address of the customer. | |
| phone | object | Phone information of the customer. |
| - phoneCountryCode | string | Country code of the phone number. |
| - phoneNumber | string | Phone number of the customer. |
| dob | string | Date of birth of the customer (format: "dd-mm-yyyy"). |
| address | object | Address information of the customer. |
| - street | string | Street address of the customer. |
| - street2 | string | Additional street address of the customer. |
| - city | string | City of the customer's address. |
| - state | string | State of the customer's address. |
| - country | string | Country of the customer's address. |
| - postalCode | string | Postal code of the customer's address. |
| bvnNumber | string | Bank Verification Number of the customer. |
| photo | string | URL to the customer's photo. |
| identity | object | Identity information of the customer. |
| - type | string | Type of identity document (e.g., "vnin"). |
| - number | string | Identity document number. |
| - country | string | Country issuing the identity document. |
| - image | string | URL to the identity document image. |