|
Data
|
{
"id": "evt_1TRcxCHSK9BR5Eppim2F5HwM",
"data": {
"object": {
"id": "sub_1T2x60HSK9BR5EppQzM4MVTS",
"plan": {
"id": "price_1Nl6S4HSK9BR5EppfWfgZLSP",
"meter": null,
"active": true,
"amount": 100000,
"object": "plan",
"created": 1693471328,
"product": "prod_OYCrRYJ5lCkDbR",
"currency": "usd",
"interval": "month",
"livemode": true,
"metadata": {},
"nickname": "New tier pricing September 2023",
"tiers_mode": null,
"usage_type": "licensed",
"amount_decimal": "100000",
"billing_scheme": "per_unit",
"interval_count": 1,
"aggregate_usage": null,
"transform_usage": null,
"trial_period_days": 14
},
"items": {
"url": "/v1/subscription_items?subscription=sub_1T2x60HSK9BR5EppQzM4MVTS",
"data": [
{
"id": "si_U0z4mMElcDofdL",
"plan": {
"id": "price_1Nl6S4HSK9BR5EppfWfgZLSP",
"meter": null,
"active": true,
"amount": 100000,
"object": "plan",
"created": 1693471328,
"product": "prod_OYCrRYJ5lCkDbR",
"currency": "usd",
"interval": "month",
"livemode": true,
"metadata": {},
"nickname": "New tier pricing September 2023",
"tiers_mode": null,
"usage_type": "licensed",
"amount_decimal": "100000",
"billing_scheme": "per_unit",
"interval_count": 1,
"aggregate_usage": null,
"transform_usage": null,
"trial_period_days": 14
},
"price": {
"id": "price_1Nl6S4HSK9BR5EppfWfgZLSP",
"type": "recurring",
"active": true,
"object": "price",
"created": 1693471328,
"product": "prod_OYCrRYJ5lCkDbR",
"currency": "usd",
"livemode": true,
"metadata": {},
"nickname": "New tier pricing September 2023",
"recurring": {
"meter": null,
"interval": "month",
"usage_type": "licensed",
"interval_count": 1,
"aggregate_usage": null,
"trial_period_days": 14
},
"lookup_key": null,
"tiers_mode": null,
"unit_amount": 100000,
"tax_behavior": "exclusive",
"billing_scheme": "per_unit",
"custom_unit_amount": null,
"transform_quantity": null,
"unit_amount_decimal": "100000"
},
"object": "subscription_item",
"created": 1771606948,
"metadata": {},
"quantity": 1,
"discounts": [],
"tax_rates": [],
"subscription": "sub_1T2x60HSK9BR5EppQzM4MVTS",
"billing_thresholds": null,
"current_period_end": 1777487700,
"current_period_start": 1774809300
}
],
"object": "list",
"has_more": false,
"total_count": 1
},
"object": "subscription",
"status": "canceled",
"created": 1771606947,
"currency": "usd",
"customer": "cus_U0z4sItMZCPkg1",
"discount": null,
"ended_at": 1777487700,
"livemode": true,
"metadata": {},
"quantity": 1,
"schedule": null,
"cancel_at": 1777487700,
"discounts": [],
"trial_end": 1774809300,
"start_date": 1771606947,
"test_clock": null,
"application": null,
"canceled_at": 1774884044,
"description": null,
"trial_start": 1771606947,
"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_1TGOBlHSK9BR5EpphfbaEecr",
"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": {
"pix": null,
"upi": null,
"card": {
"network": null,
"request_three_d_secure": "automatic"
},
"payto": null,
"konbini": null,
"acss_debit": null,
"bancontact": null,
"sepa_debit": null,
"us_bank_account": null,
"customer_balance": null
},
"save_default_payment_method": "off"
},
"collection_method": "charge_automatically",
"default_tax_rates": [],
"billing_thresholds": null,
"current_period_end": 1777487700,
"billing_cycle_anchor": 1774809300,
"cancel_at_period_end": true,
"cancellation_details": {
"reason": "cancellation_requested",
"comment": null,
"feedback": "unused"
},
"current_period_start": 1774809300,
"pending_setup_intent": null,
"default_payment_method": "pm_1T2x5wHSK9BR5Eppn1V46QJQ",
"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": 1777487722,
"request": {
"id": null,
"idempotency_key": null
},
"livemode": true,
"api_version": "2020-08-27",
"pending_webhooks": 5
}
|