Registering a Domain Name

Synopsis

DescriptionA command for registering a domain name.
URLhttps://toolkit.centralnic.com/srv/register
HTTP MethodPOST
Requires Authentication?Yes
Requires SSL?Yes
 
Query Parameters:
testThe test flag (eg 1 or 0, optional)
userYour Registrar ID (eg H12345)
passwordYour Toolkit Password
domainThe domain prefix (eg example)
suffixThe domain suffix (eg uk.com)
chandleThe Registrant
ahandleThe Administrative Contact (optional)
thandleThe Technical Contact
bhandleThe Billing Contact (optional)
periodThe registration period (optional)
dns[]The DNS server information (optional, multiple)

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

Response Format

Responses from the server will have the form

Transaction-ID: e2ca01ad7135e787a5e97ad5b421ed74
Status: 0
Message: Registration successfully completed
domain: example
suffix: uk.com
chandle: H12345
ahandle: H12345
thandle: H12345
bhandle: H12345
registrar: 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 registrant parameter is a legacy parameter and contains the name and company of the domain's registrant.

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

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

Legacy Parameters

Prior to September 2006, the chandle and thandle parameters could contain new contact 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. These fields could also accept a string such as "chandle=thandle" or "chandle=thandle", but this usage is also deprecated.

This command also once accepted a registrant parameter, which was used to set the registrant of the domain name. At the time, the registrant was represented as a text string containing the registrant's name. This representation is now deprecated, and the chandle parameter is now used for the registrant of a domain name. If this parameter is set in your request, it will be ignored.