Skip to main content
GET
/
api
/
public
/
v1
/
events
/
{eventId}
Get event by ID (Admin Only)
curl --request GET \
  --url https://app.tagadapay.com/api/public/v1/events/{eventId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "evt_123",
  "accountId": "acc_456",
  "storeId": "store_123",
  "customerId": "cus_789",
  "eventType": "s_order_paid",
  "properties": {
    "orderId": "ord_123",
    "amount": 2999,
    "currency": "USD",
    "paymentId": "pay_456"
  },
  "draft": false,
  "processedAt": "2024-03-20T10:35:00Z",
  "createdAt": "2024-03-20T10:30:00Z",
  "customer": {
    "id": "cus_789",
    "email": "john@example.com",
    "firstName": "John",
    "lastName": "Doe"
  },
  "store": {
    "id": "store_123",
    "name": "My Store"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Path Parameters

eventId
string
required

Response

Successful response

The response is of type any.