Calculate revenue using pricing rules
1 min
POST
https://app.amberflo.io/payments/analysis/by-rule-revenue-calculator
bodyobjectAnalysis parameters including pricing rules, usage patterns, and calculation parameters
200Returns calculated revenue analysis results with plan-level revenue projections and breakdowns
400Invalid analysis parameters or unsupported pricing rule configurations
401Authentication required or invalid API key provided
403Insufficient permissions to perform revenue analysis
404Referenced pricing plans or customer data not found
500Internal server error occurred during revenue calculation
curl --request POST \
--url https://app.amberflo.io/payments/analysis/by-rule-revenue-calculator \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"type": "by-rule"
}'