Skip to main content
GET
/
v1
/
api
/
superadmin
/
analytics
/
transactions
Get transaction analytics: volume, GMV, commission, average basket by period
curl --request GET \
  --url http://localhost:3091/v1/api/superadmin/analytics/transactions \
  --header 'Authorization: Bearer <token>'
{
  "volumeByPeriod": [
    {
      "period": "<string>",
      "count": 123,
      "amount": 123
    }
  ],
  "totalGmv": 123,
  "totalCommissions": 123,
  "averageBasketValue": 123
}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Query Parameters

period
string
default:monthly
startDate
string<date-time>
endDate
string<date-time>

Response

Transaction analytics retrieved

volumeByPeriod
object[]
totalGmv
number
totalCommissions
number
averageBasketValue
number