Docs / built-apps / RegistrantContact

RegistrantContact

typesince 0.3.1not for built apps

WHOIS registrant contact for a domain purchase — registrar-validated formats (P0-163).

import type { RegistrantContact } from 'flowstack-sdk'

The registrant block inside PurchaseDomainRequest. These fields go to the registrar (Route 53) as the domain's WHOIS contact, so formats are strictly validated — bad data fails the registration step after payment.

Signature

interface RegistrantContact

Returns

FieldTypeDescription
first_namestringRegistrant first name.
last_namestringRegistrant last name.
emailstringContact email — receives registrar verification mail; must be real.
phonestringE.164 format, e.g. +12125551234.
address_line1stringStreet address.
citystringCity.
statestring2-char code for US addresses (e.g. NY); full name otherwise.
zip_codestringPostal code.
country_codestring2-char ISO 3166 code, e.g. US.
WarningValidation failures here surface AFTER payment (registration fires from the webhook) — validate phone (E.164) and country_code (ISO 3166 alpha-2) client-side before calling purchaseDomain.

See also

PurchaseDomainRequest · purchaseDomain · searchDomains

Source: src/types/index.ts (Domain Registrar, P0-163) · Also available in llms-full.txt and registry.json.