Estimate fees for a hypothetical event
POST
/v1/events/estimate_fees
Estimate fees from a hypothetical event.
Aggregates current-period usage for the given metric, adds the hypothetical event’s contribution, and applies the charge model to return the estimated fee amount.
Request Body required
Section titled “Request Body required ” EstimateFeesRequest
Request body for fee estimation from a hypothetical event.
object
subscription_id
required
Subscription Id
string format: uuid
code
required
Code
string
properties
Properties
object
key
additional properties
any
Responses
Section titled “ Responses ”Successful Response
Unauthorized – invalid or missing API key
Subscription or charge not found
Billable metric code does not exist