201Successful Response
Schema: SuccessEnvelope_ParseDebtContractResponse_
successbooleanmessagestringcodestringdataParseDebtContractResponse
/api/v1/businesses/{business_id}/cfo-portal/debt-schedule/parse-contractParse an uploaded lending contract into structured terms and schedule.
Request Body:
s3_key: S3 key of an uploaded contract document (required).Returns: A draft :class:ParsedDebtContract and projected payout table.
Fixed-term loans return up to 12 months of amortization; revenue-based
financing returns a single "until cap" row instead of fabricated rows.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
business_idstringrequiredSchema: DebtContractParseRequest
s3_keystringrequiredS3 key of the uploaded debt contract document.
Schema: SuccessEnvelope_ParseDebtContractResponse_
successbooleanmessagestringcodestringdataParseDebtContractResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject