All Events Triggered 6 days prior to the scheduled cancellation date.
Event Schema
id
string
Unique identifier for the event
occurred_at
integer (unix timestamp)
Timestamp when the event occurred
source
string
Source that triggered the event (e.g., admin_console, api, scheduled_job)
object
string
Always "event" for webhook events
api_version
string
API version used for this event
event_type
string
Type of the webhook event
webhook_status
string
Status of the webhook delivery
object
Content of the event
object
The subscription object affected by this event
object
The customer object affected by this event
object
The card object affected by this event
object
The advance_invoice_schedule object affected by this event
Sample Payload
{
"id": "ev_16BmEPfbkJAOUC9B",
"occurred_at": 1755864600,
"source": "admin_console",
"object": "event",
"api_version": "v2",
"event_type": "subscription_cancellation_reminder",
"webhook_status": "not_applicable",
"content": {
"subscription": {
"activated_at": 1612890938,
"billing_period": 1,
"billing_period_unit": "month",
"created_at": 1612890938,
"currency_code": "USD",
"...": "..."
},
"customer": {
"allow_direct_debit": false,
"auto_collection": "on",
"billing_address": {
"city": "Walnut",
"country": "US",
"first_name": "John",
"last_name": "Doe",
"line1": "PO Box 9999",
"...": "..."
},
"card_status": "no_card",
"created_at": 1517505731,
"...": "..."
},
"card": {
"card_type": "american_express",
"created_at": 1517486946,
"customer_id": "__test__XpbTXGTSRp3ELNCY",
"expiry_month": 12,
"expiry_year": 2022,
"...": "..."
},
"advance_invoice_schedule": {
"id": "advance_invoice_schedule_example_id",
"...": "..."
}
}
}