buy_domain
Initiate domain purchases via Stripe checkout after confirming prices. Collects registrant details to establish legal ownership and generates checkout URLs to complete registration.
Instructions
Start the purchase flow for an available domain via Stripe checkout.
IMPORTANT: Before calling this tool, you MUST first call check_domain to get the price, then clearly show the user the price and get their explicit confirmation before proceeding. Never call buy_domain without the user seeing and approving the price first.
The registrant contact details are required because the domain will be registered in the buyer's name (they become the legal owner). WHOIS privacy is enabled by default, so these details are not publicly visible.
Creates a Stripe checkout session. Returns a checkout URL that the user should open in their browser to complete payment securely via Stripe, plus the order ID for tracking.
Args: domain: The domain to purchase (e.g. "coolstartup.com"). first_name: Registrant's first name. last_name: Registrant's last name. email: Registrant's email address. address1: Registrant's street address. city: Registrant's city. state: Registrant's state or province. postal_code: Registrant's postal/zip code. country: 2-letter ISO country code (e.g. "US", "GB", "DE"). phone: Phone number in format +1.5551234567. org_name: Organization name (optional, leave empty for individuals).
Returns: Dict with order_id, checkout_url, price_cents, and price_display.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | ||
| first_name | Yes | ||
| last_name | Yes | ||
| Yes | |||
| address1 | Yes | ||
| city | Yes | ||
| state | Yes | ||
| postal_code | Yes | ||
| country | Yes | ||
| phone | Yes | ||
| org_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||