A package to handle transaction events and send payloads.
Project description
PaymentAI
A Python client for interacting with the AgentPaid API. This package allows you to send transaction events to the API.
Installation
Use the package manager pip to install PaymentAI.
pip install paymentAI
Usage
from PaymentAI import Client
# Initialize with API token (and custom endpoint if necessary)
api_token = "your_api_token_here"
client = Client(api_token)
# Prepare data for the event
data = {
"event_name": "bbc_summary",
"agent_id" : "xx",
"customer_id" : "xx",
"foo": "bar"
}
# Send the transaction
response = client.send_transaction(data)
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
paymentai-0.1.10.tar.gz
(3.2 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 paymentai-0.1.10.tar.gz.
File metadata
- Download URL: paymentai-0.1.10.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b504ff0ab7aa79ec100421c80a737493e488517df886992b9614a27c087fbbce
|
|
| MD5 |
2747e79db06d5151e5f5323e910a058b
|
|
| BLAKE2b-256 |
8c9c3e5eef1dfd16f72dcdaf161862d565c799ec6c12852cf2416e799d6866bd
|
File details
Details for the file paymentAI-0.1.10-py3-none-any.whl.
File metadata
- Download URL: paymentAI-0.1.10-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdff3839b69ff7c95ddb15f4c8674ffabb82355865f8e7d0faa76d4273901d07
|
|
| MD5 |
aafee365243bf3dc9a109ce7949b525c
|
|
| BLAKE2b-256 |
8c072a231a320a4cad70b7a40d5332f118fbad2403c8b5ce34d815c2f0c14d0c
|