Calculate usage-based costs
1 min
POST
https://app.amberflo.io/payments/cost/usage-cost
bodyobjectUsage cost calculation parameters including customer ID, time period, and cost breakdown preferences
200Returns detailed usage cost breakdown with pricing calculations and charge allocations
400Invalid usage cost parameters or unsupported time period format
401Authentication required or invalid API key provided
403Insufficient permissions to access usage cost data
404Customer or usage data not found for specified parameters
500Internal server error occurred while calculating usage costs
curl --request POST \
--url https://app.amberflo.io/payments/cost/usage-cost \
--header 'accept: application/json'