Skip to main content
GET
/
v1
/
events
/
{id}
Retrieve
curl --request GET \
  --url https://{defaultHost}/v1/events/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "e4e3b01a-5c71-4a7b-9c1d-ea67e58a5378",
  "object": "event",
  "data": {
    "object": {
      "id": "6c72d604-3feb-4fc8-8d87-a9e43bf1aa5e",
      "object": "purchase",
      "live_mode": true,
      "quantity": 1,
      "revoked": false,
      "revoked_at": null,
      "revoke_at": null,
      "customer": "5662c69a-176a-4af5-89e6-adde46322604",
      "initial_order": "3bd1fceb-04de-4e7e-9b95-f319314af547",
      "license": null,
      "price": "5b8a0e12-62b9-4ec1-8256-612e77ba576d",
      "product": "86c7f393-afe7-4e0f-a5fc-a4cd5bdd7476",
      "subscription": null,
      "variant": null,
      "review": null,
      "created_at": 1780335082,
      "updated_at": 1780335082
    }
  },
  "type": "purchase.created",
  "account": "8e153426-67a7-43b1-8b28-f586708db4b9",
  "created_at": 1780335082
}

Documentation Index

Fetch the complete documentation index at: https://developer.surecart.com/llms.txt

Use this file to discover all available pages before exploring further.

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