Implement Flexible Usage-Based Billing Solutions with RecurringStack™
Stop spending valuable time and resources building complex billing back-ends from scratch. Leverage our proven, reliable, and scalable usage-based billing solution.
Powerful Usage-Based Billing Features
RecurringStack™ empowers you to implement sophisticated usage-based billing models. Our platform supports pay-as-you-go billing, credit burn-down, and precise pricing control through customizable components.
Pay As You Go Billing
Bill customers for services as they use them. Usage is automatically linked to their ongoing subscription and calculated on-the-fly.
Precise Pricing Control
Easily adjust minimums, maximums, unit pricing, and starting quantities to match your business model.
Credit Burndown
Easily allow customers to prepay for usage and deduct from their credit as they utilize services.
Attach Metadata
Attach your own custom metadata to each reported usage event for cross platform tracking.
Take Control of Your Usage-Based Billing Now
Put our 20+ years of usage-based billing experience to work for your business.
Report usage as it happens with the RecurringStack™ API
Leverage our powerful API to instantly report new usage events from your SaaS platform or back-end systems, seamlessly updating a customer's existing subscription with their latest consumption data.
composer require recurringstack/recurringstack-php
# Report usage for a component
try {
$rs->reportUsageSubscription("subscription_id" => '', "customer_account_id" => '', "component_id" => '', "units" => '', "expression_type" => '');
} catch (recurringstack\apiException $e) {
$errorObj = $e->errorAsObject(); //Return the HTTP ->code and error ->message in an object.
}
import requests
# Set up the API parameters
parameters = {"subscription_id":'Value',"customer_account_id":'Value',"component_id":'Value',"units":'Value',"expression_type":'Value'}
# Make request
response = requests.patch("https://api.recurringstack.com/xml/Subscription/ReportUsage", params=parameters)
# Print the API response
print(response.content)
curl -X PATCH -d "subscription_id=Value&customer_account_id=Value&component_id=Value&units=Value&expression_type=Value" https://api.recurringstack.com/xml/Subscription/ReportUsage