Deletes eligible domains and security products during the Add Grace Period (AGP) and automatically issues refunds for the associated order items.
registration and whois_privacy product types are eligible for refunds.orderItemIds must belong to the specified orderId.Refunds are processed in the following order:
This endpoint supports idempotent requests via the X-Idempotency-Key header. If you retry a request with the same idempotency key, you will receive the same response as the original request. This is useful for safely retrying requests without risk of processing duplicate refunds.
This endpoint is only available to select approved resellers. Contact name.com support to request access.
Authenticate via HTTP Basic with your account username and API token. Examples use an explicit 'Authorization: Basic <base64(username:token)>' header; 'curl -u username:token' is equivalent. For sandbox, append "-test" to your username and use your sandbox token on api.dev.name.com.
A unique string (e.g., a UUID v4) to make the request idempotent. This key ensures that if the request is retried, the operation will not be performed multiple times. Subsequent requests with the same key will return the original result. Idempotency keys are valid for 12 hours.
"083910ef-04e4-4bd1-a0bf-3737fe005ca8"
RefundRequest contains the order ID and array of order item IDs to be refunded.
RefundRequest contains the order and order items to be refunded. Only domain registrations and security products purchased within the Add Grace Period (AGP) are eligible for refunds.
The unique identifier of the order containing the item(s) to be refunded. Use the List Orders endpoint to retrieve order IDs.
123456
An array of order item IDs to be refunded. All items must belong to the specified order. Use the List Orders endpoint to retrieve order item IDs.
1[987654, 987655]Refund processed successfully. The response includes the detailed results for each refunded item.
RefundResponse contains the results of a refund operation, including the individual order item results. Refunds are issued to the original payment method on file. If the original payment method is unavailable, the refund will be credited to the account balance.