Metadata-Version: 2.1
Name: freekassa
Version: 0.1.4
Summary: FreeKassa Api
Home-page: https://github.com/odi1n/freekassa_api
Keywords: text
Author: odi1n
Requires-Python: >=3.7,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: pydantic (>=1.9.0,<2.0.0)
Requires-Dist: requests (>=2.27.1,<3.0.0)
Project-URL: Repository, https://github.com/odi1n/freekassa_api
Description-Content-Type: text/markdown

# FreeKassa - Api

## Intallation

```json
pip install freekassa
```

## Usage

### Generate link payment

```python
merchant = Merchant(shop_id=123456789,
                    secret1="secret1",
                    secret2="secret2",
                    api_key="api_key")
payment_link = merchant.get_payment_form_url(amount=100, order_id="Product 1", us_={'token':'token1',"token2":"token2"})
```

### Check balance

```python
balance = merchant.get_balance()
```
