Corgi BankDocumentation
OpenAPI

Create a reverse repo

POST/ledger/reverse-repos

The 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-KeystringRequired

Send 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_bpsintegerRequired
collateralarray of objectsRequired
3 child attributes
cusipstringRequired
descriptionstringOptional
market_value_amountintegerRequired
counterparty_idintegerRequired
day_countstringRequired

Actual_360 or actual_365

haircut_bpsintegerRequired
kindstringRequired

Reverse_repo, tri_party_reverse_repo or buy_sell_back

maturity_datestring · dateRequired

A business date, YYYY-MM-DD

principal_amountintegerRequired
referencestringOptional
start_datestring · dateRequired

A business date, YYYY-MM-DD

tri_party_agentstringOptional

Returns

200 OK

The Reverse Repo object.

Errors

Every error is a problem document with a stable code. See Errors.

400401403404409412413422424429500503

to move to open esc to close