Skip to Content
WebhooksMembership pass

Membership pass webhook object

This object appears inside data.object for the occurrences listed below. Field definitions and the synthetic example come from the shared webhook contract.

All amounts are NOK in øre. Dates use ISO 8601 UTC and unavailable values are null.

Delivered by membership.purchased, membership.refunded.

Resource fields

FieldTypeMeaning
statusstringactive or refunded. Expiry is not a status — compare valid_until.
membership_idstringThe membership scheme, e.g. "Medlemskap 2026".
order_idstring | nullThe order that paid for this pass. Null when the organisation handed the membership out for free from their dashboard — there is no order, no receipt and no payment behind it.
issued_reasonstring | nullWhy the organisation gave the membership away, in their own words (e.g. "æresmedlem"). Set only on a pass with no order_id, and what stands in for the receipt on one.
activation_modestringauto (valid from purchase) or manual (valid from the scan that activates it).
single_usebooleanA single-use pass, consumed by the scan that activates it.
activated_atstring | nullNull on a manual pass nobody has activated yet.
valid_fromstring | nullStart of the validity window.
valid_untilstring | nullEnd of the validity window. Null when the pass never expires, or is not activated yet. Expire locally from this rather than waiting for us to tell you.
amount_paidnumber | nullWhat the member paid, in øre.
currencystring | nullISO 4217, lower case.
purchased_atstringWhen the pass was minted.

Member

These fields live inside member.

FieldTypeMeaning
idstring | nullStable identifier for the member, per_…. Never changes, even when they change their email, so it is the field to match on. Unique to your organisation.
emailstring | nullLower-cased email the member bought under. Can change over time: match on id, keep this for contact.
first_namestring | nullGiven name.
last_namestring | nullFamily name.

Membership type

These fields live inside membership_type.

FieldTypeMeaning
idstringThe tier that was bought.
namestring | nullTier name as it read at purchase.

Identifiers and integration metadata

FieldTypeMeaning
idstringStello identifier for the pass. Immutable.
object"membership_pass"Always membership_pass.
org_idstringThe organisation the membership belongs to.

Complete resource example

{
  "id": "ms7d2k9p4x1n6v3b8c5q0w2e",
  "object": "membership_pass",
  "org_id": "j57d2k9p4x1n6v3b8c5q0w2e",
  "status": "active",
  "member": {
    "id": "per_7Kq2Xw9mRb4Tn6Vc",
    "email": "kari.nordmann@stud.ntnu.no",
    "first_name": "Kari",
    "last_name": "Nordmann"
  },
  "membership_id": "mb1d2k9p4x1n6v3b8c5q0w2e",
  "membership_type": {
    "id": "mt3d2k9p4x1n6v3b8c5q0w2e",
    "name": "Ordinært medlemskap"
  },
  "order_id": "m42d2k9p4x1n6v3b8c5q0w2e",
  "issued_reason": null,
  "activation_mode": "auto",
  "single_use": false,
  "activated_at": "2026-08-31T14:22:07.000Z",
  "valid_from": "2026-08-31T14:22:07.000Z",
  "valid_until": "2027-08-31T14:22:07.000Z",
  "amount_paid": 25000,
  "currency": "nok",
  "purchased_at": "2026-08-31T14:22:07.000Z"
}

Envelope reference · Event catalogue