REQ: { "id": "evt_1PnGdIFUCobZzZgnDDfvlXJi", "object": "event", "api_version": "2020-08-27", "created": 1723539792, "data": { "object": { "id": "sub_1Oe3zgFUCobZzZgn5dVseCrV", "object": "subscription", "application": null, "application_fee_percent": null, "automatic_tax": { "enabled": false, "liability": null }, "billing_cycle_anchor": 1706569920, "billing_cycle_anchor_config": null, "billing_thresholds": null, "cancel_at": null, "cancel_at_period_end": false, "canceled_at": 1723539792, "cancellation_details": { "comment": null, "feedback": null, "reason": "cancellation_requested" }, "collection_method": "charge_automatically", "created": 1706569920, "currency": "eur", "current_period_end": 1714432320, "current_period_start": 1706569920, "customer": "cus_PSzzJZxr9284su", "days_until_due": null, "default_payment_method": null, "default_source": null, "default_tax_rates": [ ], "description": null, "discount": null, "discounts": [ ], "ended_at": 1723539792, "invoice_settings": { "account_tax_ids": null, "issuer": { "type": "self" } }, "items": { "object": "list", "data": [ { "id": "si_PSzz0IUXw4C8Vr", "object": "subscription_item", "billing_thresholds": null, "created": 1706569920, "discounts": [ ], "metadata": { }, "plan": { "id": "price_1MbSfdFUCobZzZgneVs8KDf6", "object": "plan", "active": true, "aggregate_usage": null, "amount": 5391, "amount_decimal": "5391", "billing_scheme": "per_unit", "created": 1676397121, "currency": "eur", "interval": "month", "interval_count": 3, "livemode": true, "metadata": { }, "meter": null, "nickname": null, "product": "prod_NMAkRQCPD8LZLw", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "price": { "id": "price_1MbSfdFUCobZzZgneVs8KDf6", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1676397121, "currency": "eur", "custom_unit_amount": null, "livemode": true, "lookup_key": null, "metadata": { }, "nickname": null, "product": "prod_NMAkRQCPD8LZLw", "recurring": { "aggregate_usage": null, "interval": "month", "interval_count": 3, "meter": null, "trial_period_days": null, "usage_type": "licensed" }, "tax_behavior": "exclusive", "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 5391, "unit_amount_decimal": "5391" }, "quantity": 1, "subscription": "sub_1Oe3zgFUCobZzZgn5dVseCrV", "tax_rates": [ ] } ], "has_more": false, "total_count": 1, "url": "/v1/subscription_items?subscription=sub_1Oe3zgFUCobZzZgn5dVseCrV" }, "latest_invoice": "in_1Oe3zgFUCobZzZgnHSx2bCxf", "livemode": true, "metadata": { "tr_sid": "ffd9c905b1589efffbfc7f5bec63c5e62f78bb20", "tr_aid": "keyword", "tr_cid": "asrstr1fr", "tr_iid": "discount" }, "next_pending_invoice_item_invoice": null, "on_behalf_of": null, "pause_collection": { "behavior": "void", "resumes_at": 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_1MbSfdFUCobZzZgneVs8KDf6", "object": "plan", "active": true, "aggregate_usage": null, "amount": 5391, "amount_decimal": "5391", "billing_scheme": "per_unit", "created": 1676397121, "currency": "eur", "interval": "month", "interval_count": 3, "livemode": true, "metadata": { }, "meter": null, "nickname": null, "product": "prod_NMAkRQCPD8LZLw", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "quantity": 1, "schedule": null, "start_date": 1706569920, "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": "req_cpRuAJx9K5grs6", "idempotency_key": null }, "type": "customer.subscription.deleted" } REQ: { "id": "evt_1PnJkRFUCobZzZgn6ENSe8XB", "object": "event", "api_version": "2020-08-27", "created": 1723551767, "data": { "object": { "id": "sub_1ONbKqFUCobZzZgnZXSvYqen", "object": "subscription", "application": null, "application_fee_percent": null, "automatic_tax": { "enabled": false, "liability": null }, "billing_cycle_anchor": 1702646507, "billing_cycle_anchor_config": null, "billing_thresholds": null, "cancel_at": null, "cancel_at_period_end": false, "canceled_at": 1723551766, "cancellation_details": { "comment": null, "feedback": null, "reason": "cancellation_requested" }, "collection_method": "charge_automatically", "created": 1702646507, "currency": "usd", "current_period_end": 1718457707, "current_period_start": 1710508907, "customer": "cus_PBzJckMaAFsx2x", "days_until_due": null, "default_payment_method": null, "default_source": null, "default_tax_rates": [ ], "description": null, "discount": { "id": "di_1ONbKqFUCobZzZgnsv3CAGnf", "object": "discount", "checkout_session": null, "coupon": { "id": "Agent10", "object": "coupon", "amount_off": null, "created": 1693943845, "currency": null, "duration": "forever", "duration_in_months": null, "livemode": true, "max_redemptions": null, "metadata": { }, "name": "Agent 10%", "percent_off": 10.0, "redeem_by": null, "times_redeemed": 1747, "valid": true }, "customer": "cus_PBzJckMaAFsx2x", "end": null, "invoice": null, "invoice_item": null, "promotion_code": null, "start": 1702646507, "subscription": "sub_1ONbKqFUCobZzZgnZXSvYqen", "subscription_item": null }, "discounts": [ "di_1ONbKqFUCobZzZgnsv3CAGnf" ], "ended_at": 1723551766, "invoice_settings": { "account_tax_ids": null, "issuer": { "type": "self" } }, "items": { "object": "list", "data": [ { "id": "si_PBzJYAY4Ygc8WH", "object": "subscription_item", "billing_thresholds": null, "created": 1702646508, "discounts": [ ], "metadata": { }, "plan": { "id": "price_1N1DZjFUCobZzZgnEGBQjcld", "object": "plan", "active": true, "aggregate_usage": null, "amount": 4035, "amount_decimal": "4035", "billing_scheme": "per_unit", "created": 1682535623, "currency": "usd", "interval": "month", "interval_count": 3, "livemode": true, "metadata": { }, "meter": null, "nickname": null, "product": "prod_NMAkRQCPD8LZLw", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "price": { "id": "price_1N1DZjFUCobZzZgnEGBQjcld", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1682535623, "currency": "usd", "custom_unit_amount": null, "livemode": true, "lookup_key": null, "metadata": { }, "nickname": null, "product": "prod_NMAkRQCPD8LZLw", "recurring": { "aggregate_usage": null, "interval": "month", "interval_count": 3, "meter": null, "trial_period_days": null, "usage_type": "licensed" }, "tax_behavior": "exclusive", "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 4035, "unit_amount_decimal": "4035" }, "quantity": 1, "subscription": "sub_1ONbKqFUCobZzZgnZXSvYqen", "tax_rates": [ ] } ], "has_more": false, "total_count": 1, "url": "/v1/subscription_items?subscription=sub_1ONbKqFUCobZzZgnZXSvYqen" }, "latest_invoice": "in_1OuahrFUCobZzZgnBMyRO3yO", "livemode": true, "metadata": { "tr_sid": "10;Agent10", "tr_aid": "asr:naomi@advancedsystemrepair.com", "tr_iid": "discount" }, "next_pending_invoice_item_invoice": null, "on_behalf_of": null, "pause_collection": { "behavior": "void", "resumes_at": 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_1N1DZjFUCobZzZgnEGBQjcld", "object": "plan", "active": true, "aggregate_usage": null, "amount": 4035, "amount_decimal": "4035", "billing_scheme": "per_unit", "created": 1682535623, "currency": "usd", "interval": "month", "interval_count": 3, "livemode": true, "metadata": { }, "meter": null, "nickname": null, "product": "prod_NMAkRQCPD8LZLw", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "quantity": 1, "schedule": null, "start_date": 1702646507, "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": "req_8BCUHbY5dltDxk", "idempotency_key": null }, "type": "customer.subscription.deleted" }