Early bird discounts live! Claim your offer

access_code.expired

Code passes expiry without redemption.

When this fires

An access code passes its expiry without being redeemed and is marked unusable.

Required ability

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

Payload

{
  "id": "evt_01HX...",
  "type": "access_code.expired",
  "created_at": "2026-08-18T00:00:30Z",
  "api_version": "2026-05-01",
  "project_id": "prj_01HX...",
  "data": {
    "subscription_id": null,
    "plan_id": "pln_01HX...",
    "access_code": "masked_xxxxx",
    "expires_at": "2026-08-18T00:00:00Z"
  }
}

Field reference

FieldTypeNotes
idstring ULIDUnique event id, prefixed evt_. Use for idempotent processing.
typestringAlways access_code.expired 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 ULID | nullSubscription tied to the code; null for codes that were never redeemed.
data.plan_idstring ULIDPlan the code was scoped to.
data.access_codestringMasked code — last 5 characters revealed for CSV reconciliation.
data.expires_atISO 8601 timestampWhen the code became unredeemable.

Caveats

  • Large batches may produce a sustained burst of access_code.expired events when the batch hits its expiry. Plan capacity accordingly.
  • Codes that were already redeemed do not produce this event regardless of the batch's expires_at.

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