Links

How Tier is designed

We've structured Tier as a service you can run yourself (or have us run for you). It is made up of 3 components:
  1. 1.
    The Tier CLI. The CLI performs several tasks such as:
    • Processing your pricing.json file and applying the changes to Stripe
    • Acting as a metering service
    • Providing responses for entitlement and access checks from the SDK
  2. 2.
    Tier SDK. Our SDKs are what you implement in your own codebase. The SDK will talk to the Tier service to do things such as
    • Record or update usage data
    • Check entitlements as provide an on/off response to you
    • Provide required information and meta data for things such as modals, paywalls, pricing pages, and more
  3. 3.
    Pricing Model, where you store your pricing schmea. This is processed by the Tier CLI and is how you create new plans, modify existing plans to create new versions, or create custom plans for individual customers. Define it in a pricing.json file, or via the Model Builder.
Last modified 1mo ago