Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 663 Bytes

File metadata and controls

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

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

← All methods · Docs · mailkite.dev