Create a reverse repo
/ledger/reverse-reposThe 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 reverse_repo (bilateral), tri_party_reverse_repo (names tri_party_agent) or buy_sell_back (two distinct trades, economically a reverse repo). The bank is the cash lender: cash out of the master account into a resale asset on GL 1150, interest income on GL 4030, haircut collateral covering the full repurchase amount priced on the bankrepo engine, refused 409 conflict when coverage fails. A repo_counterparty is required; other lender kinds are refused. Liability-side classic repo remains the bank-owned repo program on GL 2430.
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
annual_rate_bpsintegerRequiredcollateralarray of objectsRequired3 child attributes
cusipstringRequireddescriptionstringOptionalmarket_value_amountintegerRequiredcounterparty_idintegerRequiredday_countstringRequiredActual_360 or actual_365
haircut_bpsintegerRequiredkindstringRequiredReverse_repo, tri_party_reverse_repo or buy_sell_back
maturity_datestring · dateRequiredA business date, YYYY-MM-DD
principal_amountintegerRequiredreferencestringOptionalstart_datestring · dateRequiredA business date, YYYY-MM-DD
tri_party_agentstringOptionalReturns
200 OK
The Reverse Repo object.
Errors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503