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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

record_id
string

A unique identifier for your event, used to avoid duplicates

Example:

"D32NAA8"

calculation_id
string

ID of the calculation.

Example:

"cal_1234567890"

Response

200 - application/json
Event prices previously calculated
id
string
required

ID of the calculation.

Example:

"cal_1234567890"

result
object[]
required