API Example

<?php
 
$url =		""; // The URL to your panel
$passphrase =	"";  // The passphrase defined in Settings > Billing

$postdata = array(
	'passphrase' => $passphrase, 
	'action' => 'unsuspend',
 	'idtype' => 'direct', 
	"customerid"  => '1'
); 

$ch = curl_init(rtrim($url, "/")."/billing/mb/index.php"); 
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);       
curl_close($ch); 

echo $output; 
  
?>




(wiki tools)
Personal tools
Views
Actions




Need help? Chat with us!