REQ: { "id": "evt_1T00d0HrIm3tRwvjEjQuzrk1", "object": "event", "api_version": "2024-06-20", "created": 1770905541, "data": { "object": { "id": "sub_1R6nIfHrIm3tRwvjsn1GW3zJ", "object": "subscription", "application": null, "application_fee_percent": null, "automatic_tax": { "disabled_reason": null, "enabled": false, "liability": null }, "billing_cycle_anchor": 1767290952, "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": 1742969933, "currency": "usd", "current_period_end": 1772388552, "current_period_start": 1769969352, "customer": "cus_S0owDq24tkoZRL", "customer_account": null, "days_until_due": null, "default_payment_method": "pm_1T00csHrIm3tRwvjbKY3g7T9", "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_S0owxUBjqXWA8F", "object": "subscription_item", "billing_thresholds": null, "created": 1742969934, "current_period_end": 1772388552, "current_period_start": 1769969352, "discounts": [], "metadata": {}, "plan": { "id": "price_1PwdFrHrIm3tRwvjHgQieMjV", "object": "plan", "active": true, "aggregate_usage": null, "amount": 2997, "amount_decimal": "2997", "billing_scheme": "per_unit", "created": 1725771703, "currency": "usd", "interval": "month", "interval_count": 1, "livemode": true, "metadata": {}, "meter": null, "nickname": null, "product": "prod_QoFiWyFTaIpX2L", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "price": { "id": "price_1PwdFrHrIm3tRwvjHgQieMjV", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1725771703, "currency": "usd", "custom_unit_amount": null, "livemode": true, "lookup_key": null, "metadata": {}, "nickname": null, "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": 2997, "unit_amount_decimal": "2997" }, "quantity": 1, "subscription": "sub_1R6nIfHrIm3tRwvjsn1GW3zJ", "tax_rates": [] } ], "has_more": false, "total_count": 1, "url": "/v1/subscription_items?subscription=sub_1R6nIfHrIm3tRwvjsn1GW3zJ" }, "latest_invoice": "in_1Sw599HrIm3tRwvjOR5x3u1e", "livemode": true, "metadata": { "tr_tid": "ehpg1215", "tr_cid": "expd1" }, "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_1PwdFrHrIm3tRwvjHgQieMjV", "object": "plan", "active": true, "aggregate_usage": null, "amount": 2997, "amount_decimal": "2997", "billing_scheme": "per_unit", "created": 1725771703, "currency": "usd", "interval": "month", "interval_count": 1, "livemode": true, "metadata": {}, "meter": null, "nickname": null, "product": "prod_QoFiWyFTaIpX2L", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "quantity": 1, "schedule": null, "start_date": 1742969933, "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": { "default_payment_method": null } }, "livemode": true, "pending_webhooks": 3, "request": { "id": null, "idempotency_key": "276307a9-d093-494b-a91b-caa0ba8d4ddc" }, "type": "customer.subscription.updated" } REQ: { "id": "evt_3Sw66hHrIm3tRwvj0KHJwafF", "object": "event", "api_version": "2024-06-20", "created": 1770905552, "data": { "object": { "id": "ch_3Sw66hHrIm3tRwvj0Un4ElLW", "object": "charge", "amount": 2997, "amount_captured": 2997, "amount_refunded": 0, "application": null, "application_fee": null, "application_fee_amount": null, "balance_transaction": "txn_3Sw66hHrIm3tRwvj0e8WWxW0", "billing_details": { "address": { "city": "North Sydney", "country": "AU", "line1": "6 Doris Street", "line2": "", "postal_code": "2060", "state": "NSW" }, "email": null, "name": "Martin Foster", "phone": null, "tax_id": null }, "calculated_statement_descriptor": "ADVANCED PC REPAIR LLC", "captured": true, "created": 1770905551, "currency": "usd", "customer": "cus_S0owDq24tkoZRL", "description": "Subscription update", "destination": null, "dispute": null, "disputed": false, "failure_balance_transaction": null, "failure_code": null, "failure_message": null, "fraud_details": {}, "invoice": "in_1Sw599HrIm3tRwvjOR5x3u1e", "livemode": true, "metadata": {}, "on_behalf_of": null, "order": null, "outcome": { "advice_code": null, "network_advice_code": null, "network_decline_code": null, "network_status": "approved_by_network", "reason": null, "risk_level": "normal", "risk_score": 2, "seller_message": "Payment complete.", "type": "authorized" }, "paid": true, "payment_intent": "pi_3Sw66hHrIm3tRwvj067AJUBc", "payment_method": "pm_1T00csHrIm3tRwvjbKY3g7T9", "payment_method_details": { "card": { "amount_authorized": 2997, "authorization_code": "047958", "brand": "mastercard", "checks": { "address_line1_check": "unavailable", "address_postal_code_check": "unavailable", "cvc_check": null }, "country": "AU", "exp_month": 2, "exp_year": 2029, "extended_authorization": { "status": "disabled" }, "fingerprint": "rfBqUXsNu9mO3Esu", "funding": "credit", "incremental_authorization": { "status": "unavailable" }, "installments": null, "last4": "7006", "mandate": null, "multicapture": { "status": "unavailable" }, "network": "mastercard", "network_token": { "used": false }, "network_transaction_id": "MCWJ03WH70212", "overcapture": { "maximum_amount_capturable": 2997, "status": "unavailable" }, "regulated_status": "unregulated", "three_d_secure": null, "wallet": { "apple_pay": { "type": "apple_pay" }, "dynamic_last4": "6189", "type": "apple_pay" } }, "type": "card" }, "radar_options": {}, "receipt_email": null, "receipt_number": null, "receipt_url": "https://pay.stripe.com/receipts/invoices/CAcQARoXChVhY2N0XzFQdzBKQkhySW0zdFJ3dmoo0b-3zAYyBjk0vI6odjosFriV3ln0RuEhqmlUwMUWiE-fFX5l05BR3W-t_iNj1SHAxuvE3A7XWIQX3wg?s=ap", "refunded": false, "review": null, "shipping": null, "source": null, "source_transfer": null, "statement_descriptor": null, "statement_descriptor_suffix": null, "status": "succeeded", "transfer_data": null, "transfer_group": null } }, "livemode": true, "pending_webhooks": 2, "request": { "id": "req_2Gjbdijw52s5yq", "idempotency_key": "45124fd2-b466-4fef-ba71-e6743faf9e9c" }, "type": "charge.succeeded" } REQ: { "id": "evt_1T00dBHrIm3tRwvjyJfe2xGo", "object": "event", "api_version": "2024-06-20", "created": 1770905553, "data": { "object": { "id": "sub_1R6nIfHrIm3tRwvjsn1GW3zJ", "object": "subscription", "application": null, "application_fee_percent": null, "automatic_tax": { "disabled_reason": null, "enabled": false, "liability": null }, "billing_cycle_anchor": 1767290952, "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": 1742969933, "currency": "usd", "current_period_end": 1772388552, "current_period_start": 1769969352, "customer": "cus_S0owDq24tkoZRL", "customer_account": null, "days_until_due": null, "default_payment_method": "pm_1T00csHrIm3tRwvjbKY3g7T9", "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_S0owxUBjqXWA8F", "object": "subscription_item", "billing_thresholds": null, "created": 1742969934, "current_period_end": 1772388552, "current_period_start": 1769969352, "discounts": [], "metadata": {}, "plan": { "id": "price_1PwdFrHrIm3tRwvjHgQieMjV", "object": "plan", "active": true, "aggregate_usage": null, "amount": 2997, "amount_decimal": "2997", "billing_scheme": "per_unit", "created": 1725771703, "currency": "usd", "interval": "month", "interval_count": 1, "livemode": true, "metadata": {}, "meter": null, "nickname": null, "product": "prod_QoFiWyFTaIpX2L", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "price": { "id": "price_1PwdFrHrIm3tRwvjHgQieMjV", "object": "price", "active": true, "billing_scheme": "per_unit", "created": 1725771703, "currency": "usd", "custom_unit_amount": null, "livemode": true, "lookup_key": null, "metadata": {}, "nickname": null, "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": 2997, "unit_amount_decimal": "2997" }, "quantity": 1, "subscription": "sub_1R6nIfHrIm3tRwvjsn1GW3zJ", "tax_rates": [] } ], "has_more": false, "total_count": 1, "url": "/v1/subscription_items?subscription=sub_1R6nIfHrIm3tRwvjsn1GW3zJ" }, "latest_invoice": "in_1Sw599HrIm3tRwvjOR5x3u1e", "livemode": true, "metadata": { "tr_tid": "ehpg1215", "tr_cid": "expd1" }, "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_1PwdFrHrIm3tRwvjHgQieMjV", "object": "plan", "active": true, "aggregate_usage": null, "amount": 2997, "amount_decimal": "2997", "billing_scheme": "per_unit", "created": 1725771703, "currency": "usd", "interval": "month", "interval_count": 1, "livemode": true, "metadata": {}, "meter": null, "nickname": null, "product": "prod_QoFiWyFTaIpX2L", "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "quantity": 1, "schedule": null, "start_date": 1742969933, "status": "active", "test_clock": null, "transfer_data": null, "trial_end": null, "trial_settings": { "end_behavior": { "missing_payment_method": "create_invoice" } }, "trial_start": null }, "previous_attributes": { "status": "past_due" } }, "livemode": true, "pending_webhooks": 3, "request": { "id": "req_2Gjbdijw52s5yq", "idempotency_key": "45124fd2-b466-4fef-ba71-e6743faf9e9c" }, "type": "customer.subscription.updated" }