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.dev2.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.dev2.tar.gz.

File metadata

  • Download URL: swarmauri_billing_authorize_net-0.1.3.dev2.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.dev2.tar.gz
Algorithm Hash digest
SHA256 1813281a820a4823540e89a9a59ba296a8ec17738992504cb1d342b778dc39bc
MD5 1d159f3b613761108750dade29c90061
BLAKE2b-256 861dda6f061167af758b8a849826f007c5fd0fc4c13357216915fe69a87c585e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_billing_authorize_net-0.1.3.dev2-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.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 557a344d623dca5b8e9e8107691e61970a7d96a22fb28d9a409dc697a72cf2e0
MD5 353eb2739afcdc08d7de985a91183e94
BLAKE2b-256 6ab2b20ddd2d96ddc727e760bd365ea7e4368b9a0724ab7fd036ea253e3c3eeb

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