Corgi BankDocumentation
OpenAPI

Create an investment custody account

POST/investment-custody-accounts

Fresh verified staff with payments:investments:write proposes signed actual custodian onboarding and ownership, bound to the approved program, customer, original DDA and external beneficial account. Independent review is required. An enabled mapping must be current; a signed disabled revision stops new use without rewriting existing instructions.

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

custodian_referencestringRequired
enabledbooleanRequired
exclusive_core_instructionsbooleanRequired
external_account_referencestringRequired
key_idstringRequired
observed_atstring · date-timeRequired
onboardingobjectRequired

Document retains the actual external bytes, not a mutable reference alone.

3 child attributes
datastring · byteRequired
formatstringRequired
sha256stringRequired
opening_inventory_emptybooleanRequired

Original onboarding, never a claim that today's tracked lot book is empty

owner_idstringRequired
ownershipobjectRequired
2 child attributes
referencestringRequired
sha256stringRequired
program_idstringRequired
program_sha256stringRequired
signaturestringRequired
valid_untilstring · date-timeRequired
versionstringRequired

Returns

200 OK

The Investment Custody Account object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close