Example case
In this example, we have an AI chatbot that offers:- 10 premium messages for free
- An option for customers to top-up premium messages in packages of $10 per 100 messages.
Configure Pricing
1
Create Features
Create ametered consumable feature for our premium messages, so we can track its balance.
2
Create Free and Top-up Plans
Create our free plan, and assign 10 premium messages to it. These are “one-off” credits, that will not reset periodically.
prepaid billing method.prepaid features require a quantity to be sent in when a customer attaches this product, so the customer can specify how many premium messages they want to top up with.
Implementation
1
Create an Autumn Customer
When your user signs up, create an Autumn customer. This will automatically assign them the Free plan, and grant them 10 premium messages.2
Checking for access
Every time our user wants to send a premium message, we’ll first check if they have enough premium messages remaining.3
Tracking premium messages
Now let’s implement our usage tracking and use up our premium messages. In this example, we’re using 5 premium messages.4
Purchasing top-ups
When users run out of premium messages, they can purchase additional messages using our top-up plan. In this example, the user is purchasing 200 premium messages, which will cost them $20.customer method.



