# Create Customer

Create a customer profile for the authenticated business and optionally provision a customer wallet.

### API Endpoint

`POST /api/v1/customer`

### Authorization

#### [Authorization](https://docs.tryduplo.com/en/atlas/customers/createNewCustomer#authorization)
- **Type**: BearerAuth  
- **Token**: `Authorization: Bearer <token>`

### Request Body

#### [Request Body](https://docs.tryduplo.com/en/atlas/customers/createNewCustomer#request-body)
- **Content-Type**: application/json  
- **Fields**:
  - `first_name?string`  
    - Required unless type is business
  - `last_name?string`  
    - Required unless type is business
  - `email:string`  
  - `phone:string`  
  - `has_wallet?boolean|null`  
    - Optionally provision a customer wallet
  - `type?string|null`  
    - Customer type - if business, first_name and last_name are auto-generated  
    - Value: `
