Files
FragmentAPI/docs/reference/literals.md
T

25 lines
520 B
Markdown

# Literal Types
These literals describe accepted string values for key method parameters.
## PaymentMethod
```python
PaymentMethod = Literal["ton", "usdt_ton"]
```
## WalletVersion
```python
WalletVersion = Literal["V4R2", "V5R1"]
```
These literals are exported from `pyfragment.models.enums` and `pyfragment.models`.
## Usage notes
- Use `PaymentMethod` for purchase and giveaway operations.
- Use `WalletVersion` when configuring `FragmentClient`.
**Passing unsupported values raises `ConfigurationError`.**