Skip to main content

Python SDK (server)

Official Autlantic Billing HTTP client for Python backends.

Install (local)

cd sdks/python
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"  # or: pip install -e . pytest
pytest

Usage

from autlantic_billing import AutlanticBilling, verify_billing_webhook

billing = AutlanticBilling.from_env()

result = billing.create_payment_link({
    "amountUsdc": 42,
    "merchantRefPrefix": "invoice",
    "successUrl": "myapp://billing/success",
    "cancelUrl": "myapp://billing/cancel",
})
url = result.get("url")

Webhook handler:

from autlantic_billing import verify_billing_webhook, parse_billing_webhook_event

def handle(raw_body: str, signature: str | None, secret: str):
    if not verify_billing_webhook(secret, raw_body, signature):
        raise ValueError("bad signature")
    event = parse_billing_webhook_event(raw_body)
    # unlock access on invoice.paid / payment.paid / subscription.activated

Notes

  • Hosted API only. Pins Autlantic-Version: 2026-01-01.
  • Not on PyPI until the first publish (autlantic-billing).
  • Secrets stay on the server. Mobile apps use Checkout SDKs, not this package.

Metadata

Release files for autlantic-billing 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autlantic-billing 0.1.0
File Size Uploaded Provenance
autlantic_billing-0.1.0.tar.gz 5.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for autlantic-billing 0.1.0
File Interpreter ABI Platform
autlantic_billing-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / autlantic_billing-0.1.0.tar.gz

Download URL autlantic_billing-0.1.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
faa8be0537953f3b3896f312bd60cb659ccb7c582650f169a6b9d189a6acf47f
BLAKE2b-256 checksum
How to use checksums
79ce916b7b1dd9df498a9444d12084a86afb01a33083905e8fda099843a6dae3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

Release files / autlantic_billing-0.1.0-py3-none-any.whl

Download URL autlantic_billing-0.1.0-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ac58b9a2121542ade63a829f67caacc80aa45aac1629e0b269958c3cfd09abc
BLAKE2b-256 checksum
How to use checksums
9cb1938cc979d6b1b3848a37e4bf2f0c5cdcbafb9a35ebe94bc90d71f87d7fd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

Security for autlantic-billing 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for autlantic_billing-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page