Skip to main content
POST
/
api
/
public
/
v1
/
events
/
statistics
curl --request POST \
--url https://app.tagadapay.com/api/public/v1/events/statistics \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
{
  "totalEvents": 1250,
  "eventsByType": [
    {
      "eventType": "s_order_paid",
      "count": 340
    },
    {
      "eventType": "s_payment_succeeded",
      "count": 340
    },
    {
      "eventType": "s_order_created",
      "count": 350
    },
    {
      "eventType": "s_checkout_started",
      "count": 220
    }
  ],
  "processedCount": 1200,
  "unprocessedCount": 50
}

Authorizations

Authorization
string
header
required

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

Body

application/json
storeId
string
startDate
string<date-time>
endDate
string<date-time>

Response

Successful response

The response is of type any.