diff --git a/kits/next-supabase-turbo/billing/credit-based-billing.mdx b/kits/next-supabase-turbo/billing/credit-based-billing.mdx index 6c1ccc4..4f01b09 100644 --- a/kits/next-supabase-turbo/billing/credit-based-billing.mdx +++ b/kits/next-supabase-turbo/billing/credit-based-billing.mdx @@ -1,6 +1,6 @@ --- label: 'Credits Based Billing' -title: 'How to configure per seat billing in Makerkit' +title: 'How to configure credits based billing in Makerkit' position: 7 description: 'Learn how to configure credit based usage in your Next.js Supabase application' --- @@ -266,4 +266,4 @@ async function updateMessagesCountQuota(params: { We assume that we have a table named `plans` that stores the pricing information for each plan. We also assume that we have a table named `credits` that stores the credits consumed by each user. The `credits` table has a column named `tokens_quota` that stores the number of credits available to the user. -In the `onInvoicePaid` event handler, we get the variant ID from the invoice line items and update the `credits` table with the new credits. \ No newline at end of file +In the `onInvoicePaid` event handler, we get the variant ID from the invoice line items and update the `credits` table with the new credits.