How your money moves
- Stripe holds the money. In Live, your customers pay into your own Stripe account, under your agreement with Stripe. Ledger never holds or moves funds and never starts payouts.
- You are the seller. Ledger isn’t a payment processor or the merchant of record.
- Ledger never sees card details. Customers enter them on Stripe’s pages.
- Grants follow confirmed payments. Ledger grants a paid plan’s credits and allowances only from Stripe’s signed webhook, never from a browser redirect (Stripe).
- Refunds only when you ask. Ledger issues a refund only when you request one, for example with a
refundoption on an endpoint. - Sandbox runs on test money. Sandbox uses a Stripe test account, with its own keys, catalog and customers (Sandbox).
Data and encryption
Live financial records (subscriptions, credit grants, usage and invoices) are kept for 7 years, for accounting and tax. Request logs and error reports are kept for 30 days. Sandbox data is deleted with the workspace. The Privacy Policy has the full retention table.
Access and keys
- Secret keys only. Every Ledger API key is secret and belongs on your server. There are no publishable keys.
- One environment per key. A
ledger_test_key reaches only Sandbox and aledger_live_key only Live; nothing in a request can switch it (API keys). - Restricted keys. Give each service only the permissions it calls. A key without a permission gets
403 insufficient_permissions, naming the scope it lacks (Permissions). - Failed sign-in attempts are throttled. About 30
401s in a row from one IP address block further requests from it for a short time, while keys that worked recently keep working (Limits). - Dashboard sign-in goes through Clerk, with verified sessions, protection against cross-site request forgery, and a fresh verification before sensitive actions such as creating a key.
- Ledger’s own access. Production access is limited to the people who need it, with multi-factor authentication on infrastructure accounts. The source repository has dependency updates and secret scanning.
Correctness guarantees
- Each use is charged once.
trackrecords arequest_idonce per customer, and it never expires: a retry next month is still a replay, not a second charge (Usage events). Plan changes and balance adjustments take anidempotencyKeythat matches for 24 hours. - All or nothing. A use is charged in full or not at all. If the balance and overage together can’t cover it,
trackrefuses it and charges nothing (Balances). - Retries are safe. A
429records nothing, and sendingtrackagain with the samerequest_idnever charges twice (Limits). - Signed webhooks. Every webhook Ledger sends carries a
Ledger-SignatureHMAC-SHA256 header with a timestamp, so you can reject forged and replayed deliveries (Webhooks). - Prices don’t change under subscribers. Publishing new plan terms creates a new version with new Stripe Prices. Existing Prices are never edited, so current subscribers keep what they bought (Plan versions).
- Nightly reconciliation. Every night Ledger compares each connected Stripe account with its own records: every payment Stripe took has its grant, every grant names a paid Stripe object, every refund was applied, and each grant’s spent credits match its usage records. Any difference alerts Ledger’s team.
Availability and failure behaviour
- Published latency and limits.
checkanswers in under 25 ms andtrackin under 100 ms at p99, at 1,000 requests a second. Rate limits are per key, and Sandbox has its own, so testing never uses production capacity (Limits). - The SDKs fail open. When Ledger can’t answer
checkortrack, the TypeScript and Python SDKs allow the check and queue the usage, then replay it with the samerequest_id, so it is charged once. Business answers, such as a spent allowance, are never failed open, and you can turn fail open off (Fail open). - Expensive work fails closed. A check that reserves credits never fails open: if Ledger can’t answer, you don’t start the work.
- Stripe keeps billing. Subscriptions live in your Stripe account and renew there.
- New live charges can be stopped without stopping your product. You can turn Live off in Settings › Workspace, and Ledger can pause new live charges for every workspace during an incident. Either way, Checkouts and upgrades are refused while existing subscriptions keep renewing and
checkandtrackkeep working (Merchant Terms). - Deploys don’t drop requests. A new release starts and passes a health check before the old one stops, and database changes stay compatible with the release still serving traffic.
Compliance
SOC 2 Type I: in progress. We’re preparing for a SOC 2 Type I audit (Security criteria) with Vanta, and have engaged an audit firm. We expect the report in January 2027. To request our security documentation in the meantime, email security@integrateledger.com. GDPR. For data about your customers, you are the controller and Ledger is your processor. The Data Processing Addendum covers that processing, including the Standard Contractual Clauses for transfers from the EEA, the UK and Switzerland, and notice of a personal data breach within 72 hours. You accept it with the Terms of Service; no signature is needed.Subprocessors
The DPA’s subprocessor list has locations, and changes are posted there at least 30 days before a new subprocessor starts. In Live, Stripe processes payments as your provider, not as Ledger’s subprocessor.