API: renew_domain
Renewal of an existing domain managed by the registrar TELE3.
Parameters:
- domain - domain name, e.g. tele3.cz or google.com
- period - renewal period in years
Optional attributes:
- test - Boolean value, intended for testing your application
Return codes:
- 1000 OK
- 3000 Your credit is low
- 8000 Not supported TLD - we do not handle domains with this TLD
- 8001 This domain does not belong to your account
- 8011 Premium domain - renew manually in web administration - a premium domain (the price is set by the registry) cannot be renewed via the API; renew it manually in the administration, where the price is shown in advance
- 8900 Unknown error
Example:
<?xml version="1.0" encoding="UTF-8"?>
<api>
<ssid>xGdPffRZ9rzqvQ903JGBe2JouqE8Av</ssid>
<renew_domain test='true'>
<domain>tele3.cz</domain>
<period>1</period>
</renew_domain>
</api>
<?xml version="1.0"?>
<api>
<status code="1000">OK</status>
<credit currency="CZK">100.00</credit>
<renew_domain>
<domain>tele3.cz</domain>
</renew_domain>
</api>