Skip to content

Multi-tenant billing

If you bill for several apps or companies, their data has to stay apart. Multi-tenant billing serves them all from one account and keeps the data separate. Payrudder isolates every tenant with Postgres row-level security and gives each app a sandbox and a live environment.

What you get

  • Row-level security forced on every Postgres table
  • A sandbox with a payment simulator next to every live environment
  • Rate limits and quotas per tenant
  • All your apps in one console

How it works

  1. 1Create an organisation and add your apps
  2. 2Test in the sandbox with test keys
  3. 3Go live with live keys
Screenshot of the Payrudder console for this feature.

Questions

Can one tenant see another tenant's data?

No. Every table has row-level security forced, and the tenant is set per transaction. A check in CI fails if a table is missing it.

What is the sandbox?

A test environment with test keys, a built-in payment simulator with fixed scenarios and a button that closes the period now.

Start billing by usage

The free plan covers your first live payments. Hook up one meter, close a month in test mode, then go live.