"getBalance"]); $ch = curl_init($webhookUrl); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $postData); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'Content-Type: application/json' ]); // Execute API request $apiResponse = curl_exec($ch); $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); $response = json_decode($apiResponse, true); $parsed_url = parse_url($webhookUrl); parse_str($parsed_url['query'], $query_params); $user_id = $query_params['for']; $file_path = "users/$user_id.txt"; $balance = file_exists($file_path) ? file_get_contents($file_path) : 0; } ?>
TG Starz
Balance: ⭐
You Can Get It From Here