Setting up Rebilling
If you are on an Enterprise plan, you have access to our rebilling system, which allows you to rebill your own clients for AI token usage!
Stripe Setup
The first step to setup rebilling with Capri is to set up a product/price in Stripe!
We recommend setting a price per unit per month, such as in this screenshot! The "unit" in this instance would be the number of times that your client reaches a certain usage limit, which you will later set in the portal! After setting up the price, you will then need to generate a Stripe API key. After generating the key, go to the billing tab in the Capri Portal, then select rebilling, and you will be prompted to enter this key!
Customer Setup
After doing so, you will then see the rebilling portal, where you can then add your clients to the rebilling system!
When you select, "Add User", you will then have a panel popup where you can enter the details for a client.
For the first field, Nickname, this is just where you can specify the name of a client. This can be useful if the client has the wrong name or a different name in Stripe. The second field, Provider, is where you can choose the platform that your client uses Capri through. If you are using the Capri API, then you can select that and enter in the API Channel that they are using in the next field. If you are using GoHighLevel, you can instead choose the subaccount that the client is using!
After selecting the channel and provider, you can then select the product and price that you created earlier, and then enter the Stripe customer ID for the client!
Finally, you can then set the usage count that you'd like to trigger a "unit" of the product that you chose earlier. You can either charge by token or by message count, and whenever the count that you choose is exceeded, a "unit" will be logged in Stripe. For instance, if you have the charge by set to tokens and the billing unit set to 1000, every 1000 tokens the user uses, a single "unit" will be logged in Stripe. For example, if the product you are using in Stripe is a monthly charge of 10 cents per unit, then for every 1000 tokens the user uses, they will incur a cost of 10 cents that will be charged via Stripe monthly!
Video Overview
We also have a video walkthrough that you can check out here!
Last updated