Official Python SDK for interacting with the Payfet Fintech Infrastructure Platform
Project description
🧰 Payfet Python SDK
Payfet SDK is an official Python library for integrating with Payfet — a multi-provider fintech infrastructure platform built for startups, SaaS companies, and cooperatives.
Motto: Payfet — For Everyone, By Everyone
✨ Overview
Payfet simplifies how businesses connect with various financial providers (payments, virtual accounts, KYC, etc.) through a single API layer.
This SDK provides a smooth developer experience for:
- 🔐 Authenticating as a Payfet tenant
- 🔗 Managing provider connections
- 💳 Issuing virtual accounts and wallets
- 📊 Retrieving analytics & unified transaction logs
- ⚙️ Sending and receiving webhooks
- 🧾 Auditing activities across all connected services
📦 Installation
pip install payfet
Minimum Python version:
3.7+
⚙️ Quickstart
from payfet import PayfetClient
client = PayfetClient(
tenant_token="your-tenant-token",
business_id="your-business-id",
secret_key="your-secret-key"
)
# Fetch balance from a connected provider
balance = client.wallets.get_balance(provider="flutterwave")
print(balance)
# View unified transaction logs
logs = client.analytics.get_transactions()
🔍 Core Modules
| Module | Description |
|---|---|
wallets |
Get balances, issue virtual accounts |
providers |
Connect or disconnect providers |
kyc |
Submit or retrieve KYC verification results |
analytics |
View transactions, reports, and performance summaries |
logs |
View raw activity logs by tenant |
📊 Unified Analytics
Get normalized transaction and balance data across all providers from one endpoint:
analytics = client.analytics.get_overview()
You can filter by date, provider, or category.
🧾 Logs & Auditing
Payfet captures every sync, webhook event, and provider action in the logs module:
logs = client.logs.get_all()
for log in logs:
print(log["event"], log["timestamp"])
🌐 API Reference
Visit docs.payfet.com (coming soon) for detailed endpoint documentation.
🤝 Contributing
We welcome community contributions! To get started:
- Fork the repository
- Create a new branch (
feature/your-new-feature) - Commit your changes
- Submit a Pull Request
For larger features or ideas, feel free to open an issue first.
🛡️ Security
- Tenant tokens and secrets are encrypted in-memory
- All connections use TLS
- SDK does not store or log credentials locally
🙋 Support
- Issues: GitHub Issues
- Email: agastronics.dev@gmail.com
- X (Twitter): @payfet
- LinkedIn: @payfet
© About
Created and maintained by Abdulsamad Opeyemi Abdulganiyu
© Payfet Technologies, 2025
“Payfet — For Everyone, By Everyone”
Empowering developers to build inclusive financial infrastructure without the headache.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file payfet-1.0.0.tar.gz.
File metadata
- Download URL: payfet-1.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af86f793bd44ba5962435e776f4189ce1f8d9d3d5243bd292209bb306b3567d8
|
|
| MD5 |
f6fd1a3f3010f662d172bef411517390
|
|
| BLAKE2b-256 |
fd58e20a7074905123166edf6f75b65f8f6a5454936c116d8f01a40e4246ac47
|
File details
Details for the file payfet-1.0.0-py3-none-any.whl.
File metadata
- Download URL: payfet-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9313e84a12319b951c450285bd318f2a7eb1a8d416b8bad4818f11940b371d57
|
|
| MD5 |
157353173102c972097bb08d7822a8de
|
|
| BLAKE2b-256 |
de3b95b0117cc48e426c307bf6f4bc9e60d090fd0962959167211dcdd6822352
|