ApiPayments
Get tenant payment statistics
Returns payment statistics with method breakdown for the current tenant.
Authorization
Bearer AuthorizationBearer <token>
Enter your bearer token from the Pylon Auth API.
In: header
Response Body
application/json
curl -X GET "https://loading/api/v1/payments/sessions/statistics"{
"totalRevenue": 0.1,
"totalTransactions": 0,
"refundedAmount": 0.1,
"methodBreakdown": [
{
"method": "string",
"transactions": 0,
"revenue": 0.1,
"avgAmount": 0.1,
"successRate": 0.1
}
]
}