Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 670 Bytes

File metadata and controls

28 lines (18 loc) · 670 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

Object res = mk.registerDomain(Map.of("domain", "acme.com", "contact", [object Object], "years", 1));

← All methods · Docs · mailkite.dev