RailzwayDocs

Build billing infrastructure with Railzway

Guides and API references for deterministic metering, pricing, subscriptions, invoicing, and payments.

Railzway Fare is the open monetization engine for modern SaaS products. Turn product usage into explainable charges and invoice-ready financial records while keeping pricing logic versioned, auditable, and under your control.

Contract-first by design

Every public API starts from versioned Protocol Buffer contracts and is available through gRPC and REST/JSON transcoding.

Start building

One billing flow, clear boundaries

usage event -> meter -> product -> effective rate -> contract
            -> rated charge -> credits -> invoice -> payment

Railzway keeps computation separate from collection. Finalizing an invoice records what is owed; collecting it is an explicit operation. This boundary makes every financial outcome easier to reproduce, inspect, and explain.

API essentials

Build on predictable platform conventions before integrating individual resources.

Deployment is your choice

Run Fare as open-source infrastructure in your environment or use Railzway Cloud for managed operations. The API contract and billing model remain the same across deployment models.

On this page