DomaineeDocs

domain_purchase.renewed

Fires after a successful renewal (manual or auto).

Fires when a purchase has been renewed at the registrar — either via an explicit POST /:id/renew call or by the daily auto-renew worker.

The Stripe charge has succeeded, the registrar has confirmed the renewal, and the purchase row's expiresAt has been updated.

Payload

{
  "id": "<event-id>",
  "type": "domain_purchase.renewed",
  "createdAt": "2027-04-17T15:42:11.000Z",
  "data": {
    "purchase": { /* updated purchase row, new expiresAt */ },
    "years": 1,
    "chargedCents": 1518,
    "paymentIntentId": "pi_…"
  }
}

Use it for

  • Sending a "your domain just renewed" email to the end-user
  • Updating your own ledger / invoice / receipt
  • Refreshing the expiry date cached in your dashboard

On this page