# Create a new customer Creates a customer with basic information such as name, contact information, and address. To check complete list of API validations, click here. Endpoint: POST /customer Version: 1.0.0 Security: JWT ## Request fields (application/json): - `name` (string, required) The name of the customer. Example: "Prabhat's Arts & Crafts Pvt Ltd" - `customer_type` (string, required) The type of customer Enum: "individual", "business" - `email` (string, required) The email address of the customer. Example: "prabhat+customerArt@glomopay.com" - `phone` (string) The phone number of the customer, with country code Example: "+91-9023456789" - `dob` (string) The date of birth of the customer Example: "29-11-2003" - `nationality` (string) The nationality of the customer Example: "IND" - `address` (string, required) The street address of the customer. Example: "123 Main St" - `city` (string, required) The city where the customer is located. Example: "Anytown" - `state` (string, required) The state where the customer is located. Example: "Anystate" - `country` (string, required) The country where the customer is located. Country should be sent as a [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) code. Example: "IND" - `pincode` (string, required) The postal code/pincode of the customer's address. [List of countries where pincode is mandatory](/api-documentation/countries#countries-requiring-pincode) are listed here. Example: "560048" ## Response 201 fields (application/json): - `id` (string) The unique identifier for the customer. Example: "cust_5JU9yv0lGSUP" - `name` (string) The name of the customer. Example: "Prabhat's Arts & Crafts Pvt Ltd" - `customer_type` (string) The type of customer Enum: "individual", "business" - `email` (string) The email address of the customer. Example: "prabhat+customerArt@glomopay.com" - `phone` (string) The phone number of the customer, with country code Example: "+91-9023456789" - `dob` (string) The date of birth of the customer Example: "29-11-2003" - `nationality` (string) The nationality of the customer Example: "IND" - `address` (string) The street address of the customer. Example: "123 Main St" - `city` (string) The city where the customer is located. Example: "Anytown" - `state` (string) The state where the customer is located. Example: "Anystate" - `country` (string) The country where the customer is located. Country should be sent as a [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) code. Example: "IND" - `pincode` (string) The postal code/pincode of the customer's address. [List of countries where pincode is mandatory](/api-documentation/countries#countries-requiring-pincode) are listed here. Example: "560048" - `status` (string) The status of the customer. Example: "active" - `created_at` (string) Timestamp representing when the customer was created Example: "2021-06-01T12:00:00Z" - `updated_at` (string) Timestamp representing when the customer was last updated Example: "2021-06-01T12:00:00Z" ## Response 400 fields