Calculate usage costs in batch
1 min
POST
https://app.amberflo.io/payments/cost/usage-cost/batch
bodyarrayArray of usage cost calculation requests for batch processing across multiple customers or time periods
200Returns array of usage cost results corresponding to each batch request with detailed breakdowns
400Invalid batch parameters or malformed request array provided
401Authentication required or invalid API key provided
403Insufficient permissions to perform batch usage cost calculations
404Some customers or usage data not found in batch request
500Internal server error occurred during batch usage cost processing
curl --request POST \
--url https://app.amberflo.io/payments/cost/usage-cost/batch \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '[
{}
]'