Registers a new domain. Creates the order, bills the reseller, and initiates registration with the registrar.
The contacts field must contain at least the Registrant contact (unless the group has a default contact configured).
Reseller email address registered in WHMCS
HMAC-SHA256 authentication token.
PHP formula: base64_encode(hash_hmac('sha256', $apiKey, $email . ':' . gmdate('y-m-d H')))
Important: hash_hmac without the 3rd parameter true (returns hex, not binary), then base64_encode of the hex result. The token is 88 characters long.
An optional timestamp header (Unix timestamp, 60-second tolerance) can be sent to synchronize time.
"YTk4YjRmNjI..."
Full domain name to register
"example.com"
Registration period in years
1
WHOIS contacts. Keys: Registrant (required), Admin, Tech, Billing. Each value is a key-value object of contact fields.
Domain addons. Each key is an addon name, value is a boolean indicating whether it is enabled.
TLD-specific additional fields, encoded as base64(serialize(array))
Language code for IDN domains
Original parameters from the reseller WHMCS (stored for registration)
Success - Returns "success"
The response is of type string.
"success"