Tier SDK

To use Tier at run-time in an efficient and easy manner, the use of a language-specific SDK is recommended. The current SDKs are currently available:

How Tier SDKs Work

All API calls from the SDK are made to the Tier sidecar running on localhost on port 8080.

The SDK will start the sidecar automatically, so long as the tier binary is installed somewhere in the PATH. You may also start the sidecar manually by running:

$ tier serve

See tier serve for more information.

To access live mode data, run:

$ tier --live serve

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.