Corgi BankDocumentation
OpenAPI

Settle a business date's cleared purchases with the network

POST/cards/settlements

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

business_datestringRequired
networkstringRequired

Returns

200 OK

attemptintegerOptional
batch_keystringOptional
business_datestring · dateRequired

A business date, YYYY-MM-DD

cash_effective_datestring · date or nullOptional

A business date, YYYY-MM-DD

cleared_amountintegerRequired
countintegerRequired
inventory_knownbooleanRequired
journal_idstringOptional

Example jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm

more_availablebooleanRequired
networkstringRequired
replayedbooleanRequired
source_sha256stringOptional

Errors

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

400401403404409412413422424429500503

to move to open esc to close