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.dev3.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.dev3-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swarmauri_billing_adyen-0.9.3.dev3.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.dev3.tar.gz
Algorithm Hash digest
SHA256 e4af1ea0166323e09b10eafe5e9f668075ce665139c9983598551b69db31d24d
MD5 df3f428bc2732c97166c09410d44a18b
BLAKE2b-256 87d6101ef7d07c87114a0a83dd7b054c409ee6beaf3afa2b0c25013baa8fbac8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_billing_adyen-0.9.3.dev3-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.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 e9e4ab6d78b4d639836bfc1eab886d6fb90fb2a330711c6ed0bd36dc9398b6b8
MD5 4c7328195ac1434f05afa50d23f79ee6
BLAKE2b-256 e55bdda325af059d0935c64d041adca015ba1bb991b26668768accabfc59ccd3

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