Files
cfw-autumn/others/python-sdk/docs/models/balancescreaterequest.md
John Yeo e8366d22ea latest
2026-02-18 16:24:19 +00:00

15 lines
3.0 KiB
Markdown

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