Skip to main content

A Python Package that enables easy integration of Flutterwave Payment Platform into a new or already existing python project

Project description

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/

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flwave-1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flwave-1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file flwave-1.0.tar.gz.

File metadata

  • Download URL: flwave-1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for flwave-1.0.tar.gz
Algorithm Hash digest
SHA256 e3351beea65146414b876395c2fcb0e1900896ca13ad2096fef2e970d629560a
MD5 9c17f63f39543a5ef66587dcf9aeb922
BLAKE2b-256 90d30263b511652f696f96e0f0f14bfcfe9265050468d9420bfa39ac4a9db8cf

See more details on using hashes here.

File details

Details for the file flwave-1.0-py3-none-any.whl.

File metadata

  • Download URL: flwave-1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for flwave-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9a0e1acc6cdcc7123bd96ede75bfa180c626c238244ecc638eed44b3d490ccc
MD5 844ea0d2a46fdefde7b7d6d0c6f0ef65
BLAKE2b-256 679bc04ef09e1766e514aee8319940bbf44cc71751d8589f2fa144cd278780af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page