Skip to main content
GET
/
v1
/
events
/
{id}
Retrieve
curl --request GET \
  --url https://{defaultHost}/v1/events/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "cffbbc13-373b-41fc-b382-2f28bfe72be2",
  "object": "event",
  "data": {
    "object": {
      "id": "9c59feec-c633-4759-a556-43292bd982a4",
      "object": "purchase",
      "live_mode": true,
      "quantity": 1,
      "revoked": false,
      "revoked_at": null,
      "revoke_at": null,
      "customer": "e7b2b9fc-fe9b-417c-9fd7-8f3a77fedd4b",
      "initial_order": "d47b6ea1-9d60-4d45-bd93-e4b999e8fef2",
      "license": null,
      "price": "4710f554-67f3-4557-9ffd-46c19d7d7226",
      "product": "69809d8d-8238-4556-a5f4-390c734b3157",
      "subscription": null,
      "variant": null,
      "review": null,
      "created_at": 1772112946,
      "updated_at": 1772112946
    }
  },
  "type": "purchase.created",
  "account": "540273e0-a588-43b4-9f90-ecb23d335727",
  "created_at": 1772112946
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

200 - application/json

Success

id
string | null

The UUID of the specific object.

object
string

A string describing the object type returned.

account

Expandable – The associated account ID.

created_at
integer

Time at which the object was created. Measured in seconds since the Unix epoch.

type
string

Description of the event (e.g., subscription.updated or charge.updated).