|
Data
|
{
"id": "evt_1TdJH6HSK9BR5Epp6XnUYmAE",
"data": {
"object": {
"id": "sub_1Mgd8YHSK9BR5EppMUevT88O",
"plan": {
"id": "price_1MeLcpHSK9BR5EppwZJKGRwh",
"meter": null,
"active": true,
"amount": 18800,
"object": "plan",
"created": 1677085023,
"product": "prod_KTtKAZ5UlAEmsx",
"currency": "eur",
"interval": "month",
"livemode": true,
"metadata": {},
"nickname": "Nozzle expert $200 (EUR)",
"tiers_mode": null,
"usage_type": "licensed",
"amount_decimal": "18800",
"billing_scheme": "per_unit",
"interval_count": 1,
"aggregate_usage": null,
"transform_usage": null,
"trial_period_days": null
},
"items": {
"url": "/v1/subscription_items?subscription=sub_1Mgd8YHSK9BR5EppMUevT88O",
"data": [
{
"id": "si_NRWAhcIIvmn96I",
"plan": {
"id": "price_1MeLcpHSK9BR5EppwZJKGRwh",
"meter": null,
"active": true,
"amount": 18800,
"object": "plan",
"created": 1677085023,
"product": "prod_KTtKAZ5UlAEmsx",
"currency": "eur",
"interval": "month",
"livemode": true,
"metadata": {},
"nickname": "Nozzle expert $200 (EUR)",
"tiers_mode": null,
"usage_type": "licensed",
"amount_decimal": "18800",
"billing_scheme": "per_unit",
"interval_count": 1,
"aggregate_usage": null,
"transform_usage": null,
"trial_period_days": null
},
"price": {
"id": "price_1MeLcpHSK9BR5EppwZJKGRwh",
"type": "recurring",
"active": true,
"object": "price",
"created": 1677085023,
"product": "prod_KTtKAZ5UlAEmsx",
"currency": "eur",
"livemode": true,
"metadata": {},
"nickname": "Nozzle expert $200 (EUR)",
"recurring": {
"meter": null,
"interval": "month",
"usage_type": "licensed",
"interval_count": 1,
"aggregate_usage": null,
"trial_period_days": null
},
"lookup_key": null,
"tiers_mode": null,
"unit_amount": 18800,
"tax_behavior": "exclusive",
"billing_scheme": "per_unit",
"custom_unit_amount": null,
"transform_quantity": null,
"unit_amount_decimal": "18800"
},
"object": "subscription_item",
"created": 1677628994,
"metadata": {},
"quantity": 1,
"discounts": [],
"tax_rates": [],
"subscription": "sub_1Mgd8YHSK9BR5EppMUevT88O",
"billing_thresholds": null,
"current_period_end": 1780272000,
"current_period_start": 1777593600
}
],
"object": "list",
"has_more": false,
"total_count": 1
},
"object": "subscription",
"status": "canceled",
"created": 1677628800,
"currency": "eur",
"customer": "cus_LOGHAGERMmUGp4",
"discount": null,
"ended_at": 1780272000,
"livemode": true,
"metadata": {},
"quantity": 1,
"schedule": null,
"cancel_at": 1780272000,
"discounts": [],
"trial_end": null,
"start_date": 1677628800,
"test_clock": null,
"application": null,
"canceled_at": 1777622319,
"description": null,
"trial_start": null,
"billing_mode": {
"type": "classic",
"flexible": null
},
"on_behalf_of": null,
"automatic_tax": {
"enabled": true,
"liability": {
"type": "self"
},
"disabled_reason": null
},
"transfer_data": null,
"days_until_due": null,
"default_source": null,
"latest_invoice": "in_1TS5IwHSK9BR5EppJu6mZyYv",
"pending_update": null,
"trial_settings": {
"end_behavior": {
"missing_payment_method": "create_invoice"
}
},
"customer_account": null,
"invoice_settings": {
"issuer": {
"type": "self"
},
"account_tax_ids": null
},
"managed_payments": {
"enabled": false
},
"pause_collection": null,
"payment_settings": {
"payment_method_types": null,
"payment_method_options": null,
"save_default_payment_method": null
},
"collection_method": "charge_automatically",
"default_tax_rates": [],
"billing_thresholds": null,
"current_period_end": 1780272000,
"billing_cycle_anchor": 1677628800,
"cancel_at_period_end": true,
"cancellation_details": {
"reason": "cancellation_requested",
"comment": "numbers are completely disconnected from reality, you should close this service and I'll ask for refund for the last 3 months",
"feedback": "other"
},
"current_period_start": 1777593600,
"pending_setup_intent": null,
"default_payment_method": null,
"application_fee_percent": null,
"billing_cycle_anchor_config": null,
"pending_invoice_item_interval": null,
"next_pending_invoice_item_invoice": null
}
},
"type": "customer.subscription.deleted",
"object": "event",
"created": 1780272011,
"request": {
"id": null,
"idempotency_key": null
},
"livemode": true,
"api_version": "2020-08-27",
"pending_webhooks": 7
}
|