Registering a Domain Name

Synopsis

Description:A command for registering a domain name.
URL:https://toolkit.centralnic.com/srv/register
HTTP Method:POST
Requires Authentication?:Yes
Requires SSL?:Yes
 
Query Parameters:
testThe test flag (eg 1 or 0, optional)
userYour Registrar Handle ID
passwordYour encrypted Registrar password
domainThe domain prefix (eg example)
suffixThe domain suffix (eg uk.com)
registrantThe domain registrant
chandleThe Client Handle
thandleThe Technical Handle
periodThe registration period (optional)
urlA URL to forward the domain to (optional)
dns[]The DNS server information (optional, multiple)

This is a method for doing domain registrations with an instant response.

Legacy Parameters

Prior to September 2006, the chandle and thandle parameters could contain new handle data in double colon-separated format. While this parameter format is still supported, its use is not recommended in new client code, and so is not documented here.

Response Format

Responses from the server will have the form

Transaction-ID: e2ca01ad7135e787a5e97ad5b421ed74
Status: 0
Message: Registration successfully completed
domain: example
suffix: uk.com
registrant: Example Company Ltd
chandle: H12345
thandle: H12345
bhandle: H12345
amount: 65.00

A status value of 0 denotes a successful registration. A value of 1 indicates an error, with an optional error message on the Message line.

The chandle, thandle and bhandle fields either confirm the use of an existing handle or identify the handle created.

The amount field indicates the cost of the registration (excluding VAT).