Skip to content

mayn3r/BasicQiwiP2P

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

BasicQiwiP2P

Test version!


Mini Documentation

Importing a synchronous or asynchronous class to work with

from basicqiwip2p import AioBasicQiwiP2P  # Async
from basicqiwip2p import BasicQiwiP2P     # Sync

New client

qiwip2p = BasicQiwiP2P(p2p_key='YOU_P2P_KEY')

New bill

bill_id = "random-bill_id-1234"

new_bill = qiwip2p.new_bill(
    bill_id=bill_id, 
    amount=100, 
    comment='For a good life!'
 )

Checking bill for payment

# -> bill_id = "random-bill_id-1234"

is_paid = qiwip2p.is_paid(bill_id)
# False or True

Reject payment

# -> bill_id = "random-bill_id-1234"

qiwip2p.reject(bill_id)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages