Skip to main content
POST
/
api
/
public
/
v1
/
events
/
list
curl --request POST \
--url https://app.tagadapay.com/api/public/v1/events/list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"pagination": {
"page": 1,
"pageSize": 20
}
}'
{
  "events": [
    {
      "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"
      }
    }
  ],
  "total": 1,
  "pageCount": 1,
  "options": {
    "appEvents.eventType": [
      "s_order_paid",
      "s_order_created",
      "s_payment_succeeded"
    ],
    "stores.id": [
      {
        "id": "store_123",
        "name": "My Store"
      },
      {
        "id": "store_456",
        "name": "Another Store"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
sortBy
object
pagination
object
filters
object

Response

Successful response

The response is of type any.