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.8.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.8-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: paymentai-0.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 d64f0cb63d5cf1f2ff561fd29b0209e905be79c2a1529dfcbc2ed8a3c0a18dd3
MD5 a4ae20dc3ca5398db67e18a57882bdca
BLAKE2b-256 0d971a4dafb1e0eb7d9a02e70e9ea73161fc59e3b5b4b6703f3748df9662ba20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: paymentAI-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5b31680d2fe318ec95871ccab45879e27be9718e7813be39a3719393dee23faa
MD5 4266c046eba6c6b9ef50200d8f73e11b
BLAKE2b-256 859e7289080512eae9a7beff75fa3b9965d15201fd4b451ead2f4f84c52d8b44

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