Skip to main content

Logo

FLWAVE LIBRARY

This Library Enables Easy Integration of Standard Flutterwave API into a python project New or Existing. It contains functions to initiate and Verify Transaction(s).

Installation

To install the package via pip use:

  pip install flwave

Usage/Examples

  1. To Initiate a transaction:
from flwave import flwaveapi
  1. To Verfify A Transaction Using Transaction Reference:
from flwaveapi import verify_transaction
  1. To Verify a Transaction using Transaction ID:
from flwaveapi import verfify_transaction
  1. To Create Refund for a transaction:
from flwaveapi import make_refund
  1. To get transaction details (Single or Multiple):
from flwaveapi import transaction_details

LIBRARY FUNCTIONS

Funtion Required Arguments Description
create_transaction keystring, amountfloat, e-mailstring, redirect_urlstring, urlstring This function makes a POST request to flutterwave payment API and returns a unique payment link.
verify_transaction keystring This function makes a GET request to flutterwave verify Transaction API and returns a Dict Containing Details of Transaction.
make_refund keystring, txn_idint This function makes a POST request to make a refund in a disputed Transaction.
transaction_details keystring This function makes a GET request to flutterwave and returns a Dict Containing Details of Transaction.

The Output of each Function above is a python dictionary.This dictionary should be parsed to retrieve needed information.

Contributing

Contributions are always welcome!

Please feel free to reach out to the creator for pull request and other possible questions regarding the use of this library.

Documentation

For more info visit Flutterwave official API Docs:

Documentation

License

MIT License

Appendix

PYPI Link: https://pypi.org/project/flwave/

Release files for flwave 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flwave 1.0
File Size Uploaded
flwave-1.0.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flwave 1.0
File Interpreter ABI Platform
flwave-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.5 kB

Release files / flwave-1.0.tar.gz

Download URL flwave-1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e3351beea65146414b876395c2fcb0e1900896ca13ad2096fef2e970d629560a
BLAKE2b-256 checksum
How to use checksums
90d30263b511652f696f96e0f0f14bfcfe9265050468d9420bfa39ac4a9db8cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / flwave-1.0-py3-none-any.whl

Download URL flwave-1.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9a0e1acc6cdcc7123bd96ede75bfa180c626c238244ecc638eed44b3d490ccc
BLAKE2b-256 checksum
How to use checksums
679bc04ef09e1766e514aee8319940bbf44cc71751d8589f2fa144cd278780af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page