15 lines
3.0 KiB
Markdown
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 | |