Python Wrapper for interacting with the Flutterwave Payments API
Project description
python-flutterwave
-
This lib aims to be the middleman between
Flutterwave API
and a python backend. Ergo, it directly makes the API requests to FW and returns the necessary info to the backend. -
One should thoroughly go through the official docs here in order to have a meaningful insight on how to use the params provided by the functions in the lib.
-
The lib will also follow the same project structure as the official docs for ease of use and consistency.
-
NB: Set
FW_SECRET_KEY
environnment variable obtained from the dashboard.Quick Example.
from python_flutterwave.charge import initiate_apple_pay_charge, validate_charge details = initiate_apple_pay_charge(tx_ref="your_unique_ref", amount=20, email="johndoe@example.com", currency="USD") print(details) validation_details = validate_charge(flw_ref="qwerty", otp="123456") print(validation_details)
-
More contributors needed, refer to the contribution gude
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for python_flutterwave-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f992c1282edf926a6cfc02b6731687e9279c82b224a925c26a8e68d27e71ed8 |
|
MD5 | 357fe9c180981bc1bab043e60a4c51eb |
|
BLAKE2b-256 | ccb0e423e4ca70eca8c77e40ab569d1675618670c32ed90047cf677c78696961 |