Adyen billing provider for the Swarmauri SDK.
Project description
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
Capabilityvalues. - ✅ 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4af1ea0166323e09b10eafe5e9f668075ce665139c9983598551b69db31d24d
|
|
| MD5 |
df3f428bc2732c97166c09410d44a18b
|
|
| BLAKE2b-256 |
87d6101ef7d07c87114a0a83dd7b054c409ee6beaf3afa2b0c25013baa8fbac8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9e4ab6d78b4d639836bfc1eab886d6fb90fb2a330711c6ed0bd36dc9398b6b8
|
|
| MD5 |
4c7328195ac1434f05afa50d23f79ee6
|
|
| BLAKE2b-256 |
e55bdda325af059d0935c64d041adca015ba1bb991b26668768accabfc59ccd3
|