flwave-1.0
توضیحات
A Python Package that enables easy integration of Flutterwave Payment Platform into a new or already existing python project
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | flwave-1.0 |
| نام | flwave |
| نسخه کتابخانه | 1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | ['Okechukwu Joshua Ifeanyi <joshoke111@gmail.com>, Okamkpa Tobechukwu Gamaliel <tobechukwuokamkpa@gmail.com>'] |
| نویسنده | - |
| ایمیل نویسنده | Okechukwu Joshua Ifeanyi <joshoke111@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/flwave/ |
| مجوز | - |

# 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:
```bash
pip install flwave
```
## Usage/Examples
1. To Initiate a transaction:
```javascript
from flwave import flwaveapi
```
2. To Verfify A Transaction Using Transaction Reference:
```javascript
from flwaveapi import verify_transaction
```
3. To Verify a Transaction using Transaction ID:
```javascript
from flwaveapi import verfify_transaction
```
4. To Create Refund for a transaction:
```javascript
from flwaveapi import make_refund
```
5. To get transaction details (Single or Multiple):
```javascript
from flwaveapi import transaction_details
```
## LIBRARY FUNCTIONS
| Funtion |Required Arguments | Description |
| :-------- | :------- | :------------------------- |
| `create_transaction` | key`string`, amount`float`, e-mail`string`, redirect_url`string`, url`string`|This function makes a POST request to flutterwave payment API and returns a unique payment link.
| `verify_transaction`| key`string` |This function makes a GET request to flutterwave verify Transaction API and returns a Dict Containing Details of Transaction. |
| `make_refund` | key`string`, txn_id`int` | This function makes a POST request to make a refund in a disputed Transaction.|
| `transaction_details` |key`string` | 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](https://developer.flutterwave.com)
## License
[](https://choosealicense.com/licenses/mit/)
## Appendix
PYPI Link: https://pypi.org/project/flwave/
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl flwave-1.0:
pip install flwave-1.0.whl
نصب پکیج tar.gz flwave-1.0:
pip install flwave-1.0.tar.gz