|
Data
|
{
"id": "evt_1TT0bBHSK9BR5EppV8KFosL4",
"data": {
"object": {
"id": "sub_1TI8HsHSK9BR5EppKV1zUTBy",
"plan": {
"id": "price_1Nl6JqHSK9BR5EppFQOB21A5",
"meter": null,
"active": true,
"amount": 20000,
"object": "plan",
"created": 1693470818,
"product": "prod_OYCjsUD0Sf5oT7",
"currency": "usd",
"interval": "month",
"livemode": true,
"metadata": {},
"nickname": "New tier pricing September 2023",
"tiers_mode": null,
"usage_type": "licensed",
"amount_decimal": "20000",
"billing_scheme": "per_unit",
"interval_count": 1,
"aggregate_usage": null,
"transform_usage": null,
"trial_period_days": 14
},
"items": {
"url": "/v1/subscription_items?subscription=sub_1TI8HsHSK9BR5EppKV1zUTBy",
"data": [
{
"id": "si_UGfds0UnIj01aU",
"plan": {
"id": "price_1Nl6JqHSK9BR5EppFQOB21A5",
"meter": null,
"active": true,
"amount": 20000,
"object": "plan",
"created": 1693470818,
"product": "prod_OYCjsUD0Sf5oT7",
"currency": "usd",
"interval": "month",
"livemode": true,
"metadata": {},
"nickname": "New tier pricing September 2023",
"tiers_mode": null,
"usage_type": "licensed",
"amount_decimal": "20000",
"billing_scheme": "per_unit",
"interval_count": 1,
"aggregate_usage": null,
"transform_usage": null,
"trial_period_days": 14
},
"price": {
"id": "price_1Nl6JqHSK9BR5EppFQOB21A5",
"type": "recurring",
"active": true,
"object": "price",
"created": 1693470818,
"product": "prod_OYCjsUD0Sf5oT7",
"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": 20000,
"tax_behavior": "exclusive",
"billing_scheme": "per_unit",
"custom_unit_amount": null,
"transform_quantity": null,
"unit_amount_decimal": "20000"
},
"object": "subscription_item",
"created": 1775224887,
"metadata": {},
"quantity": 1,
"discounts": [],
"tax_rates": [],
"subscription": "sub_1TI8HsHSK9BR5EppKV1zUTBy",
"billing_thresholds": null,
"current_period_end": 1777816886,
"current_period_start": 1775224886
}
],
"object": "list",
"has_more": false,
"total_count": 1
},
"object": "subscription",
"status": "canceled",
"created": 1775224886,
"currency": "usd",
"customer": "cus_UGfdMJehEnW5aI",
"discount": null,
"ended_at": 1777816886,
"livemode": true,
"metadata": {},
"quantity": 1,
"schedule": null,
"cancel_at": 1777816886,
"discounts": [],
"trial_end": null,
"start_date": 1775224886,
"test_clock": null,
"application": null,
"canceled_at": 1775578694,
"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_1TI8HqHSK9BR5EppIilpQqh7",
"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": 1777816886,
"billing_cycle_anchor": 1775224886,
"cancel_at_period_end": true,
"cancellation_details": {
"reason": "cancellation_requested",
"comment": null,
"feedback": "missing_features"
},
"current_period_start": 1775224886,
"pending_setup_intent": null,
"default_payment_method": "pm_1TI8HqHSK9BR5EppbFAg1A7S",
"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": 1777816940,
"request": {
"id": null,
"idempotency_key": null
},
"livemode": true,
"api_version": "2020-08-27",
"pending_webhooks": 1
}
|