Skip to main content
GET
/
v1
/
events
/
{id}
Retrieve
curl --request GET \
  --url https://{defaultHost}/v1/events/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "2cedf836-05c1-4221-b454-35be1d811eca",
  "object": "event",
  "data": {
    "object": {
      "id": "21c8b874-5dd1-4bc0-9eb4-554658830a06",
      "object": "purchase",
      "live_mode": true,
      "quantity": 1,
      "revoked": false,
      "revoked_at": null,
      "revoke_at": null,
      "customer": "a036ecab-951d-40a7-a0ae-4efa6de4691b",
      "initial_order": "f3e583cf-b526-4921-b851-12374a4c3e1e",
      "license": null,
      "price": "e4f36993-2f44-4efc-b060-6075d57f0487",
      "product": "6ff407af-97bb-4ea5-ba59-e42c03e88ede",
      "subscription": null,
      "variant": null,
      "review": null,
      "created_at": 1776176528,
      "updated_at": 1776176528
    }
  },
  "type": "purchase.created",
  "account": "7cd9f2f6-c2e3-4b51-97d1-0d853ea74bcb",
  "created_at": 1776176528
}

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).