```php
<?php

require_once '../../core/api_bootstrap.php';
require_once '../../services/crud_service.php';

$data=Request::post();

Validator::required($data,['city_id','pincode']);

$db=new Database();
$conn=$db->connect();

$crud=new CrudService($conn);

$pincode_id=$crud->create('pincodes',[
'city_id'=>$data['city_id'],
'pincode'=>$data['pincode'],
'area_name'=>$data['area_name'] ?? null,
'status'=>$data['status'] ?? 1
]);

Response::success([
"pincode_id"=>$pincode_id
],"Pincode created");