```php
<?php

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

$data = Request::get();

try {

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

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

$query="

SELECT
verification_status,
rejection_reason,
submitted_at,
verified_at

FROM provider_kyc

WHERE provider_id=:provider_id
LIMIT 1

";

$stmt=$conn->prepare($query);

$stmt->execute([
':provider_id'=>$data['provider_id']
]);

$kyc=$stmt->fetch();

Response::success($kyc);

}
catch(Exception $e){

Logger::log("system.log",$e->getMessage());
Response::error("Server error",500);

}