RegistrantContact
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 RegistrantContactReturns
| Field | Type | Description |
|---|---|---|
first_name | string | Registrant first name. |
last_name | string | Registrant last name. |
email | string | Contact email — receives registrar verification mail; must be real. |
phone | string | E.164 format, e.g. +12125551234. |
address_line1 | string | Street address. |
city | string | City. |
state | string | 2-char code for US addresses (e.g. NY); full name otherwise. |
zip_code | string | Postal code. |
country_code | string | 2-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.