stapel-billing
Payments and billing: per-user credit wallets with an immutable transaction ledger, one-off credit packages and recurring subscription plans, Stripe-backed checkout and self-service customer portal, idempotent webhooks and a service-to-service debit endpoint.
Part of the Stapel framework — composable Django apps that deploy as a monolith or as microservices without changing module code.
Install
pip install stapel-billing
At a glance
| Fact | Value |
|---|---|
| Version | 0.6.2 |
| Python | >=3.11 (3.11, 3.12, 3.13, 3.14) |
| HTTP operations | 10 |
| Config axes | 1 |
| Usage surface | 14 |
| Extension points | 5 |
| Error codes | 53 |
| Fleet dependencies | stapel-auth (optional) · stapel-core |
Documentation
Errors: English · Español · Русский · OpenAPI · capabilities.json · llms.txt (for agents)
Quick start
# settings.py
INSTALLED_APPS = [
...
'stapel_billing',
]
Bus events
Emits
| payment.completed | schema | A payment transaction completed successfully. |
| subscription.changed | schema | User subscription plan or status changed. |
Consumes
| user.deleted | schema |
| user.deletion_initiated | schema |
License
MIT — see LICENSE.
This page is assembled by stapel-readme from docs/readme.md plus the contract artifacts in docs/. Edit the prose in docs/readme.md; the badges, facts and links above and below it are generated — do not hand-edit README.md.
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 stapel_billing-0.6.2.tar.gz.
File metadata
- Download URL: stapel_billing-0.6.2.tar.gz
- Upload date:
- Size: 69.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2cebe67efb3efd7515ca41cef41623ad58ba982fa39aaed9be4d90ad09e2b9d
|
|
| MD5 |
a39fbf52f82aaf641008db1b1b41dac5
|
|
| BLAKE2b-256 |
aa280e7502a9557ce88b8c5a3eacc11d274358505f65554766bec0030e4bf5e1
|
Provenance
The following attestation bundles were made for stapel_billing-0.6.2.tar.gz:
Publisher:
publish.yml on usestapel/stapel-billing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stapel_billing-0.6.2.tar.gz -
Subject digest:
e2cebe67efb3efd7515ca41cef41623ad58ba982fa39aaed9be4d90ad09e2b9d - Sigstore transparency entry: 2409363534
- Sigstore integration time:
-
Permalink:
usestapel/stapel-billing@a2c508a819195718f1a9e563e4512c1a640dd6a7 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/usestapel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a2c508a819195718f1a9e563e4512c1a640dd6a7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file stapel_billing-0.6.2-py3-none-any.whl.
File metadata
- Download URL: stapel_billing-0.6.2-py3-none-any.whl
- Upload date:
- Size: 59.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d8fd1a733d614a8a871160027e53832a0396adfbec982ed2f0645bddbff3c68
|
|
| MD5 |
9ec67706d8ee23235c69614a9d4a4531
|
|
| BLAKE2b-256 |
f634e5c2570d014cc34add8d91238df462bb80ce7fb4c0f63eb6a7c0af7a1261
|
Provenance
The following attestation bundles were made for stapel_billing-0.6.2-py3-none-any.whl:
Publisher:
publish.yml on usestapel/stapel-billing
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stapel_billing-0.6.2-py3-none-any.whl -
Subject digest:
5d8fd1a733d614a8a871160027e53832a0396adfbec982ed2f0645bddbff3c68 - Sigstore transparency entry: 2409363774
- Sigstore integration time:
-
Permalink:
usestapel/stapel-billing@a2c508a819195718f1a9e563e4512c1a640dd6a7 -
Branch / Tag:
refs/tags/v0.6.2 - Owner: https://github.com/usestapel
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a2c508a819195718f1a9e563e4512c1a640dd6a7 -
Trigger Event:
push
-
Statement type: