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

File metadata

  • Download URL: swarmauri_billing_authorize_net-0.1.2.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for swarmauri_billing_authorize_net-0.1.2.tar.gz
Algorithm Hash digest
SHA256 508632f9db996bd6e09442f25b9382f1b1a462281c4aa51397facd44f7185fb7
MD5 6a8f2a63ead1a619eb2c4a89afec40e3
BLAKE2b-256 b104b95b62eb8563a0a3aa7172f4a5554045a67ead58f3f9d48b2a11b59d8d10

See more details on using hashes here.

File details

Details for the file swarmauri_billing_authorize_net-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_billing_authorize_net-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for swarmauri_billing_authorize_net-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 57aed1a5a16465499965116607da0e69f7c95f6903f0f41d27feb63c02a0d9c6
MD5 5201c096f5d6a047eba475088805bc15
BLAKE2b-256 8f511e1ed65513f6495106b2ed13da41e12b2d19a58f35cfc9f3113d1bf7b982

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