Reseller API

Integrate domain and hosting sales with your project by connecting with all the hard work provided by overmill.

Create New User

Use the example below to create a new hosting user and sync them with 1 of your hosting packages.

				
					//Overmill API URL

$url = 'https://overmill.com/apis/api_create.php';

//Reseller Data
$reseller_account = 'YOUR RESELLER ACCOUNT NUMBER';
$reseller_ip = 'YOUR ASSIGNED IP ADDRESS';
$reseller_login = 'LOGIN FOR YOUR DIRECT ADMIN RESELLER PANEL'; //NOT overmill.com
$reseller_password = 'PASSWORD FOR YOUR DIRECT ADMIN RESELLER PANEL'; //NOT overmill.com

//Your Customer Data
$fname = 'CUSTOMER FIRST NAME'; //REQUIRED
$lname = 'CUSTOMER LAST NAME'; //REQUIRED
$email = 'CUSTOMER EMAIL'; //REQUIRED
$order_id = 'ORDER ID'; //REQUIRED
$phone = 'CUSTOMER PHONE';
$username = 'CUSTOMER LOGIN FOR DIRECT ADMIN'; //YOU NEED TO SET THIS "NO SPECIAL CHARACTERS - LIMIT 16 CHARACTERS"
$domain= 'CUSTOMER DOMAIN NAME'; //YOU NEED TO SET THIS
$password= 'CUSTOMER DIRECT ADMIN PASSWORD'; //YOU NEED TO SET THIS
$package= 'DIRECT ADMIN USER PACKAGE'; //CREATE PACKAGES IN YOUR HOSTING PANEL


//Prepare Arguments
$overmill_data = array(
 'reseller_account'   => $reseller_account,
 'reseller_ip'        => $reseller_ip,
 'reseller_login'     => $reseller_login,
 'reseller_password'  => $reseller_password,
 'fname'              => $fname,
 'lname'              => $lname,
 'email'              => $email,
 'order_id'           => $order_id,
 'phone'              => $phone,
 'username'           => $username,
 'domain'             => $domain,
 'password'	          => $password,
 'package'	          => $package
		);

//POST with PHP Curl
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($overmill_data));
$response = curl_exec($ch); // response will return true or false
return array(
        'result' => 'success',
      );
}

				
			

Change User Password

Use the example below to change a hosting user's password.

				
					//Overmill API URL

$url = 'https://overmill.com/billing/apis/api_change.php';

//Reseller Data
$reseller_account = 'YOUR RESELLER ACCOUNT NUMBER';
$reseller_ip = 'YOUR ASSIGNED IP ADDRESS';
$reseller_login = 'LOGIN FOR YOUR DIRECT ADMIN RESELLER PANEL'; //NOT overmill.com
$reseller_password = 'PASSWORD FOR YOUR DIRECT ADMIN RESELLER PANEL'; //NOT overmill.com

//Your Customer Data
$username = 'CUSTOMER LOGIN FOR DIRECT ADMIN';
$password= 'CUSTOMER NEW PASSWORD';

//Prepare Arguments
$overmill_data = array(
 'reseller_account'   => $reseller_account,
 'reseller_ip'        => $reseller_ip,
 'reseller_login'     => $reseller_login,
 'reseller_password'  => $reseller_password,
 'username'           => $username,
 'password'	          => $password
		);

//POST with PHP Curl
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($overmill_data));
$response = curl_exec($ch); // response will return true or false
return array(
        'result' => 'success',
      );
}

				
			

Add Domain to User Hosting Package

Use the example below to add a domain to a user's hosting account.

IMPORTANT* system will lockout user if their domain limit is exceeded.

				
					//Overmill API URL

$url = 'https://overmill.com/billing/apis/api_add_domain.php';

//Reseller Data
$reseller_account = 'YOUR RESELLER ACCOUNT NUMBER';
$reseller_ip = 'YOUR ASSIGNED IP ADDRESS';
$reseller_login = 'LOGIN FOR YOUR DIRECT ADMIN RESELLER PANEL'; //NOT overmill.com
$reseller_password = 'PASSWORD FOR YOUR DIRECT ADMIN RESELLER PANEL'; //NOT overmill.com

//Your Customer Data
$username = 'CUSTOMER LOGIN FOR DIRECT ADMIN';
$domain = 'CUSTOMER DOMAIN NAME';

//Prepare Arguments
$overmill_data = array(
 'reseller_account'   => $reseller_account,
 'reseller_ip'        => $reseller_ip,
 'reseller_login'     => $reseller_login,
 'reseller_password'  => $reseller_password,
 'username'           => $username,
 'domain'	          => $domain
		);

//POST with PHP Curl
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($overmill_data));
$response = curl_exec($ch); // response will return true or false
return array(
        'result' => 'success',
      );
}

				
			

Suspend A User

Use the example below to suspend a hosting account.

 

				
					//Overmill API URL

$url = 'https://overmill.com/billing/apis/api_suspend.php';

//Reseller Data
$reseller_account = 'YOUR RESELLER ACCOUNT NUMBER';
$reseller_ip = 'YOUR ASSIGNED IP ADDRESS';
$reseller_login = 'LOGIN FOR YOUR DIRECT ADMIN RESELLER PANEL'; //NOT overmill.com
$reseller_password = 'PASSWORD FOR YOUR DIRECT ADMIN RESELLER PANEL'; //NOT overmill.com

//Your Customer Data
$username = 'CUSTOMER LOGIN FOR DIRECT ADMIN';

//Prepare Arguments
$overmill_data = array(
 'reseller_account'   => $reseller_account,
 'reseller_ip'        => $reseller_ip,
 'reseller_login'     => $reseller_login,
 'reseller_password'  => $reseller_password,
 'username'           => $username
		);

//POST with PHP Curl
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($overmill_data));
$response = curl_exec($ch); // response will return true or false
return array(
        'result' => 'success',
      );
}

				
			

Unsuspend A User

Use the example below to suspend a hosting account.

 

				
					//Overmill API URL

$url = 'https://overmill.com/billing/apis/api_unsuspend.php';

//Reseller Data
$reseller_account = 'YOUR RESELLER ACCOUNT NUMBER';
$reseller_ip = 'YOUR ASSIGNED IP ADDRESS';
$reseller_login = 'LOGIN FOR YOUR DIRECT ADMIN RESELLER PANEL'; //NOT overmill.com
$reseller_password = 'PASSWORD FOR YOUR DIRECT ADMIN RESELLER PANEL'; //NOT overmill.com

//Your Customer Data
$username = 'CUSTOMER LOGIN FOR DIRECT ADMIN';

//Prepare Arguments
$overmill_data = array(
 'reseller_account'   => $reseller_account,
 'reseller_ip'        => $reseller_ip,
 'reseller_login'     => $reseller_login,
 'reseller_password'  => $reseller_password,
 'username'           => $username
		);

//POST with PHP Curl
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($overmill_data));
$response = curl_exec($ch); // response will return true or false
return array(
        'result' => 'success',
      );
}

				
			

Selling Domains

There are 2 ways to handle domain management

Overmill Managed

Allow your customers to search domains on your website but the checkout process completes on overmill.com. 

Choosing this method will require your customers to have an overmill account as well and is more suited to affiliates.

Reseller Managed

Sell domains directly on your site via the domain reseller api or using the reseller manager platform.