ParseRail
api.thecompound.tech/v1
39 endpoints1 paused242/242 checks passingcredits from $20

Commerce & ops

Collections sequence

An overdue invoice → a ready-to-send collection sequence, escalating at the right pace and tone for how late it is.

POST/v1/dunning$0.08/sequence, 8 credits, charged only on success60 calls a minute per key

The example in the published schema

charged 0 credits
  1. auth (bearer key)
  2. per-key throttle
  3. validate body
  4. balance precheck
  5. run the capability
  6. charge credits ON SUCCESS ONLY
  7. JSON
The request body/v1/dunning
{
  "invoice": {
    "number": "INV-10428",
    "amount": 1255.5,
    "dueDate": "2026-06-15",
    "daysOverdue": 23
  },
  "customer": {
    "name": "Northwind Coffee",
    "history": "Usually pays on time; second late invoice this year."
  },
  "steps": 3
}
The responsepublished example
// sending the call
// 0 credits charged so far
curl https://api.thecompound.tech/v1/dunning \
  -H "Authorization: Bearer $COMPOUND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"invoice":{"number":"INV-10428","amount":1255.5,"dueDate":"2026-06-15","daysOverdue":23},"customer":{"name":"Northwind Coffee","history":"Usually pays on time; second late invoice this year."},"steps":3}'

Scored

11 of 11 field checks passed when the eval suite last ran against production, on 2026-07-08. Every endpoint's score

The Commerce & ops guide has this endpoint with its example response. The reference has every parameter.

More from Commerce & ops

Get a key and buy credits