Skip to content

billing.trial_ending

billing.trial_ending

Sent to endpoints subscribed to billing.trial_ending (Settings › Webhooks). Severity warning.

Only an owner can subscribe an endpoint to billing events.

Verify the signature before trusting the body; see webhooks.

data

Field Type Description
trialEndsAt optional integer When the trial ends, in Unix milliseconds
subscriptionStatus optional string Stripe subscription status, e.g. past_due or active

Example

{
  "id": "evt_01JA2Z6Q7Y9K3M5N8P0R2S4TWX",
  "type": "billing.trial_ending",
  "version": 1,
  "tenantId": "01JA2Z6Q7Y9K3M5N8P0R2S4TTV",
  "occurredAt": 1792161000000,
  "severity": "warning",
  "data": {
    "trialEndsAt": 1792420200000
  },
  "links": {
    "app": "https://app.pacspilot.com/settings/billing"
  }
}

Verify the signature · All event types