Corgi BankDocumentation
OpenAPI

Hand a claimed receipt back to operations once its command's journal key is fenced with nothing committed

POST/transfers/retirement-receipts/{rail}/{receipt}/claims/{claim}/releases

Internal accounts service handoff. Hands a claimed receipt back to operations after the accounts service fenced the command's ledger key; refuses when a journal committed under that key. The receipt then returns to its sender through the rail's own return.

Path parameters

railstringRequired
receiptstringRequired
claimstringRequired

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.

Returns

200 OK

account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

amount_minorintegerRequired
claimed_atstring · date-timeRequired
claimed_bystringRequired
command_idstringRequired
currencystringRequired
idstringRequired
journal_idstringOptional

Example jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm

journal_keystringRequired
ledger_account_idstringRequired

Example lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm

railstringRequired
receipt_idstringRequired

Example achr_2tVh8nqLxq4GbDe0K1F6S9zRcWm

resolved_atstring · date-time or nullOptional
statusstringRequired
transfer_idstringRequired

Example acht_2tVh8nqLxq4GbDe0K1F6S9zRcWm

Errors

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

400401403404409412413422424429500503

to move to open esc to close