Batch Window
Costs are grouped bycostBatchWindowRef, which is a hash of:
- Fee
eventName - Organization ID
- Timestamp window (time bucket)
Settlement
During settlement:- All costs for a window ref are aggregated
- A CostBatch record is created with total quantity and amount
- The batch is reported to the Stripe billing meter
- Stripe includes the usage in the next fee invoice
CostBatch Fields
windowRef: Unique identifier for the batch windowidentifier: Human-readable batch identifierquantity: Total units in the batchamount: Total amount in centscurrency: Organization currency