ghost
I've added comment and TTL on the create domain function. I've included the code, hope it helps! :) ``` public function create_domain($name = false, $email = false, $comment = false, $ttl = 3600, $records = array(), $showDetails = false) { if (! $email || ! $name ) { return false; } $postData = array ( 'domains' => array ( array ( 'name' => $name, 'emailAddress' => $email, 'ttl' => $ttl, 'comment' => $comment, 'recordsList' => array ( 'records' => $records ) ) ) ); $url = '/domains'; $url .= $showDetails == true ? '?showDetails=true' : ''; $call = $this->makeApiCall ( $url, $postData, 'POST' ); //@todo make callback function to cycle through registered call backs $timeout = time () + self::TIMEOUT; while ( $call ['status'] == 'RUNNING' && $timeout > time () ) { $this->callbacks [] = $call; usleep ( self::SLEEPTIME ); $url = explode ( 'status', $call ['callbackUrl'] ); $url = array_pop ( $url ); $url .= $showDetails == true ? '?showDetails=true' : ''; $call = $this->makeApiCall ( '/status' . $url ); } return $call; } ```