WilliamOtieno / python-flutterwave

Python Wrapper for interacting with the Flutterwave API
https://pypi.org/project/python-flutterwave/
MIT License
37 stars 7 forks source link

[HELP] regarding api changes #14

Open iAkashPattnaik opened 7 months ago

iAkashPattnaik commented 7 months ago

Hi! I was on the old version and I was using this -

payment.initiate_payment(
        txnRef,
        float(money),
        "https://google.com/",
        f"{query.from_user.id}_user@google.com",
        f"{query.from_user.first_name} {query.from_user.last_name}",
        currency="USD",
        description="Payment for more tokens",
        title="Bot",
    )

But after updating I can't find how to do this. Also their official docs is just useless. Can you please help me?