$ch = curl_init('https://api.qiwi.com/partner/bill/v1/bills/' . $billId);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Accept: application/json',
'Authorization: Bearer ' . SECRET_KEY,
));
$res = curl_exec($ch);
$info = json_decode($res, true);