Skip to main content

🧰 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:

  1. Fork the repository
  2. Create a new branch (feature/your-new-feature)
  3. Commit your changes
  4. 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


© 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.

Metadata

Release files for payfet 1.0.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 payfet 1.0.0
File Size Uploaded Provenance Actions
payfet-1.0.0.tar.gz 3.9 kB Without provenance Details for payfet-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.9 kB

Release files / payfet-1.0.0.tar.gz

Download URL payfet-1.0.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
af86f793bd44ba5962435e776f4189ce1f8d9d3d5243bd292209bb306b3567d8
BLAKE2b-256 checksum
How to use checksums
fd58e20a7074905123166edf6f75b65f8f6a5454936c116d8f01a40e4246ac47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / payfet-1.0.0-py3-none-any.whl

Download URL payfet-1.0.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9313e84a12319b951c450285bd318f2a7eb1a8d416b8bad4818f11940b371d57
BLAKE2b-256 checksum
How to use checksums
de3b95b0117cc48e426c307bf6f4bc9e60d090fd0962959167211dcdd6822352
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for payfet 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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