A membership represents a user's ownership to an Access Pass. It will store pertinent info such as who the user is, when it will expire or renew, it's current status, billing info, and more. This is the centerpiece of a user's access your experiences.

{
  "id": "mem_*************",
  "created_at": "2022-09-05T06:54:38.455+02:00",
  "access_pass": "pass_*************",
  "user": "user_*************",
  "plan": "plan_*************",
  "status": "completed",
  "license_key": "{\"p\":\"09NOYiKBzV091L65lOU/RU0AE1Nvd9I28w==\",\"h\":{\"iv\":\"LiTZ3nJbSte0e1De\",\"at\":\"9qmXdLhu8vOVQwTAvWWHEA==\"}}",
  "metadata": {
    "hwid": "00000000-0000-0000-0000-000000000000"
  },
  "valid": true,
  "quantity": 1,
  "renewal_period_start": null,
  "renewal_period_end": null,
  "wallet_address": null,
  "custom_fields_responses": {},
  "discord": {
    "id": "1016000003905190982",
    "username": "username405572"
  },
  "email": "[email protected]",
  "stripe_customer_id": "cus_**********"
}
Membership StatusDescription
DraftedFound on renewal, expiration, and lifetime memberships. This status means a membership has been initialized, but the user has not completed their payment.
TrialingFound on renewal memberships. This status means a membership has been initialized, and the user is currently using free-trial days.
ActiveFound on renewal memberships. This status means a membership has been paid for and is in good standing.
Past DueFound on renewal, expiration, and lifetime memberships. This status means a membership has been initialized, but the user has not completed their payment.
CompletedFound on expiration and lifetime memberships. This status means a membership has been paid for and is in good standing.
CanceledFound on renewal memberships. This status means a membership is currently not active/has ended and the user no longer has access.
ExpiredFound on expiration memberships. This status means a membership has ended and the user no longer has access.
unresolvedFound on renewal, expiration, and lifetime memberships. This status means a membership has a payment pending (but they do not have access yet).