Skip to main content

Adyen billing provider for the Swarmauri SDK.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_billing_adyen

---

Swarmauri Billing Adyen

The Swarmauri Billing Adyen package provides an Adyen-style billing provider that adheres to the Swarmauri billing interfaces. It mirrors the behaviours of Adyen's platform while returning Pydantic models for simple serialization and testing.

Features

  • ✅ Simulates all Swarmauri billing capabilities for an Adyen-like provider.
  • ✅ Generates deterministic webhook events and dispute lists for integration testing.
  • ✅ Makes it easy to evaluate tigrbl strategy coverage by mapping Capability values.
  • ✅ Ships as a ready-made baseline for extending into production-grade Adyen clients.

Installation

pip install swarmauri_billing_adyen
uv add swarmauri_billing_adyen

Usage

from swarmauri_billing_adyen import AdyenBillingProvider
from swarmauri_base.billing import CheckoutRequest, ProductSpec

provider = AdyenBillingProvider(api_key="ady_test_123")
product = provider.create_product(ProductSpec(payload={"name": "Enterprise"}), idempotency_key="prod-ady-1")
checkout = provider.create_checkout(product, CheckoutRequest(payload={"return_url": "https://merchant.example"}))

print(product.id, checkout.id)

Capability Mapping

All advertised capabilities come directly from swarmauri_core.billing.Capability and can be translated to tigrbl_billing requirements via capabilities_to_tigrbl.

Contributing

Community contributions are welcome! Share improvements that better reflect Adyen's API surface or add additional fixtures.

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_adyen-0.9.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.

swarmauri_billing_adyen-0.9.3.dev2-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_billing_adyen-0.9.3.dev2.tar.gz.

File metadata

  • Download URL: swarmauri_billing_adyen-0.9.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_adyen-0.9.3.dev2.tar.gz
Algorithm Hash digest
SHA256 1d0bcbb274b2e7119419c9eeda7d490b749fe0e750ec2c93981d15ef7c3107dd
MD5 db305f1a169ee666b6ca02157239ff55
BLAKE2b-256 45d060f07468c545ee907c21a3c30016b24e2edb8d6fe992c4225bca502c96f4

See more details on using hashes here.

File details

Details for the file swarmauri_billing_adyen-0.9.3.dev2-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_billing_adyen-0.9.3.dev2-py3-none-any.whl
  • Upload date:
  • Size: 9.2 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_adyen-0.9.3.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 9524c4124906bff4bb4a118f529ebc9c889bee0bc46f5f80205a241706146ce9
MD5 bf00a286997a6d6281552af3a1416e11
BLAKE2b-256 fb6e0ba3436d35a3bdd2a972ddef3e2aee375839fdd233439db77a0341f97784

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