Re-tag a loan's counterparty type

PATCH/api/v1/loans/{instrument_id}/counterparty

Re-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.

Operation ID: update_loan_counterparty_api_v1_loans__instrument_id__counterparty_patch·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.

Parameters

Path

instrument_idstringrequired

Request body

counterparty_typeLoanCounterpartyTypeEnumrequiredLoanCounterpartyTypeEnum

Responses

200Successful Response

successboolean
messagestring
codestring
dataLoanCounterpartyUpdateResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

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