QIWI_PRIV_KEY = 'токенкиви'
p2p = AioQiwiP2P(auth_key=QIWI_PRIV_KEY)
async def main():
new_bill = await p2p.bill(bill_id=212332030, amount=228, lifetime=45)
print(new_bill.bill_id, new_bill.pay_url)
print(await p2p.check(bill_id=new_bill.bill_id).status)
print(await p2p.check(new_bill).status)
print(await p2p.check(bill_id=245532).pay_url)
await p2p.reject(bill_id=new_bill.bill_id)
вот ошибка в строчке с токеном:
key_decoded = b64decode(privkey).decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xef in position 0: invalid continuation byte