'reseller', // obtained from https://manage.synergywholesale.com/home/resellers/api 'apiKey' => 'api_key', // obtained from https://manage.synergywholesale.com/home/resellers/api 'domainName' => 'testing-domain-registration-001.com', 'years' => 1, // 1 to 10, depending on TLD, 'command' => 'create' // create, renew or transfer are valid ]; $client = new SOAPClient(null, [ 'location' => 'https://api.synergywholesale.com/server.php', 'uri' => '', ]); $response = $client->checkDomain($data);