Mini Documentation
from basicqiwip2p import AioBasicQiwiP2P # Async
from basicqiwip2p import BasicQiwiP2P # Sync
New client
qiwip2p = BasicQiwiP2P(p2p_key='YOU_P2P_KEY')
bill_id = "random-bill_id-1234"
new_bill = qiwip2p.new_bill(
bill_id=bill_id,
amount=100,
comment='For a good life!'
)
# -> bill_id = "random-bill_id-1234"
is_paid = qiwip2p.is_paid(bill_id)
# False or True
# -> bill_id = "random-bill_id-1234"
qiwip2p.reject(bill_id)