WebhookCreditBalance
A customer's organisation-wide credit balance in one credits currency (not the credits seats hold of their own), just after the signal that caused the event, as Get a customer's credit balances shows that pool, with the order and signal involved.
- availableType: numberrequired
Credits left to use (
totallessused); below zero once usage passes the balance. Up to 6 decimal places. - creditsType: string
Currency Id requiredThe credits currency's ID.
- currencyType: string
Key requiredThe credits currency's key.
- currencyType: string
Name requiredThe credits currency's name.
- customerType: string
Id required - externalType: string | null
Customer Id requiredYour ID for the customer.
- orderType: string
Id requiredThe order whose prepaid-credits charge spent the credits (
ord_…). - periodType: string | nullFormat: date-time
End requiredEnd of the period, exclusive, from the first of its current grants to expire; null when none of them expires.
- periodType: string | nullFormat: date-time
Start requiredStart of the period the balance covers, from the earliest of its current grants.
- signalType: string
Id requiredThe signal that caused the event (
sig_…). - totalType: numberrequired
Credits the customer has this period, from their plan's allowance and grants. Up to 6 decimal places.
- usedType: numberrequired
Credits used this period. Up to 6 decimal places.