PPylon Developers
ApiPayment Administration

Get payment statistics

Returns aggregated payment statistics for an event including revenue, refunds, and payment method breakdown.

GET
/api/v1/events/{eventId}/payments/statistics
AuthorizationBearer <token>

Enter your bearer token from the Pylon Auth API.

In: header

Path Parameters

eventId*string
Formatuuid

Response Body

application/json

application/json

application/problem+json

curl -X GET "https://loading/api/v1/events/497f6eca-6276-4993-bfeb-53cbbbba6f08/payments/statistics"
{
  "totalSessions": 0,
  "completedSessions": 0,
  "totalRevenue": 0.1,
  "refundedAmount": 0.1,
  "averagePaymentValue": 0.1,
  "paymentMethodBreakdown": {
    "property1": 0,
    "property2": 0
  },
  "splitPaymentPercentage": 0.1
}
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}