Skip to main content
Ledger keeps balances and usage exact, charges your customers through your own Stripe account, and keeps your product answering when something fails. This page covers what that means for your money, your data and your uptime. The legal terms are in the Terms of Service, the Merchant Terms, the Privacy Policy and the Data Processing Addendum.

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 refund option on an endpoint.
  • Sandbox runs on test money. Sandbox uses a Stripe test account, with its own keys, catalog and customers (Sandbox).
You can connect your Stripe account with Connect with Stripe, in which case Ledger never holds your Stripe key, or with a secret key (Stripe). Rolling the key in Stripe or disconnecting it in Ledger withdraws Ledger’s access.

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 a ledger_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. track records a request_id once 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 an idempotencyKey that 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, track refuses it and charges nothing (Balances).
  • Retries are safe. A 429 records nothing, and sending track again with the same request_id never charges twice (Limits).
  • Signed webhooks. Every webhook Ledger sends carries a Ledger-Signature HMAC-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.
If you find a balance, usage record or charge you think is wrong, email support@integrateledger.com within 30 days (Merchant Terms).

Availability and failure behaviour

  • Published latency and limits. check answers in under 25 ms and track in 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 check or track, the TypeScript and Python SDKs allow the check and queue the usage, then replay it with the same request_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 check and track keep 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.

Reporting a vulnerability

Email security@integrateledger.com with what you found and how to reproduce it. The address is also in security.txt. Don’t test against other customers’ data or degrade the service. If you suspect a key has leaked, revoke it in Settings › API keys and roll any Stripe key in Stripe.