renew_domain
Renew a domain by spending account credit. Provide the domain name and matching cost from check_domain to avoid double charges.
Instructions
Spends account credit. Renews an existing domain in the authenticated account. The cost parameter must exactly match the current renewal price returned by check_domain (in cents). The domain must be opted in to API access (per-domain or global toggle in account settings). Domains registered within the last 30 days, or already renewed within the last 30 days, cannot be renewed yet — the API returns RENEWAL_TOO_SOON. Premium domain renewals are not supported via API. Idempotency-safe: retries within 24 hours don't double-charge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name to renew, e.g. `example.com`. Must already be in your account. | |
| cost | Yes | Renewal price in cents. Must match the value returned by `check_domain`. |