Early bird discounts live! Claim your offer

subscription.upgraded

Subscriber moved to a higher-priced plan.

When this fires

A subscriber switches to a higher-priced plan. Pro-ration is applied through the provider where supported.

Required ability

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

Payload

{
  "id": "evt_01HX...",
  "type": "subscription.upgraded",
  "created_at": "2026-05-22T10:05:00Z",
  "api_version": "2026-05-01",
  "project_id": "prj_01HX...",
  "data": {
    "subscription_id": "sub_01HX...",
    "subscriber_id": "usr_01HX...",
    "from_plan_id": "pln_01HX_basic",
    "to_plan_id": "pln_01HX_premium",
    "proration_amount": "12.50"
  }
}

Field reference

FieldTypeNotes
idstring ULIDUnique event id, prefixed evt_. Use for idempotent processing.
typestringAlways subscription.upgraded for this event.
created_atISO 8601 timestampServer-side emission time.
api_versionstringWebhook API contract version.
project_idstring ULIDProject this event belongs to.
data.subscription_idstring ULIDSubscription identifier.
data.subscriber_idstring ULIDSubscriber's project-scoped user id.
data.from_plan_idstring ULIDPlan id the subscription was on prior to the change.
data.to_plan_idstring ULIDPlan id the subscription is now on.
data.proration_amountstringPro-ration amount charged at switch time, in major units, as a string.

Caveats

  • The plan-direction is determined by the price comparison at switch time. Equal-price switches do not emit either upgrade or downgrade.
  • Trial windows do not carry across switches; if the destination plan has a trial it does not start.

How is this guide?

On this page

MemberPass 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