{
"id": "evt_5CiD32EK1A99uE9p",
"object": "event",
"created_at": "2026-05-20T12:00:00Z",
"data": {
"object": {
"id": "sub_YvkiWxr7n75pAJtQ",
"object": "subscription",
"billing_cycle_anchor": "2026-05-19T18:00:00Z",
"cancel_at": "2026-06-19T18:00:00Z",
"cancel_at_period_end": true,
"canceled_at": "2026-05-20T12:00:00Z",
"cancellation_details": {
"comment": "Cliente pediu cancelamento ao fim do ciclo atual.",
"feedback": "too_expensive",
"reason": "cancellation_requested"
},
"collection_method": "charge_automatically",
"created_at": "2026-05-19T18:00:00Z",
"currency": "brl",
"current_period_end": "2026-06-19T18:00:00Z",
"current_period_start": "2026-05-19T18:00:00Z",
"customer": "cus_x7zxH7nvGuHvcBAN",
"days_until_due": null,
"default_payment_method": "pm_93JcAxUoVfPPm5Z4",
"discount": "disc_ESMpWKBSZqanFuAp",
"ended_at": null,
"items": {
"object": "list",
"data": [
{
"id": "si_vDVM3DmFPrPpDfjD",
"object": "subscription_item",
"aggregate_usage": "sum",
"amount_discount": 0,
"amount_subtotal": 9900,
"amount_tax": 0,
"amount_total": 9900,
"created_at": "2026-05-19T18:00:00Z",
"currency": "brl",
"discount": "disc_ESMpWKBSZqanFuAp",
"metadata": {},
"position": 0,
"price": "price_HCKFCwVkHq3EPToN",
"price_data": null,
"product": "prod_mo9zUC3h5jtCdWj6",
"quantity": 1,
"recurring": {
"interval": "month",
"interval_count": 1
},
"subscription": "sub_YvkiWxr7n75pAJtQ",
"unit_amount": 9900,
"updated_at": "2026-05-20T12:00:00Z",
"usage_period_end": "2026-06-19T18:00:00Z",
"usage_period_start": "2026-05-19T18:00:00Z",
"usage_type": "metered"
}
],
"has_more": false,
"url": "/v1/subscription-items?subscription=sub_YvkiWxr7n75pAJtQ"
},
"latest_invoice": "inv_tZzzwr9gGScBGjDH",
"livemode": true,
"metadata": {},
"next_billing_at": "2026-06-19T18:00:00Z",
"pause_collection": null,
"payment_settings": {},
"pending_setup_intent": null,
"pending_update": null,
"resumed_at": null,
"schedule": "subsched_RgZuWLtvjiARHGWe",
"schedule_phase_index": 0,
"start_date": "2026-05-19T18:00:00Z",
"status": "active",
"trial_end": null,
"trial_settings": {
"end_behavior": {
"missing_payment_method": "create_invoice"
}
},
"trial_start": null,
"updated_at": "2026-05-20T12:00:00Z"
},
"previous_attributes": {
"default_payment_method": "pm_JXZRfVFgAYtZTaFq",
"metadata": {}
}
},
"livemode": true,
"organization": "org_z9SLZ2E45gGUoWxm",
"request": {
"id": "req_VBz4BCaMJ1kdeWAD"
},
"type": "subscription.updated"
}