Endpoint
Which overdue invoices to chase first
Prioritized AR buckets so you start with the largest balances first.
Rank AR buckets so collections starts with the dollars that move the needle.
POST /api/v1/ar-aging-accelerator
Try in playgroundWhat it returns
Prioritized collection list across AR buckets.
Structured fields: prioritized[]
Extra envelope blocks: ar_aging
Responses always include a template-generated narrative string alongside structured — safe to show to non-technical stakeholders when you need a spoken summary.
Response shape
Every successful response includes the same top-level keys: endpoint, account_id, processing (ephemeral mode + note), structured, and narrative.
Structured subfields for this route: prioritized[]
Minimal example
{
"endpoint": "ar-aging-accelerator",
"account_id": "acct_demo_001",
"processing": {
"mode": "ephemeral",
"note": "Cashytics processes this request in memory only. Your payload is not stored as a ledger of record after the response is sent."
},
"structured": {
"prioritized": [
{
"bucket": "0-30d",
"amount_minor": 180000,
"collection_score": 95
},
{
"bucket": "31-60d",
"amount_minor": 95000,
"collection_score": 83
}
]
},
"narrative": "Collections priority\nLead bucket: 0-30d (180000 minor units)\nRanked rows: 2\n\nThis narrative is generated from structured signals using fixed templates."
}Minimal curl
curl -sS -X POST "https://api.cashytics.com/api/v1/ar-aging-accelerator" \
-H "Authorization: Bearer cyt_live_YOUR_SECRET" \
-H "Content-Type: application/json" \
-d @envelope.jsonUse the same envelope.json for every endpoint — add optional blocks when this route requires them.