Loan actions
Record a withdrawal
Record that the borrower withdrew inside a window you name. No interest and no fee.
POST
A withdrawal records that the borrower withdrew inside a window the sale gave them — a ticket cancelled at no cost. The Loan reads
withdrawn and is undone as a rescission undoes it: no interest and no fee from the anchor, everything received owed back by receipt, no money from the act’s date.
You state the window, in days from the anchor. The Platform checks the date against it and asserts nothing about the law it comes from — see Mexico.
Path parameters
Body
Response
201 with the whole Loan: state reads withdrawn, and the event carries window_days. Retry 200.