member.deleted

The member.deleted webhook gets triggered once a member is removed from a membership subscription.

{
  "type": "member.deleted",
  "id": "evt_kfDV9hindZTL6pEnFXxcX4rN",
  "created": 1676625707,
  "triggered_from": "open_api",
  "data": {
    "object": {
      "object": "member",
      "id": 68,
      "subscription_id": 132,
      "site_id": 1,
      "user_id": 970,
      "address_id": null,
      "invitation_email": "[email protected]",
      "status": "active",
      "subscription": {
        "id": 132,
        "object_id": "sub_1MZZkcEBkl6mIQi7IoLa2PLw",
        "site_id": 1,
        "address_id": 147,
        "backdate_start_date": null,
        "billing": "send_invoice",
        "billing_cycle_anchor": "2023-02-16T23:59:59.000000Z",
        "cancel_at": "2024-02-16T23:59:59.000000Z",
        "cancel_at_period_end": 0,
        "canceled_at": "2023-02-16T23:59:59.000000Z",
        "canceled_by_email": null,
        "canceled_by_type": null,
        "cancel_reason": null,
        "created": "2023-02-09T13:01:22.000000Z",
        "current_period_end": "2024-02-16T23:59:59.000000Z",
        "current_period_start": "2023-02-16T23:59:59.000000Z",
        "days_until_due": 30,
        "ended_at": null,
        "quantity": 1,
        "shipments_remaining": null,
        "source": "Phone",
        "start_date": "2023-02-09T13:01:22.000000Z",
        "status": "active",
        "trial_end": null,
        "trial_start": null,
        "shipments_undeliverable": false,
        "shipments_suspended_until": null,
        "is_gift_donor": null,
        "is_gift_recipient": null,
        "gift_code": null,
        "is_redeemed": null,
        "gift_recipient_email": null,
        "gift_recipient_first_name": null,
        "gift_recipient_last_name": null,
        "gift_notification_sent": 0,
        "gift_start_date": null,
        "gift_message": null,
        "gift_donor_subscription_id": null,
        "agency_id": null
      },
      "plan": {
        "object": "plan",
        "id": 4,
        "object_id": "plan_MeHprt7J7WiDNr",
        "active": "active",
        "amount": 12000,
        "currency": "cad",
        "domains": null,
        "entitlements": null,
        "group_owner_plan_id": null,
        "interval": "year",
        "interval_count": 1,
        "nickname": "120.00$ / 1 year",
        "name_internal": null,
        "type": "regular",
        "member_seat_capacity": null,
        "trial_period_days": 0,
        "ip_addresses": null,
        "auto_renew": true,
        "shipments_per_interval": 12,
        "product": {
          "object": "product",
          "id": 2,
          "object_id": "prod_MeHpTkUIS4pCpE",
          "type": "service",
          "active": "active",
          "address_required": true,
          "description": null,
          "entitlements": null,
          "livemode": false,
          "is_hidden": null,
          "name": "Agency - Print",
          "name_internal": null,
          "package_dimensions": null,
          "shippable": null,
          "statement_descriptor": null,
          "unit_label": null
        }
      },
      "customer": {
        "object": "customer",
        "id": 970,
        "balance": 0,
        "created": "2023-02-15T10:07:49.000000Z",
        "currency": null,
        "default_source": null,
        "delinquent": false,
        "display_name": null,
        "email": "[email protected]",
        "email_confirm": null,
        "email_hardbounce": false,
        "first_name": "A",
        "has_password": 1,
        "language": "en",
        "last_login_method": "email",
        "last_name": "W",
        "metadata": null,
        "object_id": "cus_NMQlH1jahdLo2Z",
        "organization": null,
        "password_last_updated_at": null,
        "phone": null,
        "phone_confirm": null,
        "salutation": null,
        "title": null,
        "username": null
      }
    }
  }
}