REQ: { "id": "evt_1PlzhlGFzsjrzPXDSpQ83hzx", "object": "event", "api_version": "2022-08-01", "created": 1723236392, "data": { "object": { "id": "sub_1NVgIsGFzsjrzPXDPRSOhuPv", "object": "subscription", "application": null, "application_fee_percent": null, "automatic_tax": { "enabled": false, "liability": null }, "billing_cycle_anchor": 1689795894, "billing_cycle_anchor_config": null, "billing_thresholds": null, "cancel_at": null, "cancel_at_period_end": false, "canceled_at": 1723236392, "cancellation_details": { "comment": null, "feedback": null, "reason": "payment_failed" }, "collection_method": "charge_automatically", "created": 1689795894, "currency": "usd", "current_period_end": 1752954294, "current_period_start": 1721418294, "customer": "cus_OIGqN3TmDH6JIm", "days_until_due": null, "default_payment_method": null, "default_source": null, "default_tax_rates": [ ], "description": null, "discount": null, "discounts": [ ], "ended_at": 1723236392, "invoice_settings": { "account_tax_ids": null, "issuer": { "type": "self" } }, "items": { "object": "list", "data": [ { "id": "si_OIGqIdhWNY8weV", "object": "subscription_item", "billing_thresholds": null, "created": 1689795895, "discounts": [ ], "metadata": { }, "plan": { "id": "price_1NT8V2GFzsjrzPXDLZPz8lZq", "object": "plan", "active": true, "aggregate_usage": null, "amount": 70, "amount_decimal": "70", "billing_scheme": "per_unit", "created": 1689189296, "currency": "usd", "interval": "year", "interval_count": 1, "livemode": true, "metadata": { }, "meter": null, "nickname": null, "product": "prod_OEsUf019vY4fI0", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "price": { "id": "price_1NT8V2GFzsjrzPXDLZPz8lZq", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1689189296, "currency": "usd", "custom_unit_amount": null, "livemode": true, "lookup_key": null, "metadata": { }, "nickname": null, "product": "prod_OEsUf019vY4fI0", "recurring": { "aggregate_usage": null, "interval": "year", "interval_count": 1, "meter": null, "trial_period_days": null, "usage_type": "licensed" }, "tax_behavior": "exclusive", "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 70, "unit_amount_decimal": "70" }, "quantity": 1, "subscription": "sub_1NVgIsGFzsjrzPXDPRSOhuPv", "tax_rates": [ ] } ], "has_more": false, "total_count": 1, "url": "/v1/subscription_items?subscription=sub_1NVgIsGFzsjrzPXDPRSOhuPv" }, "latest_invoice": "in_1PeMklGFzsjrzPXDzJSqbRIx", "livemode": true, "metadata": { "tr_sid": "9054a84676033ab87f8952e8bdb2c1bebc29a720" }, "next_pending_invoice_item_invoice": null, "on_behalf_of": null, "pause_collection": null, "payment_settings": { "payment_method_options": null, "payment_method_types": [ "card" ], "save_default_payment_method": "off" }, "pending_invoice_item_interval": null, "pending_setup_intent": null, "pending_update": null, "plan": { "id": "price_1NT8V2GFzsjrzPXDLZPz8lZq", "object": "plan", "active": true, "aggregate_usage": null, "amount": 70, "amount_decimal": "70", "billing_scheme": "per_unit", "created": 1689189296, "currency": "usd", "interval": "year", "interval_count": 1, "livemode": true, "metadata": { }, "meter": null, "nickname": null, "product": "prod_OEsUf019vY4fI0", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "quantity": 1, "schedule": null, "start_date": 1689795894, "status": "canceled", "test_clock": null, "transfer_data": null, "trial_end": null, "trial_settings": { "end_behavior": { "missing_payment_method": "create_invoice" } }, "trial_start": null } }, "livemode": true, "pending_webhooks": 1, "request": { "id": null, "idempotency_key": null }, "type": "customer.subscription.deleted" } REQ: { "id": "evt_1Pm0ylGFzsjrzPXD6C3daUEC", "object": "event", "api_version": "2022-08-01", "created": 1723241291, "data": { "object": { "id": "sub_1NVhZNGFzsjrzPXDSl0pTFhM", "object": "subscription", "application": null, "application_fee_percent": null, "automatic_tax": { "enabled": false, "liability": null }, "billing_cycle_anchor": 1689800761, "billing_cycle_anchor_config": null, "billing_thresholds": null, "cancel_at": null, "cancel_at_period_end": false, "canceled_at": 1723241290, "cancellation_details": { "comment": null, "feedback": null, "reason": "payment_failed" }, "collection_method": "charge_automatically", "created": 1689800761, "currency": "usd", "current_period_end": 1752959161, "current_period_start": 1721423161, "customer": "cus_OII9FpHHsWVoEM", "days_until_due": null, "default_payment_method": null, "default_source": null, "default_tax_rates": [ ], "description": null, "discount": null, "discounts": [ ], "ended_at": 1723241290, "invoice_settings": { "account_tax_ids": null, "issuer": { "type": "self" } }, "items": { "object": "list", "data": [ { "id": "si_OII9dz6tmqbVIZ", "object": "subscription_item", "billing_thresholds": null, "created": 1689800761, "discounts": [ ], "metadata": { }, "plan": { "id": "price_1NT8V2GFzsjrzPXDLZPz8lZq", "object": "plan", "active": true, "aggregate_usage": null, "amount": 70, "amount_decimal": "70", "billing_scheme": "per_unit", "created": 1689189296, "currency": "usd", "interval": "year", "interval_count": 1, "livemode": true, "metadata": { }, "meter": null, "nickname": null, "product": "prod_OEsUf019vY4fI0", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "price": { "id": "price_1NT8V2GFzsjrzPXDLZPz8lZq", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1689189296, "currency": "usd", "custom_unit_amount": null, "livemode": true, "lookup_key": null, "metadata": { }, "nickname": null, "product": "prod_OEsUf019vY4fI0", "recurring": { "aggregate_usage": null, "interval": "year", "interval_count": 1, "meter": null, "trial_period_days": null, "usage_type": "licensed" }, "tax_behavior": "exclusive", "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 70, "unit_amount_decimal": "70" }, "quantity": 1, "subscription": "sub_1NVhZNGFzsjrzPXDSl0pTFhM", "tax_rates": [ ] } ], "has_more": false, "total_count": 1, "url": "/v1/subscription_items?subscription=sub_1NVhZNGFzsjrzPXDSl0pTFhM" }, "latest_invoice": "in_1PeO1HGFzsjrzPXDRLaE9kgl", "livemode": true, "metadata": { }, "next_pending_invoice_item_invoice": null, "on_behalf_of": null, "pause_collection": null, "payment_settings": { "payment_method_options": null, "payment_method_types": [ "card" ], "save_default_payment_method": "off" }, "pending_invoice_item_interval": null, "pending_setup_intent": null, "pending_update": null, "plan": { "id": "price_1NT8V2GFzsjrzPXDLZPz8lZq", "object": "plan", "active": true, "aggregate_usage": null, "amount": 70, "amount_decimal": "70", "billing_scheme": "per_unit", "created": 1689189296, "currency": "usd", "interval": "year", "interval_count": 1, "livemode": true, "metadata": { }, "meter": null, "nickname": null, "product": "prod_OEsUf019vY4fI0", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "quantity": 1, "schedule": null, "start_date": 1689800761, "status": "canceled", "test_clock": null, "transfer_data": null, "trial_end": null, "trial_settings": { "end_behavior": { "missing_payment_method": "create_invoice" } }, "trial_start": null } }, "livemode": true, "pending_webhooks": 1, "request": { "id": null, "idempotency_key": null }, "type": "customer.subscription.deleted" } REQ: { "id": "evt_1Pm12xGFzsjrzPXDNBUwBQ2M", "object": "event", "api_version": "2022-08-01", "created": 1723241551, "data": { "object": { "id": "sub_1NVheKGFzsjrzPXD5TpxgOsP", "object": "subscription", "application": null, "application_fee_percent": null, "automatic_tax": { "enabled": false, "liability": null }, "billing_cycle_anchor": 1689801068, "billing_cycle_anchor_config": null, "billing_thresholds": null, "cancel_at": null, "cancel_at_period_end": false, "canceled_at": 1723241550, "cancellation_details": { "comment": null, "feedback": null, "reason": "payment_failed" }, "collection_method": "charge_automatically", "created": 1689801068, "currency": "usd", "current_period_end": 1752959468, "current_period_start": 1721423468, "customer": "cus_OIIEpceOGpaKBy", "days_until_due": null, "default_payment_method": null, "default_source": null, "default_tax_rates": [ ], "description": null, "discount": null, "discounts": [ ], "ended_at": 1723241550, "invoice_settings": { "account_tax_ids": null, "issuer": { "type": "self" } }, "items": { "object": "list", "data": [ { "id": "si_OIIEg0AfLrd9l1", "object": "subscription_item", "billing_thresholds": null, "created": 1689801069, "discounts": [ ], "metadata": { }, "plan": { "id": "price_1NT8V2GFzsjrzPXDLZPz8lZq", "object": "plan", "active": true, "aggregate_usage": null, "amount": 70, "amount_decimal": "70", "billing_scheme": "per_unit", "created": 1689189296, "currency": "usd", "interval": "year", "interval_count": 1, "livemode": true, "metadata": { }, "meter": null, "nickname": null, "product": "prod_OEsUf019vY4fI0", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "price": { "id": "price_1NT8V2GFzsjrzPXDLZPz8lZq", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1689189296, "currency": "usd", "custom_unit_amount": null, "livemode": true, "lookup_key": null, "metadata": { }, "nickname": null, "product": "prod_OEsUf019vY4fI0", "recurring": { "aggregate_usage": null, "interval": "year", "interval_count": 1, "meter": null, "trial_period_days": null, "usage_type": "licensed" }, "tax_behavior": "exclusive", "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 70, "unit_amount_decimal": "70" }, "quantity": 1, "subscription": "sub_1NVheKGFzsjrzPXD5TpxgOsP", "tax_rates": [ ] } ], "has_more": false, "total_count": 1, "url": "/v1/subscription_items?subscription=sub_1NVheKGFzsjrzPXD5TpxgOsP" }, "latest_invoice": "in_1PeO6AGFzsjrzPXDTa5rJTUD", "livemode": true, "metadata": { "tr_sid": "b67a9cac10aa91f2bffe18e48316fbc59b39d94a" }, "next_pending_invoice_item_invoice": null, "on_behalf_of": null, "pause_collection": null, "payment_settings": { "payment_method_options": null, "payment_method_types": [ "card" ], "save_default_payment_method": "off" }, "pending_invoice_item_interval": null, "pending_setup_intent": null, "pending_update": null, "plan": { "id": "price_1NT8V2GFzsjrzPXDLZPz8lZq", "object": "plan", "active": true, "aggregate_usage": null, "amount": 70, "amount_decimal": "70", "billing_scheme": "per_unit", "created": 1689189296, "currency": "usd", "interval": "year", "interval_count": 1, "livemode": true, "metadata": { }, "meter": null, "nickname": null, "product": "prod_OEsUf019vY4fI0", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "quantity": 1, "schedule": null, "start_date": 1689801068, "status": "canceled", "test_clock": null, "transfer_data": null, "trial_end": null, "trial_settings": { "end_behavior": { "missing_payment_method": "create_invoice" } }, "trial_start": null } }, "livemode": true, "pending_webhooks": 1, "request": { "id": null, "idempotency_key": null }, "type": "customer.subscription.deleted" }