Skip to main content
Fires when an invoice becomes past due. Use this event to trigger collection workflows and identify accounts at risk of involuntary churn.

JavaScript

window._upstack('track', 'invoice_past_due', {
  accountId: 'acct_abc123',
  invoiceId: 'inv_ghi012',
  subscriptionId: 'sub_def456',
  amount: 9900,
  currency: 'USD',
  daysOverdue: 7,
  attemptCount: 3
});

Properties

PropertyTypeRequiredDescription
accountIdstringYesAccount identifier
invoiceIdstringYesInvoice identifier
amountnumberYesPast due amount in cents
subscriptionIdstringNoSubscription identifier
currencystringNoISO 4217 currency code
daysOverduenumberNoDays past the due date
attemptCountnumberNoNumber of payment attempts made

When to Fire

  • When invoice due date passes without payment
  • When Stripe marks invoice as past due
  • When payment retry fails

Stripe Webhook

Maps to invoice.marked_uncollectible or custom logic based on invoice.payment_failed status.
Past due invoices are an early indicator of involuntary churn. Use this event to trigger proactive outreach.