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
event_name = "news"
data = {
    "foo": "bar"
}

# Send the transaction
response = client.send_transaction(event_name, 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.9.tar.gz (3.1 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.9-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file paymentai-0.1.9.tar.gz.

File metadata

  • Download URL: paymentai-0.1.9.tar.gz
  • Upload date:
  • Size: 3.1 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.9.tar.gz
Algorithm Hash digest
SHA256 ec9f261c7ad8da831e84969ee267cea5619c99a836333f0c4069e10b4f675e94
MD5 c87331d220d77fedb37ba36a9a7f2d51
BLAKE2b-256 a5efb6c7c81d8457c97b016cf542ec05b27025b48075896ef92e755d47fa7caf

See more details on using hashes here.

File details

Details for the file paymentAI-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: paymentAI-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 ac94c0ffed79124335982142dc93b6d6d2162865de90d85604a90de139c26b74
MD5 313b02a22256a71abcf3831930331723
BLAKE2b-256 0ed007d8fbc891328c24a956ef306bb08211722facd6a2698c11cfa08ac367aa

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