Events
credits.expired
Unused plan credits expired at the period reset.
When this fires
Plan credits expire at the end of each billing period: the period reset discards whatever remained and grants the new period’s credits (which firescredits.granted). This event reports the discarded amount. Purchased credits never expire and are not affected.
It only fires when there was something to discard — a customer who used all plan credits gets no credits.expired.
Use it for end-of-period usage summaries (“you left 120 credits on the table”).Body
application/json
Response
200
Return any 2xx status code to acknowledge receipt of the event.