Spend
Acme AISpend in the period€80.00
80%€64.00
Email billing contact
100%€80.00
Email customer
Request top-up€100.00
Turn offopus
Acme AI is at €52.00 of its €80.00 October budget. Nothing has fired yet.
At €64.00 on Oct 22 the billing contact gets an email and the webhook answers 200. Nothing is sent again this period.
At €80.00 the customer is emailed, threshold.crossed is sent, a €100.00 top-up is requested and opus is turned off.
With overdraft allowed, October ends at €85.73, €5.73 past the budget, and every event is still counted.