Register (buy) a domain on the customer's behalf; provisions mail DNS and adds it to the account in one call. Charges the registrar.
HTTP: POST /api/domains/register
| Field | Type | Required | Description |
|---|---|---|---|
domain |
string | ✓ | |
contact |
object | ✓ | |
years |
integer | ||
dryRun |
boolean |
any
Object res = mk.registerDomain(Map.of("domain", "acme.com", "contact", [object Object], "years", 1));