cancel loan
POST/v1/loans/:loan_id/cancel
Cancel a loan that is still in pending_disbursement and money-safe to cancel (no posted lender funding transaction and no in-flight or completed disbursement). The loan and its ticket are cancelled atomically. Either the borrower or the lender on the loan may call this. A loan past pending_disbursement is rejected with 400; a pending_disbursement loan with committed money is rejected with 409 (needs a support-driven reversal).
Request
Responses
- 200
- 400
- 401
- 404
- 409
Loan cancelled
bad_request: Invalid input
unauthorized: Unauthorized
not_found: Resource not found
conflict: Request collides with current state