Audit
List Spend Policy Audit Entries
GET/accounts/{account_id}/billing/spend-policies/{policy_id}/audit
ModelsExpand Collapse
AuditListResponse object { action, balance_cents, billing_period_end, 7 more } A state transition recorded when the policy was evaluated against the account’s balance.
AuditListResponse object { action, balance_cents, billing_period_end, 7 more }
A state transition recorded when the policy was evaluated against the account’s balance.
action: "notification" or "usage_block"The action taken when the threshold is reached. notification sends an email to notification_email. usage_block blocks further usage of the product until the end of the billing period. Raising the threshold above the current balance, disabling the policy, or deleting it lifts the block early.
action: "notification" or "usage_block"
The action taken when the threshold is reached. notification sends an email to notification_email. usage_block blocks further usage of the product until the end of the billing period. Raising the threshold above the current balance, disabling the policy, or deleting it lifts the block early.
balance_cents: number
The account’s balance for the product at evaluation time, in US cents.
formatint64
billing_period_start: string
Inclusive start of the billing period that was evaluated.
formatdate-time