Detach a loan from its partner
/lokta-lms/api/v1/loan-attributions/{id}Detaches a loan from its partner, which corrects the loan to Direct.
Equivalent to POST …/corrections with partner_id: null, and it behaves identically.
This is a correction, not a deletion. reason is required in the body, the change lands in the loan's attribution trail, and the trail outlives the row; read it at GET /v1/loan-attribution-corrections?loan_id=…, which keeps answering after the attribution is gone.
Offered because "remove this partner from the loan" is how an operator thinks about it, while the API models it as the loan becoming Direct. Same event, two vocabularies; one implementation.
Path parameters
idpath · string · requiredOpaque attribution id, spa_…
Header parameters
Idempotency-Keyheader · string · optionalPer-intent key
Request body application/json
reasonstring · requiredWhy the loan is being detached.
Responses
defaultdefault responseEvery request authenticates with HTTP Basic and carries a Tenant-Identifier header. See the conventions for dates, commands, pagination and errors.
Open this operation in the interactive explorer, or read it as Markdown.
This is the API reference for Lokta, the agentic loan servicing platform. Go to lokta.ai