Skip to main content

Authorize.Net billing provider for the Swarmauri SDK.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_billing_authorize_net

Swarmauri Billing Authorize.Net

The Swarmauri Billing Authorize.Net package exposes a payments-first provider that mirrors the Authorize.Net API surface inside the Swarmauri SDK. Use it to validate card-not-present flows, refunds, and customer profile operations before you integrate the official SDK.

Features

  • ✅ Focuses on the Authorize.Net core: transactions, refunds, customer profiles, and reporting.
  • ✅ Emits deterministic payloads keyed by the provider namespace for straightforward assertions.
  • ✅ Provides webhook parsing hooks for signature verification and fraud review flows.
  • ✅ Designed as a drop-in replacement that can later call the Authorize.Net XML/JSON APIs.

Installation

Install from PyPI using either pip or uv:

pip install swarmauri_billing_authorize_net
uv add swarmauri_billing_authorize_net

Usage

from swarmauri_billing_authorize_net import AuthorizeNetBillingProvider
from swarmauri_base.billing import PaymentIntentRequest, RefundRequest

provider = AuthorizeNetBillingProvider(api_key="test-key")

payment_intent = provider.create_payment_intent(
    PaymentIntentRequest(payload={"amount_minor": 4200, "currency": "USD", "confirm": True}),
)
refund = provider.create_refund(
    payment_intent,
    RefundRequest(payload={"amount_minor": 4200}),
)

print(payment_intent.status, refund["status"])

Capability Mapping

Capability metadata maps to tigrbl_billing identifiers via capabilities_to_tigrbl. That ensures your feature toggles and documentation stay aligned when swapping between this stub and a real Authorize.Net integration.

Contributing

If you connect the stub to the live Authorize.Net API, please share integration notes, test coverage, and examples in the README to help the community adopt the changes.

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

swarmauri_billing_authorize_net-0.1.3.dev3.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file swarmauri_billing_authorize_net-0.1.3.dev3.tar.gz.

File metadata

  • Download URL: swarmauri_billing_authorize_net-0.1.3.dev3.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for swarmauri_billing_authorize_net-0.1.3.dev3.tar.gz
Algorithm Hash digest
SHA256 35956677c010078d2c86fc58f5cc824afb27f035d4d044a4c07f1bc777a419ea
MD5 10e9d5cbee33ed8c2f087781a3b25a13
BLAKE2b-256 6b9f7afde270cc1b2a26b3dae0dc1d1df5a7c96806a9daff8b63842bf06f167c

See more details on using hashes here.

File details

Details for the file swarmauri_billing_authorize_net-0.1.3.dev3-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_billing_authorize_net-0.1.3.dev3-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for swarmauri_billing_authorize_net-0.1.3.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 7fee050f8cfdb0e4370f7e5a80f6eed98caf234bb64047c89f0c098f3b257c40
MD5 244c49c625db701062174be374f3207d
BLAKE2b-256 999bea40210803c855e0d3aa28e5e8dab513882d46e508f54547053b43a70a98

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