Documentation Index
Fetch the complete documentation index at: https://docs.name.com/llms.txt
Use this file to discover all available pages before exploring further.
Steps to Refund a Domain
Use this flow to delete eligible domains and security products during the Add Grace Period (AGP) and automatically issue refunds for the associated order items. This endpoint:- Enforces ICANN AGP delete limits
- Applies name.com and reseller-specific refund thresholds
- Supports domain registrations and security product add-ons only
- Is available to select resellers only
Supported Products
Refunds are supported for the below purchase types:registrationwhois_privacy
High-Level Flow
- Use the List Orders or Get Order endpoints to verify refund eligibility and retrieve the order ID and order item ID(s) that can be refunded.
- Request the refund using the Refunds endpoint
Step 1: Check Refund Eligibility (List Orders)
Use the List Orders or Get Order endpoints immediately before attempting a refund to validate eligibility and reduce failed refund attempts. IfisRefundableis true, you can retrieve the orderIDand associated orderItemIdsrequired for the Refunds request.
How to use
- You can filter
listOrdersresults by:domainNamecreateDatetype(e.g.registration,whois_privacy)orderStatus
- Check the
isRefundablefield on each order item. If true, you can initiate a refund via the Refunds endpoint. This field already accounts for ICANN AGP limits, reseller-level thresholds, and Name.com refund policies.
isRefundable is true, eligibility may change between this check and the Refund request (for example, if AGP timing expires or refund thresholds are exceeded).
The Refunds endpoint is the source of truth and may still reject the request.
Step 2: Request a Refund (Refunds Endpoint)
Use the Refunds endpoint to delete the domain(s) and issue refunds for eligible order items.Request Requirements
- Accepts a JSON body with:
orderId(required)orderItemIds(required array, one or more items)
- Only one
orderIdmay be provided per request - Multiple
orderItemIdsare allowed as long as they belong to the same order - Supported product types only:
registrationwhois_privacy
- If WHOIS privacy was purchased on a domain and the domain is refunded, both will be refunded. It can be an explicit or non-explicit request. (you can submit one item id or two item ids)