Skip to main content
GET
/
v1
/
events
/
{id}
Retrieve
curl --request GET \
  --url https://{defaultHost}/v1/events/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "9e177d97-2d55-4044-83b7-813ab0e37f7a",
  "object": "event",
  "data": {
    "object": {
      "id": "a0182699-22b5-4642-a597-0a0354c33ee2",
      "object": "purchase",
      "live_mode": true,
      "quantity": 1,
      "revoked": false,
      "revoked_at": null,
      "revoke_at": null,
      "customer": "1778aa5d-49a5-45ec-9a9f-116c8b97ae78",
      "initial_order": "ece16414-f6ae-438c-9aea-39ef745d00bd",
      "license": null,
      "price": "ddce6833-b750-4776-9916-2c981c23c25c",
      "product": "3c6167d1-0750-4133-9fa5-2497d7aad5e7",
      "subscription": null,
      "variant": null,
      "review": null,
      "created_at": 1771429865,
      "updated_at": 1771429865
    }
  },
  "type": "purchase.created",
  "account": "5d5a0f2d-6dd5-4175-815a-65d44eb50a8a",
  "created_at": 1771429865
}

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