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

Uploaded Python 3

File details

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

File metadata

  • Download URL: paymentai-0.1.11.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.6

File hashes

Hashes for paymentai-0.1.11.tar.gz
Algorithm Hash digest
SHA256 ca77929bfbdc43b0e03511715fcfbc574f35f08fce278766a2e115f2af5b46de
MD5 ec32600ff157cac301704237015b782d
BLAKE2b-256 98f3f2ef3b41e14cdf86f1fd4f5282e303e6343a613eb4b517c05a321d39b958

See more details on using hashes here.

File details

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

File metadata

  • Download URL: paymentAI-0.1.11-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.9.6

File hashes

Hashes for paymentAI-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 1f0ec7f978adfebc57e771bf2fc0364481b238be1b9593c1fc5569f424b6a657
MD5 61b671b18c92094a0dc08a62a942707c
BLAKE2b-256 bfaf9193abd290a56014bf22f51a9563b41e41e3f355af4048650210bfcbf76f

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