domains_purchaseNewDomainV1
Purchase and register a new domain name using a catalog price item ID, with optional coupons, payment method, and WHOIS contact information.
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 | |
| coupons | No | Discount coupon codes | |
| item_id | Yes | Catalog price item ID | |
| domain_contacts | No | Domain contact information | |
| payment_method_id | No | Payment method ID, default will be used if not provided | |
| additional_details | No | Additional registration data, possible values depends on TLD |