from SimpleQIWI import *
tkn = input('Enter token: ')
phn = input('Enter phone: ')
api = QApi(token = tkn, phone = phn)
balance = api.balance
print('Balance: ', balance)
print('Enter amount: ')
get = input()
if get == '':
get = balance
get = int(get)
print('Enter YOUR phone: ')
myPhn = input()
print('Message: ')
msg = input()
api.pay(account = myPhn, amount = get, comment = msg)
input()