mirror of
https://github.com/bohd4nx/FragmentAPI.git
synced 2026-07-26 06:41:42 +00:00
25 lines
520 B
Markdown
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`.**
|