Restore Expired Domain

Restoring an Expired Domain: Handles cases where a domain has entered the registry-level "Redemption Grace Period." The cost uses the distinct logic matrix one_year_restore associated with the TLD schema rather than renewals. This will generate a transaction tag log formatted as domain_restore_api.

Endpoint:POST /{id}/restore

Parameters:

  • id (required, URL parameter): The local internal database ID of the domain to authorize.

Example Request:

curl -X POST "https://umva.net/api/domain/123/restore"
-H "X-API-Key: your_api_key_here"

Success Response Example (HTTP 200):

{
"success": true,
"message": "Domain restored successfully!",
"data": {
"domain": "example.com",
"amount_charged": 120.00,
"new_expiry_date": "2025-10-12",
"status": "active"
}
}

Error Response Example (Insufficient Balance - HTTP 400):

{
"success": false,
"message": "Insufficient USD balance. Required: $120.00, Available: $10.00"
}