Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 940 Bytes

File metadata and controls

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

register-domain-response — see the register-domain-response schema.

Example

Object res = mk.registerDomain(Map.of("domain", "acme.com", "contact", Map.of("firstName", "Jane", "lastName", "Doe", "email", "jane@example.com", "phone", "+1.4155551234", "address", "123 Main St", "city", "SF", "zip", "94016", "country", "US"), "years", 1));

← All methods · Docs · mailkite.dev