pay_id = random.randint(1111, 9999)
bill = await api.create_bill(
pay_id=pay_id,
amount=message.text,
project_id=1,
project_secret='abcd',
)
sign = hashlib.sha256(f'balance{pay_id}{anypaykey}'.encode())
responce = requests.get(f"https://anypay.io/api/balance/{pay_id}", params={"sign":sign.hexdigest()})
print(responce.json())