Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paymentAI-0.1.10-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

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

Hashes for paymentai-0.1.10.tar.gz
Algorithm Hash digest
SHA256 b504ff0ab7aa79ec100421c80a737493e488517df886992b9614a27c087fbbce
MD5 2747e79db06d5151e5f5323e910a058b
BLAKE2b-256 8c9c3e5eef1dfd16f72dcdaf161862d565c799ec6c12852cf2416e799d6866bd

See more details on using hashes here.

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

Hashes for paymentAI-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 cdff3839b69ff7c95ddb15f4c8674ffabb82355865f8e7d0faa76d4273901d07
MD5 aafee365243bf3dc9a109ce7949b525c
BLAKE2b-256 8c072a231a320a4cad70b7a40d5332f118fbad2403c8b5ce34d815c2f0c14d0c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page