Create a collateral pledge
/ledger/collateral/pledgesThe ledger's guard admits ledger:treasury:write on this route and refuses ledger:post; the store admits only verified treasury staff (never a service or an API key) who stepped up within five minutes. One live pledge per asset across every program, refused 409 conflict. A loan's facts are read from lending and the reservation is mirrored onto the loan after it commits; if lending does not answer the reservation stands and the call answers 424 dependency_failed, and replaying the key repeats the mirror.
Headers
Idempotency-KeystringRequiredSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
asset_kindstringRequiredSecurities_lot or loan
lender_idintegerRequiredreferencestringRequiredThe lot or loan id
Returns
200 OK
Errors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503