Early bird discounts live! Claim your offer

plan.deleted

Plan soft-deleted (removed from the catalog).

This is the final event you will receive for the given plan_id.

When this fires

The plan is removed from the project. It is soft-deleted — the row is retained with deleted_at set, so subscription rows that reference it are untouched and continue to honor their existing term. Only deletions made through the REST API (DELETE /api/v1/projects/{project}/plans/{plan}) emit this event; deleting a plan from the creator dashboard does not.

Required ability

project-subscription-plan:view — token must carry this at mint time to subscribe an endpoint to this event.

Payload

{
  "id": "evt_01HX...",
  "type": "plan.deleted",
  "created_at": "2026-05-18T10:05:00Z",
  "api_version": "2026-05-01",
  "project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
  "data": {
    "plan": {
      "id": "c4e82f16-93a7-4d5b-b81c-6e0f27a94d3b",
      "name": "Premium Monthly",
      "price": "29.00",
      "currency_id": "8f27a0d4-63be-4915-8c07-1a5d9e34b628",
      "billing_cycle": "month",
      "active": true
    }
  }
}

Field reference

FieldTypeNotes
idstring ULIDUnique event id, prefixed evt_. Use for idempotent processing.
typestringAlways plan.deleted for this event.
created_atISO 8601 timestampServer-side emission time.
api_versionstringWebhook API contract version.
project_idstring UUIDProject this event belongs to.
data.plan.idstring UUIDPlan identifier.
data.plan.namestringDisplay name.
data.plan.pricestringDecimal amount as a string, e.g. "29.00".
data.plan.currency_idstring UUIDCurrency row id — not an ISO 4217 code.
data.plan.billing_cycleenum: day | week | month | year | lifetimeBilling cadence unit.
data.plan.activebooleanLast-known active flag before deletion.

Caveats

  • Reads of the plan after this event return 404. Existing subscriptions continue to reference the plan id internally.
  • Deleting a plan makes no call to the payment providers. Catalog entries previously created by the plan sync (Stripe prices, PayPal plans, and so on) remain active at the provider and must be archived there manually.

How is this guide?

On this page

Subscriby is a product designed by you — for you.

No boardroom full of executives deciding what we ships next. Our roadmap always shaped by you with your feedback.

Share feedback or a request