tier serve

tier serve [--addr <addr>] [--live]

This command starts a web server that exposes the Tier API over HTTP listening on the provided service address.

The default service address is localhost:8080.

To run the service against your live data, run:

tier serve --live

This will only work if the key minted with tier connect is granted write access to "Billing Resources and Core Resources", or if a suitable STRIPE_API_KEY is set in the environment. See the tier connect documentation for more information.