stripe.onInvoiceOverdue to run an automation when a Stripe invoice becomes overdue.
Example
automations/stripe-on-stripe-invoice-overdue.automation.ts
account defaults to the project binding.
Trigger data
Returns the complete Stripe Event envelope withtype: "invoice.overdue". The typed data.object contains the Stripe resource for this event.
Stripe generates invoice.overdue only when a Stripe Billing Automation sends that webhook after an invoice becomes overdue.
Automate.ax verifies Stripe’s signature against the exact request body before accepting an event. Event fields use camel case, while metadata keys remain unchanged. Stripe doesn’t guarantee event delivery order, so use id, resource IDs, and timestamps when coordinating related events.
See On Stripe event for the shared envelope and delivery behavior.