201Successful Response
Schema: SuccessEnvelope_DailySweepResponse_
successbooleanmessagestringcodestringdataDailySweepResponse
/api/v1/credit/sweeps/dailyDayZero internal; the nightly schedule runs this per business. Runs every step of the nightly sweep in order (the steps are listed under What runs on DayZero's schedule in the guide, and each run's steps names them). Each step that fails is recorded and the rest still run (status: partial); the run is logged under GET /credit/sweeps/runs/{run_id}. Open to any token on a sandbox business; on a live business an operator action (an API token receives 403).
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: DailySweepRequest
as_ofstring · dateaccruebooleanclose_periodsbooleanpush_spend_limitsbooleansync_cardsbooleanreconcile_settlementsbooleanrecognize_feesbooleanrecognize_interchangebooleansnapshot_bank_balancesbooleanemail_statementsbooleansend_noticesbooleanEmail the borrower notices each program has switched on, for the credit events since the last run.
run_assessmentsbooleanalert_adverse_actionsbooleanList pending adverse-action notices and alert on those due within five days or overdue. Nothing is sent.
review_limitsbooleanReview the limit of every line whose program has an enabled limit_review_policy and that has not been reviewed in the current cadence window.
verify_ledgersbooleanevaluate_readinessbooleanEvaluate every active program's launch readiness, store the result, and alert when a check that passed in the previous stored result fails now. Skipped on a sandbox.
run_collectionsbooleanEvaluate the program's delinquency ladder and apply the stage a line has reached (D-31). Actions are reversible; write-off stays an operator decision.
match_bank_settlementsbooleanSettle pending payments, and reverse returned ones, from the bank feed of the last 16 days, on programs with bank_settlement_matching on.
Schema: SuccessEnvelope_DailySweepResponse_
successbooleanmessagestringcodestringdataDailySweepResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.