Skip to main content

When this fires

For metered plans, the async usage processor compares each feature’s period usage against its included quantity. When usage crosses 80% of the included amount, this fires once for that feature and billing period. Unlimited features never fire it. If a single burst jumps straight past the included amount, only quota.exceeded fires. Use it to warn the customer they are approaching their limit.

Body

application/json
id
string
required
event
string
required
Allowed value: "quota.threshold_reached"
timestamp
string
required
organizationId
string
required
mode
enum<string>
required
Available options:
live,
sandbox
apiVersion
string
required
data
object
required

Response

200

Return any 2xx status code to acknowledge receipt of the event.