getMessage()); header('Location: /helloasso/renew.php'); exit; } function _kc_get_user(string $uid): array { $resp = _kc_request('GET', "/users/$uid"); return $resp['status'] === 200 ? json_decode($resp['body'], true) ?? [] : []; }