API version 2026-09-01 is live

Billing infrastructure you can read like source code.

Certainty is the payments and billing platform for teams who integrate it. Look up any customer, invoice, or transaction in seconds, and debug every API call with the tools you already think in.

  • One REST API for customers, invoices, and money movement
  • Unlimited isolated sandboxes, seeded with realistic data
  • Every request logged with full payloads and one-click replay

Create your developer account

Free sandbox, test keys in under a minute. No card required.
  • Not met: At least 8 characters
  • Not met: An uppercase letter
  • Not met: A lowercase letter
  • Not met: A digit
  • Not met: A special character

Five lines to your first charge.

Predictable resource-oriented URLs, idempotent writes, and responses that link every object to the ones around it. Charges point to invoices, invoices point to customers.

curl https://api.certainty.dev/v1/charges \
  -H "Authorization: Bearer sk_test_..." \
  -H "Idempotency-Key: order_8812" \
  -d amount=4900 \
  -d currency=usd \
  -d customer=cus_N7wQe2Kd
Response200 OK84 ms
{
  "id": "txn_3Pq8LmVb2KdM",
  "object": "transaction",
  "type": "charge",
  "amount": 4900,
  "fee": 172,
  "net": 4728,
  "status": "succeeded",
  "invoice": "in_7HcWx0aQe",
  "request_id": "req_Yb21kPq9"
}

Platform

Every dollar, traceable to the line of code that moved it.

One ledger, connected views

Customers, invoices, and transactions are linked objects. Jump from a failed charge to its invoice to the customer who owes it, without exporting a single CSV.

Lookup that keeps up with support

Search by email, ID, or invoice number across every object. Answer "did my payment go through?" before the ticket is assigned.

Developer tools

A dashboard built for the people who integrate it.

Try the API explorer

Sandboxes per branch

Spin up isolated test environments for every pull request or CI run. Seeded with realistic data, reset in one click.

Replayable request logs

Full request and response bodies, latency, SDK version, and source IP. Replay any call in the API explorer to reproduce a bug.