Skip to content
Developer documentation

Build billing into your product

A typed JSON REST API for subscriptions, usage, invoicing, and payments. Idempotent by design, with an explainable calculation behind every amount.

Make your first request

Create a key on the dashboard's API keys page, then create your first customer. The API lives at https://app.yrecurring.com/v1.

curl https://app.yrecurring.com/v1/customers \
  -H "Authorization: Bearer yr_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 1e4f6f2e-first-customer" \
  -d '{
    "display_name": "Acme Corp",
    "email": "[email protected]",
    "currency": "USD"
  }'

Step-by-step guides cover every part of the app. The API reference is generated from the same code that serves the API, so it is always current. It is also available as OpenAPI 3.1 and llms.txt so your tooling and agents can read it too.