RevKeen Docs
Api reference

Days Sales Outstanding

Calculate DSO and collection health metrics


Related endpoints

  • GET /analytics/revenue/mrr-summary — MRR Summary
  • GET /analytics/revenue/time-series — Revenue Time Series
  • GET /analytics/invoices/ar-aging — A/R Aging Report
  • GET /analytics/customers/ltv — Customer LTV
  • GET /analytics/customers/{customerId} — Customer Analytics
  • GET /analytics/payment-links/conversion — Payment Link Conversion
  • GET /analytics/checkout/funnel — Checkout Funnel Analytics
  • GET /analytics/checkout/abandonment/summary — Abandonment Alert Summary
GET
/analytics/collections/dso
x-api-key<token>

Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.

In: header

Query Parameters

startDate?string

Start date (ISO 8601)

Formatdate-time
endDate?string

End date (ISO 8601)

Formatdate-time

Response Body

application/json

curl "https://api.revkeen.com/v2/analytics/collections/dso" \  -H "x-api-key: $REVKEEN_API_KEY"
{
  "dso": 0,
  "trend": "improving",
  "previousDso": 0,
  "periodStart": "string",
  "periodEnd": "string"
}