Corgi BankDocumentation
OpenAPI

Create an investment order

POST/investment-orders

Fresh verified bound customer with customer scope consents to exact owner, account, current controls, disclosure, full quantity, price limit, fee limit and maximum BUY debit or minimum SELL proceeds. Staff cannot manufacture customer consent. Only individual single-owner USD custody is supported. Shared payment limits apply to BUY requests; exclusive full-lot reservation prevents short or competing sales. Actor/key/input replay retains the original stable order and lot identities.

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

account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

cash_limit_amountintegerRequired

BUY maximum total debit; SELL minimum net credit

currency_codestringRequired
custody_account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

disclosure_sha256stringRequired
instrument_idstringRequired
investment_consentbooleanRequired
limit_priceintegerRequired
lot_idstringOptional
max_fee_amountintegerRequired
owner_idstringRequired
program_idstringRequired
settlement_datestring · dateRequired

A business date, YYYY-MM-DD

sidestringRequired

BUY or SELL

trade_datestring · dateRequired

A business date, YYYY-MM-DD

unitsintegerRequired

Returns

200 OK

The Investment Order object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close