Paywall tokenization

Use API providers to call external APIs such as OpenAI, Open Router, and others. Connect them to a paywall and charge tokens for each request.
 
  • When creating or editing paywall click “Enable tokenization”. You will be offered to set available queries settings.
    • notion image
  • Enter the count of included queries (e.g., 1000), the query price level (Free, Standard, Advanced, etc.), and name this query (e.g., Standard Queries or Generating Images). You can also enter a description and trial queries if you want.
    • 💡
      What is query price level? It will identify which query type needs to be charged when the user makes a request to this endpoint. You also need to choose the query price level when creating API Provider. For example, if a client buys a subscription with 1000 Standard queries and 400 Advanced queries included, they can make a request to the API provider with the query price level set to Standard. This will charge their balance 1 Standard query.
      💡
      How do trial queries work? If tokenization is enabled and the paywall is opened, the user will first be prompted to log in (without any plans). If the user is new, they will receive trial queries.
Now, tokenization is enabled. Next, you need to create an API Provider.
 
Read more: