Skip to main content

POST /api/sandbox/loans/{id}/action

POST 

/api/sandbox/loans/:id/action

Runs a direct action on an active Sandbox loan. This is a low-level shortcut for post-issuance operations: interest repayment, principal repayment, adding collateral, removing part of collateral, or increasing the loan.

For the cabinet-compatible repayment path, use POST /api/sandbox/loans/{id}/repayment-flow. This endpoint remains useful for simple business-logic and balance tests.

POST requests must include Idempotency-Key so a retry does not apply the same action twice.

Request

Responses

Updated Sandbox loan state