Skip to main content
WEBHOOK

Body

application/json
type
enum<string>
required
Available options:
credit_balance.low
messageId
string
required

Unique webhook message ID for idempotency.

timestamp
string<date-time>
required

Time the event was generated.

customer
object
required

Customer whose credit balance crossed the threshold.

creditCurrency
object
required

Credit currency (type) for which the balance is low.

totalGranted
number<double>
required

Sum of all grants in the pool at event time.

remainingBalance
number<double>
required

Remaining balance at event time.

remainingBalancePercentage
number<double>
required

Remaining balance as a percentage of total granted (0–100).

thresholdPercentage
number<double>
required

The configured threshold percentage that was crossed (e.g., 80).

consumedPercentage
number<double>
required

How much of the total granted has been consumed (0–100).

traceId
string

Correlation ID for tracing.

eventId
string

Unique ID of the underlying event that triggered this webhook.