Method
GET /v1/analytics/payments/summary
Query Parameters
Start date (YYYY-MM-DD, inclusive).
End date (YYYY-MM-DD, inclusive).
Workspace identifier.
Headers
Bearer token with
analytics:read scope.curl "https://api.voyantcloud.com/v1/analytics/payments/summary?from=2025-02-01&to=2025-02-07&workspaceId=ws_abc" \
-H "Authorization: Bearer $VOYANT_API_KEY"
[
{ "day": "2025-02-01", "provider": "netopia", "status": "captured", "amount_cents_sum": 1580000, "cnt": 7 },
{ "day": "2025-02-01", "provider": "netopia", "status": "failed", "amount_cents_sum": 45000, "cnt": 1 },
{ "day": "2025-02-02", "provider": "bank", "status": "pending", "amount_cents_sum": 320000, "cnt": 3 }
]
Return payment totals grouped by provider and status.
GET /v1/analytics/payments/summary
analytics:read scope.curl "https://api.voyantcloud.com/v1/analytics/payments/summary?from=2025-02-01&to=2025-02-07&workspaceId=ws_abc" \
-H "Authorization: Bearer $VOYANT_API_KEY"
[
{ "day": "2025-02-01", "provider": "netopia", "status": "captured", "amount_cents_sum": 1580000, "cnt": 7 },
{ "day": "2025-02-01", "provider": "netopia", "status": "failed", "amount_cents_sum": 45000, "cnt": 1 },
{ "day": "2025-02-02", "provider": "bank", "status": "pending", "amount_cents_sum": 320000, "cnt": 3 }
]
status field to separate captured vs failed payments and monitor provider health over time.