Renew Domain - renew domain

Renews a .cz, .eu, or generic domain.

The current expiration date must be provided in the parameters to prevent accidental renewals.

The domain will be renewed immediately. The payment will be deducted from the credit balance.

If the domain has a redirect service associated with it and the redirect has the same expiration date, the redirect service will also be renewed. The payment will be deducted from the credit balance.

Providing the terminate-redirect parameter allows the redirect service associated with the domain to be terminated. In this case, only the domain renewal fee will be charged.

<?php
$result = $client->sendCommand("renew domain",array(
    "domain" =>               "example.hu",
    "current-expiration" =>   "2008-01-01",
    "period" =>               "1"
));
?>
 
<?php
$result = $client->sendCommand("renew domain",array(
    "domain" =>               "example.cz",
    "current-expiration" =>   "2008-01-01",
    "period" =>               "1"
));
?>
 
<?php
$result = $client->sendCommand("renew domain",array(
    "domain" =>               "example.eu",
    "current-expiration" =>   "2007-12-31",
    "period" =>               "1"
));
?>
 
<?php
$result = $client->sendCommand("renew domain",array(
    "domain" =>               "example.com",
    "current-expiration" =>   "2007-12-31",
    "period" =>               "1"
));
?>
 
<?php
$result = $client->sendCommand("renew domain",array(
    "domain" =>               "example.sk",
    "current-expiration" =>   "2007-12-31",
    "period" =>               "1"
));
?>
 
<?php
$result = $client->sendCommand("renew domain",array(
    "domain" =>               "example-with-redirect.cz",
    "current-expiration" =>   "2007-12-31",
    "period" =>               "1",
    "terminate-redirect" =>   true
));
?>