domains_purchaseNewDomainV1
Purchase and register a new domain name using a catalog item ID. Provide optional payment method, WHOIS contact records, and coupon codes.
Instructions
Purchase and register a new domain name.
If registration fails, login to hPanel and check domain registration status.
If no payment method is provided, your default payment method will be used automatically.
If no WHOIS information is provided, default contact information for that TLD will be used. Before making request, ensure WHOIS information for desired TLD exists in your account.
Some TLDs require additional_details to be provided and these will be validated before completing purchase.
Use this endpoint to register new domains for users.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name | |
| item_id | Yes | Catalog price item ID | |
| payment_method_id | No | Payment method ID, default will be used if not provided | |
| domain_contacts | No | Domain contact information | |
| additional_details | No | Additional registration data, possible values depends on TLD | |
| coupons | No | Discount coupon codes |