200Successful Response
Schema: SuccessEnvelope_LoanCounterpartyUpdateResponse_
successbooleanmessagestringcodestringdataLoanCounterpartyUpdateResponse
/api/v1/loans/{instrument_id}/counterpartyRe-tag the counterparty classification of a loan.
Request Body:
counterparty_type: One of customer, vendor, shareholder,
employee, affiliate, other.Drives subledger grouping and shareholder-loan reporting.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
instrument_idstringrequiredSchema: LoanCounterpartyUpdateRequest
counterparty_typeLoanCounterpartyTypeEnumrequiredLoanCounterpartyTypeEnumSchema: SuccessEnvelope_LoanCounterpartyUpdateResponse_
successbooleanmessagestringcodestringdataLoanCounterpartyUpdateResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject