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
res = mk.registerDomain({
"domain": "acme.com",
"contact": [object Object],
"years": 1,
})