REQ: { "id": "evt_1SiIdGHrIm3tRwvj2p8Am0jj", "object": "event", "api_version": "2024-06-20", "created": 1766684845, "data": { "object": { "id": "sub_1QZyg0HrIm3tRwvjMfH4EXNM", "object": "subscription", "application": null, "application_fee_percent": null, "automatic_tax": { "disabled_reason": null, "enabled": false, "liability": null }, "billing_cycle_anchor": 1735148840, "billing_cycle_anchor_config": null, "billing_mode": { "flexible": null, "type": "classic" }, "billing_thresholds": null, "cancel_at": null, "cancel_at_period_end": false, "canceled_at": null, "cancellation_details": { "comment": null, "feedback": null, "reason": null }, "collection_method": "charge_automatically", "created": 1735148840, "currency": "usd", "current_period_end": 1769363240, "current_period_start": 1766684840, "customer": "cus_RSuV4NQUU0Uyty", "customer_account": null, "days_until_due": null, "default_payment_method": null, "default_source": null, "default_tax_rates": [], "description": null, "discount": null, "discounts": [], "ended_at": null, "invoice_settings": { "account_tax_ids": null, "issuer": { "type": "self" } }, "items": { "object": "list", "data": [ { "id": "si_RSuVZxGQXhm12e", "object": "subscription_item", "billing_thresholds": null, "created": 1735148841, "current_period_end": 1769363240, "current_period_start": 1766684840, "discounts": [], "metadata": {}, "plan": { "id": "price_1PwdDDHrIm3tRwvjE7kKdylF", "object": "plan", "active": true, "aggregate_usage": null, "amount": 100, "amount_decimal": "100", "billing_scheme": "per_unit", "created": 1725771539, "currency": "usd", "interval": "month", "interval_count": 1, "livemode": true, "metadata": {}, "meter": null, "nickname": "Test Price", "product": "prod_QoFiWyFTaIpX2L", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "price": { "id": "price_1PwdDDHrIm3tRwvjE7kKdylF", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1725771539, "currency": "usd", "custom_unit_amount": null, "livemode": true, "lookup_key": null, "metadata": {}, "nickname": "Test Price", "product": "prod_QoFiWyFTaIpX2L", "recurring": { "aggregate_usage": null, "interval": "month", "interval_count": 1, "meter": null, "trial_period_days": null, "usage_type": "licensed" }, "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 100, "unit_amount_decimal": "100" }, "quantity": 1, "subscription": "sub_1QZyg0HrIm3tRwvjMfH4EXNM", "tax_rates": [] } ], "has_more": false, "total_count": 1, "url": "/v1/subscription_items?subscription=sub_1QZyg0HrIm3tRwvjMfH4EXNM" }, "latest_invoice": "in_1SiIdFHrIm3tRwvjV8ZYqrYp", "livemode": true, "metadata": { "tr_sid": "nfcl4fbe523d4f40ea49ebea2599beb3", "tr_tid": "erpgae4", "tr_pid": "%26%26%26%26%26", "tr_cid": "asrstr2500", "tr_aid": "affj" }, "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_1PwdDDHrIm3tRwvjE7kKdylF", "object": "plan", "active": true, "aggregate_usage": null, "amount": 100, "amount_decimal": "100", "billing_scheme": "per_unit", "created": 1725771539, "currency": "usd", "interval": "month", "interval_count": 1, "livemode": true, "metadata": {}, "meter": null, "nickname": "Test Price", "product": "prod_QoFiWyFTaIpX2L", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "quantity": 1, "schedule": null, "start_date": 1735148840, "status": "past_due", "test_clock": null, "transfer_data": null, "trial_end": null, "trial_settings": { "end_behavior": { "missing_payment_method": "create_invoice" } }, "trial_start": null }, "previous_attributes": { "current_period_end": 1766684840, "current_period_start": 1764092840, "items": { "data": [ { "id": "si_RSuVZxGQXhm12e", "object": "subscription_item", "billing_thresholds": null, "created": 1735148841, "current_period_end": 1766684840, "current_period_start": 1764092840, "discounts": [], "metadata": {}, "plan": { "id": "price_1PwdDDHrIm3tRwvjE7kKdylF", "object": "plan", "active": true, "aggregate_usage": null, "amount": 100, "amount_decimal": "100", "billing_scheme": "per_unit", "created": 1725771539, "currency": "usd", "interval": "month", "interval_count": 1, "livemode": true, "metadata": {}, "meter": null, "nickname": "Test Price", "product": "prod_QoFiWyFTaIpX2L", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "price": { "id": "price_1PwdDDHrIm3tRwvjE7kKdylF", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1725771539, "currency": "usd", "custom_unit_amount": null, "livemode": true, "lookup_key": null, "metadata": {}, "nickname": "Test Price", "product": "prod_QoFiWyFTaIpX2L", "recurring": { "aggregate_usage": null, "interval": "month", "interval_count": 1, "meter": null, "trial_period_days": null, "usage_type": "licensed" }, "tax_behavior": "unspecified", "tiers_mode": null, "transform_quantity": null, "type": "recurring", "unit_amount": 100, "unit_amount_decimal": "100" }, "quantity": 1, "subscription": "sub_1QZyg0HrIm3tRwvjMfH4EXNM", "tax_rates": [] } ] }, "latest_invoice": "in_1SXQLZHrIm3tRwvjb2GaOhpE" } }, "livemode": true, "pending_webhooks": 3, "request": { "id": null, "idempotency_key": null }, "type": "customer.subscription.updated" }