Renew Domain
http
POST /domains/{domain}/renew
Renews an active domain at the registrar for its current renewal price, charged to the client’s credit balance. 400 when the domain isn’t active, a renewal is already under way or unpaid, the term would pass the registry’s maximum, or there’s no renewal price; 402 when the balance is too low (same body as Register Domain).
Parameters
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| years | integer | No | 1 | Renewal period (1-10) |
Response
json
{
"message": "Domain renewed.",
"expiry_date": "2028-03-03",
"new_balance": 114.60
}