3.0 KiB
3.0 KiB
BalancesCreateRequest
Fields
| Field | Type | Required | Description |
|---|---|---|---|
feature_id |
str | ✔️ | The feature ID to create the balance for |
customer_id |
str | ✔️ | The customer ID to assign the balance to |
entity_id |
Optional[str] | ➖ | Entity ID for entity-scoped balances |
included |
Optional[float] | ➖ | The initial balance amount to grant |
unlimited |
Optional[bool] | ➖ | Whether the balance is unlimited |
reset |
Optional[models.BalancesCreateReset] | ➖ | Reset configuration for the balance |
expires_at |
Optional[float] | ➖ | Unix timestamp (milliseconds) when the balance expires |
granted_balance |
Optional[float] | ➖ | N/A |