adilkhash / qiwi

Python QIWI API Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Qiwi API client

Description

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

Install

pip install qiwi-payments

Usage

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)

About

Python QIWI API Client

License:MIT License


Languages

Language:Python 100.0%