# Create a new consumer Creates a new consumer Endpoint: POST /consumers Version: 1.0.0 Security: ApiKeyAuth ## Request fields (application/json): - `consumer_type` (string, required) The type of consumer. Can be either INDIVIDUAL or BUSINESS. Example: "INDIVIDUAL" - `details` (object, required) If consumer_type is INDIVIDUAL, personal_details must be provided. If consumer_type is BUSINESS, company_details must be provided. - `details.first_name` (string) - `details.last_name` (string) - `details.email` (string, required) - `details.phone` (string) Example: "+44123456789" ## Response 201 fields (application/json): - `id` (string, required) Example: "csm_1234abcd" - `merchant_environment_id` (string, required) Example: "env_1234" - `consumer_type` (string, required) Example: "INDIVIDUAL" - `check_status` (string,null) Example: "PENDING" - `check_reference_id` (string,null) Example: "chk_1234abcd" - `created_at` (string, required) - `updated_at` (string, required) ## Response 400 fields (application/json): - `message` (string, required) - `errors` (object, required) ## Response 401 fields ## Response 500 fields