curl --request GET \
--url https://api.sprucecollective.co.uk/payments/stats \
--header 'Authorization: <api-key>'{}Get comprehensive payment statistics including totals, breakdowns, and analytics
curl --request GET \
--url https://api.sprucecollective.co.uk/payments/stats \
--header 'Authorization: <api-key>'{}Type "Bearer" followed by a space and JWT token.
Time period: 'day', 'week', 'month', 'year', 'all' (default: 'all')
Month (1-12) for month filtering
Year for month filtering
Filter by gateway
Filter by status
Filter by UTM source
Filter by UTM campaign
Start date (YYYY-MM-DD)
End date (YYYY-MM-DD)
OK
The response is of type object.