Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adilkhash/qiwi

Python QIWI API Client
https://github.com/adilkhash/qiwi

payments-api qiwi qiwi-api

Last synced: 4 days ago
JSON representation

Python QIWI API Client

Awesome Lists containing this project

README

        

# Python Qiwi API client

## Description
Python client for Qiwi Payments API (Qiwi Kassa, Qiwi Wallet)

## Install
```bash
pip install qiwi-payments
```

## Usage
```python
from decimal import Decimal

from qiwi_payments.kassa import QiwiKassa

kassa = QiwiKassa('MY_SECRET_QIWI_KEY')
invoice = kassa.create_bill(
amount=Decimal('10.00'),
currency='RUB',
comment='Pay me ASAP'
)

print(invoice.pay_url)
```