v1
latestOpenAPI 3.1.02026-07-222392081.7 MBBillable events
Get billable event prices
Get previous price simulation results for a billable event. You can search by either calculation_id / record_id or both.
get/v1/events/prices
Query parameters
record_idstring
A unique identifier for your event, used to identify the event in your system and prevent duplicates.
Example:D32NAA8
A unique identifier for your event, used to identify the event in your system and prevent duplicates.
calculation_idstring
ID of the calculation.
Example:cal_1234567890
ID of the calculation.
Response
Event prices previously calculated
Example response
[
{
"id": "cal_1234567890",
"result": [
{
"customer_id": "cus_CrqwefTRWBWRT",
"event_timestamp": "2024-12-20T16:04:11Z",
"event_type": "api_call",
"product_id": "itm_AweveQEoewer",
"price_group": {
"id": "grp_QalW2vTAdkR6IY",
"name": "mastercard"
},
"record": {
"id": "D32NAA8",
"durationInMs": 32,
"isVerified": true
},
"amount_excluding_tax": 10000,
"tax_amount": 2000,
"total_amount": 12000,
"currency": "EUR",
"ingested": true,
"pre_calculated_at": "2024-12-20T16:04:11Z"
}
]
}
]