Returns a specific Membership, using its unique ID. A Membership represents an instance of a User purchasing a Product.
Your API key, which can be found on the Whop Business Dashboard. You must prepend your key with the word 'Bearer', which will look like Bearer ***************************
The ID of the Membership, which will look like mem_*************
, or the license key of the membership.
Whether or not to expand the User, Plan, Product, or Promo Code on the returned Membership(s). Pass an array with each object(s) you want to expand, e.g. [product, plan, user, promo_code]
Retrieve a Membership
Membership model