Corgi BankDocumentation
OpenAPI

Withdraw from a certificate inside its term, forfeiting the product's days of interest

POST/accounts/{id}/early-withdrawals

Path parameters

idstringRequired

Headers

Idempotency-KeystringOptional

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

amountintegerRequired
operatorstringRequired
to_account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

Returns

200 OK

account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

amountintegerRequired
effective_datestring · dateRequired

A business date, YYYY-MM-DD

journal_idstringRequired

Example jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm

maturity_datestring · dateRequired

A business date, YYYY-MM-DD

penalty_amountintegerRequired
penalty_daysintegerRequired
rate_bpsintegerRequired
to_account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

Errors

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

400401403404409412413422424429500503

to move to open esc to close