Flag and charge past-due cycles

POST/api/v1/credit/cycles/assess-late

Flags past-due cycles and charges them under each program's configured late rule — rate basis, grace period, day count, compounding, and cap. A program with no late rule still gets the status flag but is not charged, since the rate basis would have to be invented. Idempotent per cycle per day, so re-running the sweep never double-charges. Pass dry_run to preview.

Operation ID: assess_late_cycles_api_v1_credit_cycles_assess_late_post·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

credit_line_idstring

Limit to one line. Omit to sweep the business.

as_ofstring · date

Treat this as today. Defaults to the current date.

dry_runboolean

Compute and report without charging.

Responses

201Successful Response

successboolean
messagestring
codestring
dataLateAssessmentResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject