Create a collateral lender
/ledger/collateral/lendersThe 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. kind is fhlb (advances under GL 2410), federal_reserve_discount_window (GL 2420) or repo_counterparty (GL 2430, no advances); evidence_keys holds one to ten base64 ed25519 public keys by key id. The lender holds pledges and advances only once a different treasury checker approves it.
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
evidence_keysobjectRequiredKey id to base64 ed25519 public key the lender signs statements with
identifiersobjectOptionalkindstringRequiredFhlb, federal_reserve_discount_window or repo_counterparty
legal_namestringRequiredReturns
200 OK
Errors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503