Billable events
Get billable event prices
API documentation
Integrations
Analytics
Billable events
Companies
Custom properties
Customers
Customers > Credits
Customers > Payment methods
Integrations
Invoices
Invoices > Transactions
Invoicing entities
Organisations
Payments
Price configurations
Products
Quotes
Subscriptions
- GETGet subscriptions
- GETGet subscription
- GETGet subscription phases
- GETGet subscription phase
- POSTCreate subscription update
- POSTCreate subscription updates
- POSTCreate subscription
- PUTUpdate subscription
- POSTActivate subscription
- POSTCancel subscription
- POSTPause subscription
- POSTReactivate subscription
- POSTRefresh seat products
- POSTRefresh subscriptions
- POSTReinstate subscription
- POSTTransition subscription to next phase
Third-party apps
Wallets
Billable events
Get billable event prices
Get previous calculation results for a billable event. You can search by either calculation_id / record_id or both.
GET
/
v1
/
events
/
prices
curl --request GET \
--url https://ingest.hyperline.co/v1/events/prices \
--header 'Authorization: Bearer <token>'
[
{
"id": "cal_1234567890",
"result": [
{
"customer_id": "cus_CrqwefTRWBWRT",
"event_timestamp": "2024-12-20T16:04:11Z",
"subscription_id": "<string>",
"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"
}
]
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
A unique identifier for your event, used to identify the event in your system and prevent duplicates.
Example:
"D32NAA8"
ID of the calculation.
Example:
"cal_1234567890"
Response
200 - application/json
Event prices previously calculated
The response is of type object[]
.
Was this page helpful?
curl --request GET \
--url https://ingest.hyperline.co/v1/events/prices \
--header 'Authorization: Bearer <token>'
[
{
"id": "cal_1234567890",
"result": [
{
"customer_id": "cus_CrqwefTRWBWRT",
"event_timestamp": "2024-12-20T16:04:11Z",
"subscription_id": "<string>",
"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"
}
]
}
]