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.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4be6886d46f73abea734827be8e9a54959d02371cee39be33ce035c16d727637 |
|
MD5 | bee6ad15b60d45a297eda2ad7b26e86e |
|
BLAKE2b-256 | 40a6252d64f11e74f50add2937b0945462d0b91563f9086dfa2e09e2837b9ef0 |