# Paid API and Billing Bundle Bundle 1.0.0. Six packages for charging for an API: a credit ledger with Stripe, idempotent paid calls, spend reservations, cost provenance, a paid API starter and signed request assertions. Bought separately these 6 packages cost $249.94. The bundle is $79.99. ## What is inside `items/` holds each package as its own ZIP, byte for byte the version sold on its own page. `BUNDLE.json` lists each one's version, size and SHA-256 so you can check them. Extract the ZIP you want to use and follow the README inside it; each package keeps its own LICENSE and requirements. - **Credit Billing Ledger for Stripe + Store Billing** 1.0.0 (`items/credit-billing-ledger-stripe-and-store-1.0.0.zip`). Selling credits looks simple until the webhooks arrive twice, a subscription's payment intent fails the one-time handler on every renewal, a refund drives a balance negative, and support "fixes" it by editing numbers. Requires: Node.js 22.5. Compatible coding assistant. Package instructions in English.. - **Encrypted Idempotency Store for Paid API Calls** 1.0.0 (`items/encrypted-idempotency-store-for-paid-calls-1.0.0.zip`). A retry loop is the most expensive line in a billing system. When a response is lost, the honest answer is "we do not know whether that ran", and the only safe behaviour is to refuse to run it again until someone knows. Requires: Node.js 18. Compatible coding assistant. Package instructions in English.. - **Pre-Dispatch Spend Reservations Ledger for Paid API Calls** 1.0.0 (`items/pre-dispatch-spend-reservations-ledger-1.0.0.zip`). Spending caps on outside API calls are usually a number checked after the fact. Requires: Node.js 22.5. Compatible coding assistant. Package instructions in English.. - **Usage Ledger with Honest Cost Provenance** 1.0.0 (`items/usage-ledger-with-cost-provenance-1.0.0.zip`). Dashboards that total provider spend lie in two ways: they turn "we do not know" into zero, and they book estimates as if a provider had billed them. This ledger refuses both. Requires: Node.js 18. Compatible coding assistant. Package instructions in English.. - **Paid API Starter** 1.0.0 (`items/paid-api-starter-1.0.0.zip`). Runnable local developer application: API-key authentication, SQLite credit ledger, metered text-statistics endpoint, durable idempotent responses, migration and local test UI. Requires: Python 3.10+. - **Request-Bound HMAC Assertions with SQLite Replay Store** 1.0.0 (`items/request-bound-hmac-assertions-with-sqlite-replay-store-1.0.0.zip`). A static bearer token between two of your services proves only that the caller once knew a secret; whoever copies it can send any request anywhere until you rotate it. Requires: Node.js 22.5 · systemd. Compatible coding assistant. Package instructions in English.. ## Español · Paquete de API de pago y facturación Seis paquetes para cobrar por una API: libro de créditos con Stripe, llamadas de pago idempotentes, reservas de gasto, procedencia de costes, un proyecto inicial de API de pago y aserciones firmadas. Por separado, estos 6 paquetes cuestan $249.94. El paquete cuesta $79.99. La carpeta `items/` contiene cada producto como su propio ZIP, idéntico al que se vende por separado. `BUNDLE.json` indica la versión, el tamaño y el SHA-256 de cada uno. Extrae el ZIP que quieras usar y sigue el README que contiene; cada producto conserva su LICENSE y sus requisitos. - **Libro de créditos para Stripe y tiendas de aplicaciones** 1.0.0 (`items/credit-billing-ledger-stripe-and-store-1.0.0.zip`) - **Registro cifrado de llamadas pagadas** 1.0.0 (`items/encrypted-idempotency-store-for-paid-calls-1.0.0.zip`) - **Reserva de gasto antes de llamar a una API** 1.0.0 (`items/pre-dispatch-spend-reservations-ledger-1.0.0.zip`) - **Registro de consumo y origen de los costes** 1.0.0 (`items/usage-ledger-with-cost-provenance-1.0.0.zip`) - **Aplicación de ejemplo para una API de pago** 1.0.0 (`items/paid-api-starter-1.0.0.zip`) - **Peticiones firmadas con HMAC y control de repetición** 1.0.0 (`items/request-bound-hmac-assertions-with-sqlite-replay-store-1.0.0.zip`) The included LICENSE covers the bundle; each package's own LICENSE governs that package.