Skip to content

Domain.renew

POST /{namespace}/domains/{domain}/renew

Renew extends a Domain’s registration by whole years at its renewal price, paid by its owner of record.

Noun
Domain
Mode
do
Event
Domain.renewed

Inputs

InputTypeRequiredDescription
domainDomainrequiredThe Domain to renew.
yearsintegerYears to add. Defaults to the Domain’s tier in the renewal Setting.

Outputs

OutputTypeRequiredDescription
domainDomainrequiredThe Domain, with its new expiresAt.

Effects

  • Emits Domain.renewed.
  • Performed by the Treasurer.
  • One-way (money): it waits out its delay window, and runs in the send and do modes.
  • Runs inside the tier’s renewal window: 90 days for a canonical Domain, 60 for others.
  • Keeps renewing while the Startup is Dormant, because Domain renewal never stops.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.Domain.renew

When it waits

GateDefault
Decision classMedium: one-way, bounded (money)
Delay window1 business hour, in which a watcher can pause, redirect or cancel it; then it runs.
LimitThe spend Limit of the Permission or Mandate it runs under.
Over the LimitIt waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled.