curl --request POST \
--url https://api.example.com/api/insights \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"startDate": "2026-01-11",
"endDate": "2026-02-11",
"filters": [
{
"fieldName": "currency",
"fieldValues": [
"USD"
]
}
],
"queryObject": "payment-statistics-query",
"aggregationPeriod": "daily"
}
'