Corgi BankDocumentation
OpenAPI

Deliver a correspondent's camt.052 intraday report, camt.053 statement or camt.054 notification received over SWIFT (or by staff), reconciled on arrival

POST/ledger/correspondent/messages

The SWIFT gateway service (svc_payments) reaches this route with one scope and nothing else of the ledger's: ledger:correspondent:route reads settlement routes, ledger:correspondent:post posts movements, ledger:correspondent:statement delivers cash management messages. A camt.052.001.08, camt.053.001.08 or camt.054.001.08 Document of at most 8 MiB, as received. Every delivery is receipted: a message or page already retained replays, and a page retained with other content, a claimed electronic sequence number, a statement that does not roll forward or precedes the account's boarding statement, and an account or servicer the registry does not hold are refused with the reason. An accepted delivery reconciles the account and evaluates its liquidity.

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

documentstring · byteRequired

Base64 in JSON

network_refstringOptional
possible_duplicatebooleanOptional
sender_bicstringOptional

Returns

200 OK

follow_up_errorsarray of stringsOptional
receiptobjectRequired

MessageReceipt is the outcome of one delivered cash management message: accepted (its pages retained), replayed (retained before) or refused, with the reason.

11 child attributes
idintegerRequired
message_definitionstringOptional
message_sha256stringRequired
network_refstringOptional
outcomestringRequired
reasonstringOptional
received_atstring · date-timeRequired
received_bystringRequired
sender_bicstringOptional
sourcestringRequired
statement_idsarray of stringsRequired
statementsarray of objectsRequired
14 child attributes
closing_booked_amountinteger or nullOptional
closing_booked_datestringOptional
currency_codestringRequired
electronic_sequenceinteger or nullOptional
entriesintegerRequired
idstringRequired
last_pagebooleanRequired
message_definitionstringRequired
nostro_account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

opening_booked_amountinteger or nullOptional
page_numberintegerRequired
received_atstring · date-timeRequired
sourcestringRequired
statement_idstringRequired

Errors

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

400401403404409412413422424429500503

to move to open esc to close