Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 673 Bytes

File metadata and controls

32 lines (22 loc) · 673 Bytes

registerDomain

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

Parameters

Field Type Required Description
domain string
contact object
years integer
dryRun boolean

Returns

any

Example

res = mk.registerDomain({
    "domain": "acme.com",
    "contact": [object Object],
    "years": 1,
})

← All methods · Docs · mailkite.dev