diff --git a/developer-resources/subscription-with-usage-based-billing-tutorial.mdx b/developer-resources/subscription-with-usage-based-billing-tutorial.mdx new file mode 100644 index 0000000..a07ffa0 --- /dev/null +++ b/developer-resources/subscription-with-usage-based-billing-tutorial.mdx @@ -0,0 +1,108 @@ +--- +title: Subscription with Usage Based Billing Tutorial +description: This tutorial demonstrates the integration of products with flat subscription with Usage Based Billing. +icon: "credit-card" +--- + +## Step 1: Creating a Meter +Meters define how your usage events are aggregated and measured for billing purposes. + +Read More: [Meter](https://docs.dodopayments.com/developer-resources/usage-based-billing-guide#creating-a-meter) + + + Creating a Meter + + + +Review your meter details and click on **Create**. + + +Your meter is sucessfully created and is ready to use. + + + + +## Step 2: Creating a Product +Create a product for your customers. + +Read More: [Product](https://docs.dodopayments.com/) + + + +Provide the basic details for your product. + + + Creating a Product + + + + +Configure the pricing details for your product. + + + + + + Creating a Product + + + + Select Usage Based Billing for your product. + + + + Set the price for your product/subscription. + + + + + Enter any discount that applies to the product or subscription. + + + + + Select the duration after which the subscription renews. + + + + + Enter the deadline for the subscription. + + + + + + + Creating a Product + + + + Select the required meter for your product. + + + + Set up the price per unit for your service. + + + + Set the free threshold limit. + + + + Threshold value is the number of units customers can consume at no charge before paid usage calculation starts. + + + + +Review your product details and click on **Add Product**. + + +Your product is sucesfully created. + + + + + + + +This sets up the product with flat subscription using usage based billing feature. \ No newline at end of file diff --git a/docs.json b/docs.json index 7f9f6ca..8c2f45c 100644 --- a/docs.json +++ b/docs.json @@ -125,6 +125,7 @@ "developer-resources/usage-based-billing-guide", "developer-resources/integration-guide", "developer-resources/subscription-integration-guide", + "developer-resources/subscription-with-usage-based-billing-tutorial", "developer-resources/subscription-upgrade-downgrade", "developer-resources/integration-tutorial", "developer-resources/overlay-checkout", diff --git a/images/guides/subscription-with-usage-based-billing/meter.png b/images/guides/subscription-with-usage-based-billing/meter.png new file mode 100644 index 0000000..141c4d4 Binary files /dev/null and b/images/guides/subscription-with-usage-based-billing/meter.png differ diff --git a/images/guides/subscription-with-usage-based-billing/product-1.png b/images/guides/subscription-with-usage-based-billing/product-1.png new file mode 100644 index 0000000..ab6bf9f Binary files /dev/null and b/images/guides/subscription-with-usage-based-billing/product-1.png differ diff --git a/images/guides/subscription-with-usage-based-billing/product-2.png b/images/guides/subscription-with-usage-based-billing/product-2.png new file mode 100644 index 0000000..377182b Binary files /dev/null and b/images/guides/subscription-with-usage-based-billing/product-2.png differ diff --git a/images/guides/subscription-with-usage-based-billing/product-3.png b/images/guides/subscription-with-usage-based-billing/product-3.png new file mode 100644 index 0000000..7dce595 Binary files /dev/null and b/images/guides/subscription-with-usage-based-billing/product-3.png differ