201 Successful Response
Schema: DebtContractApproveResponse
-
idstring required -
namestring required -
lenderstring required
/api/v1/businesses/{business_id}/cfo-portal/debt-schedule/approve-contract
Create a debt instrument from approved parsed contract terms.
Request Body:
contract: ParsedDebtContract from the parse endpoint (required).contract_s3_key: S3 key of the original PDF (optional, persisted
on the debt instrument for later retrieval).
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
business_id
string
required
Schema: DebtContractApproveRequest
contract
ParsedDebtContract
requiredParsedDebtContract Parsed contract payload returned by the parse endpoint.
name
string
required lender
string
required debt_type
string
required DebtTypeEnum value: term_loan, line_of_credit, mortgage, equipment_loan, sba_loan, convertible_note, revenue_based, other.
original_principal_cents
integer
required current_balance_cents
integer
required interest_rate_bps
integer
Annual interest rate in basis points (e.g. 500 = 5.00%). Set to 0 for revenue-based financing.
term_months
integer
Loan term in months. For revenue-based financing this is an estimate of months to cap based on assumed revenue.
start_date
string
required Contract start date as ISO-8601 YYYY-MM-DD.
maturity_date
string
required Maturity/expected payoff date as ISO-8601 YYYY-MM-DD. For RBF this is an estimate based on the share rate.
payment_frequency
string
PaymentFrequencyEnum value: monthly, quarterly, semi_annual, annual, bullet, or revenue_share.
payment_amount_cents
integer
Scheduled payment per period (fixed) or 0 for RBF.
revenue_share_bps
integer
Revenue-share rate in basis points; only set for revenue_based debt.
total_repayment_cap_cents
integer
Total dollar cap on cumulative repayments; only set for revenue_based debt.
summary
string
One-paragraph human summary of the contract.
confidence
number
Parsing confidence in [0, 1] reported by the LLM.
contract_s3_key
string
S3 key of the original uploaded contract; persisted on the debt instrument for later retrieval.
Schema: DebtContractApproveResponse
id
string
required name
string
required lender
string
required Schema: HTTPValidationError
detail
array · ValidationError
ValidationError loc
array · string | integer
required msg
string
required type
string
required input
object
ctx
object