🤖What kind of information does the Custom Api Webhook contain

With the custom api webhook you can receive the following information to your 3rd party tools:

  • “id”: @membership.tag

  • “email”: @membership.user&.email || @membership.guest_email

  • “license_key”: @membership.license_key

  • “valid”: @membership.valid_membership?

  • “subscription_status”: @membership.status

  • “quantity”: @membership.quantity

  • “metadata”: @membership.metadata

  • “next_renewal_date”: @membership.expires_at.presence || @membership.renewal_period_end,

  • “created_at”: @membership.created_at

  • “discord”: @membership.user&.discord.try(:friendly_form)

  • “twitter”: @membership.user&.twitter_account&.username

  • “plan”: { “id”: @membership.plan.id

  • “access_pass”: @membership.plan.internal_notes

  • “initial_price”: @membership.plan.initial_price

  • “renewal_price”: @membership.plan.renewal_price

  • “billing_period”: @membership.plan.billing_period

  • “license_type”: @membership.plan.plan_type

Last updated