Documentation

Developer docs

Build subscription billing into your product with a REST API, a typed TypeScript client and signed webhooks. Start with the quickstart, then follow the recipes.

Everything the dashboard does, your code can do over HTTP.

  • Quickstart — a test key, then a paid subscription, in TypeScript or curl.
  • Test and live mode — the two modes of every business, and test cards for every failure.
  • Concepts — the objects and how money moves between them.
  • Recipes — trials, usage-based billing, one-time purchases, failed payments, India GST and mandates.
  • API essentials — authentication, idempotency, errors and pagination.
  • Webhooks — signature verification, retries and the event catalogue.
  • API reference — every endpoint.
The guides cover the same jobs done by a person rather than by code.
Copyright © 2026