member.activated

The 'member.activated' event is triggered when a member activates their membership under a certain subscription that they have been invited to.

{
  "type": "member.activated",
  "id": "evt_hXWF7D1RNfIZPtfH3uANsVti",
  "created": 1650307864,
  "data": {
    "object": {
      "object": "member",
      "id": null,
      "subscription_id": 98,
      "site_id": 1,
      "user_id": 2,
      "address_id": null,
      "invitation_email": "[email protected]",
      "status": "active",
      "subscription": {
        "id": 98,
        "object_id": "sub_1KiJcaBxSl9eyIz5dhTHvf8I",
        "site_id": 1,
        "address_id": null,
        "backdate_start_date": null,
        "billing": "send_invoice",
        "billing_cycle_anchor": "2022-03-28T14:32:40.000000Z",
        "cancel_at": "2022-03-29T14:32:40.000000Z",
        "cancel_at_period_end": 0,
        "canceled_at": "2022-03-28T14:35:57.000000Z",
        "cancel_reason": null,
        "created": "2022-03-28T14:32:40.000000Z",
        "current_period_end": "2022-03-29T14:32:40.000000Z",
        "current_period_start": "2022-03-28T14:32:40.000000Z",
        "days_until_due": 30,
        "ended_at": null,
        "quantity": 1,
        "shipments_remaining": null,
        "source": "Phone",
        "start_date": "2022-03-28T14:32:40.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
      },
      "customer": {
        "object": "customer",
        "id": 2,
        "balance": 0,
        "created": "2021-10-26T15:09:34.000000Z",
        "currency": "cad",
        "default_source": {
          "object": "source",
          "id": 4,
          "object_id": "src_1Kblr4BxSl9eyIz5ftWOZb0M",
          "address_line1_check": "pass",
          "address_zip_check": "pass",
          "brand": "Visa",
          "country": "US",
          "cvc_check": "pass",
          "dynamic_last4": null,
          "exp_month": 1,
          "exp_year": 2024,
          "fingerprint": "wn7CwzJswU8tbs5p",
          "funding": "credit",
          "last4": "4242",
          "name": null,
          "three_d_secure": "optional",
          "tokenization_method": null
        },
        "delinquent": false,
        "display_name": "asdfasdfadfasdfasdasdfdfgdfasdfdfasdfadf",
        "email": "[email protected]",
        "email_confirm": null,
        "first_name": "qe",
        "has_password": 1,
        "language": null,
        "last_name": "qwe",
        "metadata": {
          "pelcro_account_id": "1",
          "pelcro_customer_id": "2",
          "metadata_articles": [
            {
              "activeLabel": "Remove from favorites2"
            },
            {
              "author": "Mark asadfasdfasdaadfasdsfgsdfadfadf"
            }
          ]
        },
        "object_id": "cus_KTovQggjnUJY82",
        "password_last_updated_at": null,
        "phone": "1232133212",
        "phone_confirm": null,
        "salutation": "",
        "title": ""
      }
    }
  }
}

Did this page help you?