Skip to main content

When this fires

The async usage processor watches every balance deduction. When a batch moves the prepaid balance from above to at-or-below 10% of the last refill (period reset, top-up, or manual adjustment), this event fires once per crossing. A top-up re-arms it. Amounts are in rate scale (10000 = $1.00) in the subscription currency. Use it to prompt the customer to top up before usage gets blocked.

Body

application/json
id
string
required
event
string
required
Allowed value: "balance.low"
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.