Files
cfw-autumn/others/python-sdk/docs/models/updatebalanceparams.md
John Yeo 90287e6308 latest
2026-02-19 13:24:33 +00:00

4.7 KiB
Raw Blame History

UpdateBalanceParams

Fields

Field Type Required Description
customer_id str ✔️ The ID of the customer.
feature_id str ✔️ The ID of the feature.
entity_id Optional[str] The ID of the entity for entity-scoped balances (e.g., per-seat limits).
remaining Optional[float] Set the remaining balance to this exact value. Cannot be combined with add_to_balance.
add_to_balance Optional[float] Add this amount to the current balance. Use negative values to subtract. Cannot be combined with current_balance.
interval Optional[models.UpdateBalanceInterval] Target a specific balance by its reset interval. Use when the customer has multiple balances for the same feature with different reset intervals.