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.2.dev23.tar.gz (8.2 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.2.dev23-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_billing_adyen-0.9.2.dev23.tar.gz.

File metadata

  • Download URL: swarmauri_billing_adyen-0.9.2.dev23.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.2.dev23.tar.gz
Algorithm Hash digest
SHA256 25f9398a9d6b41d7abca1cb532fdd88400f7ace9b8d2e8c4c043e6064247d1ae
MD5 6dc41680e8079c2d17e631324f1850a0
BLAKE2b-256 b6de0e20e42351c3c965b3fbc16af2f9e80fe3c5d15701079b782974df5979e1

See more details on using hashes here.

File details

Details for the file swarmauri_billing_adyen-0.9.2.dev23-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_billing_adyen-0.9.2.dev23-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","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.2.dev23-py3-none-any.whl
Algorithm Hash digest
SHA256 cfc2c08597cf3d762f89baab75ff320de78f5ffe5a87cfe79f4c8d0f7b1b091c
MD5 5249348391a1ed5353fdbd58fb3a9e00
BLAKE2b-256 c46a6a332b41a075a9c9129f3caba6a53fb6529ed9a9245e2c956b7b392025a2

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