Skip to main content

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.

Release files for swarmauri_billing_authorize_net 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for swarmauri_billing_authorize_net 0.1.2
File Size Uploaded
swarmauri_billing_authorize_net-0.1.2.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_billing_authorize_net 0.1.2
File Interpreter ABI Platform
swarmauri_billing_authorize_net-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / swarmauri_billing_authorize_net-0.1.2.tar.gz

Download URL swarmauri_billing_authorize_net-0.1.2.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
508632f9db996bd6e09442f25b9382f1b1a462281c4aa51397facd44f7185fb7
BLAKE2b-256 checksum
How to use checksums
b104b95b62eb8563a0a3aa7172f4a5554045a67ead58f3f9d48b2a11b59d8d10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","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}

Release files / swarmauri_billing_authorize_net-0.1.2-py3-none-any.whl

Download URL swarmauri_billing_authorize_net-0.1.2-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57aed1a5a16465499965116607da0e69f7c95f6903f0f41d27feb63c02a0d9c6
BLAKE2b-256 checksum
How to use checksums
8f511e1ed65513f6495106b2ed13da41e12b2d19a58f35cfc9f3113d1bf7b982
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.0 {"installer":{"name":"uv","version":"0.11.0","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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page