FamAPI Verify API — Python SDK
Project description
FamAPI Verify — Python SDK
pip install famapi-verify
Usage
Payment API (api_key from dashboard)
from famapi import FamAPI
client = FamAPI(api_key="your_api_key_here")
payment = client.create_payment(amount=100)
print(payment["purpose"], payment["qr_image_url"])
result = client.verify_payment(purpose=payment["purpose"])
print(result["status"], result["message"])
client.complete_payment(purpose=payment["purpose"])
payments = client.get_payments(status="pending", limit=10)
time_info = client.get_payment_time(purpose=payment["purpose"])
csv = client.export_payments()
Session API (access_token from browser dev tools)
Get your Supabase access_token from your browser's Application → Local Storage → sb-kqmmbjtlaixncqlldgqo-auth-token → copy the access_token field.
client = FamAPI(session_token="your_supabase_access_token")
data = client.get_dashboard_data()
usage = client.get_dashboard_usage()
logs = client.get_webhook_logs()
client.create_subscription(plan="starter")
client.verify_subscription(purpose="SUB_...")
status = client.get_gmail_status()
client.disconnect_gmail()
new_key = client.reset_api_key()
result = client.update_settings(webhook_url="https://example.com/hook")
Webhook endpoint
client = FamAPI(webhook_secret="your_webhook_secret")
result = client.handle_webhook_payment_verified(purpose="FAM_...")
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
famapi_verify-0.2.0.tar.gz
(3.5 kB
view details)
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 famapi_verify-0.2.0.tar.gz.
File metadata
- Download URL: famapi_verify-0.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2fee93f5c9ea2233717f45b76049fd4b92debdedf71e502f9af448f273b6d92
|
|
| MD5 |
f4e416c382d81d9414e207ab40fc845b
|
|
| BLAKE2b-256 |
85d457275cc07ea239e5f97cab9af30f08b7de0d5c3106bdf8b2922aa0beedca
|
File details
Details for the file famapi_verify-0.2.0-py3-none-any.whl.
File metadata
- Download URL: famapi_verify-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35f00f1954e4cf8c53e573865374ea166b21aba41d7d9959eeecb937eb9022c3
|
|
| MD5 |
66fa7fa36d56c87b8519c07eaea21047
|
|
| BLAKE2b-256 |
1eae16ddd8b766f84b93de896b49cffa68884e9f0266903d48a4c84936a9bd97
|