// Список номеров
$del = file('del.txt', FILE_IGNORE_NEW_LINES);
// google_code, который обновляется каждых 30 сек.
$code = @file_get_contents('google_code.txt');
// Отправляем GET запрос
foreach($del as $urlsItem){
file('https://site.com/api/v1/cancel/?api_key=test&code='.$code.'&buy_order_id='.$urlsItem);
}