Release a stalled posting
Re-runs the parked posting through the ledger relay, which asks Midaz first. If Midaz holds it, the receipt is written and nothing is sent. If it does not and the lender’s record shows the posting was sent long ago, the call is refused (LENDER-0457) until the operator looks the posting key up in Midaz and repeats it with midazTransactionId, when Midaz holds the transaction (the receipt is written from it, nothing is sent), or with ledgerCheckedAbsentSentAt set to the case’s lastSentAt, when it holds nothing (that stale record is deleted and the posting is sent once; a record written after the check is never deleted). A midazTransactionId that is not this posting’s is refused (LENDER-0463). If Midaz still refuses, the case stays open (LENDER-0458); if it gives no answer, repeat the release (LENDER-0462). A posting that is not parked answers released false. The attempt is written to the contract’s audit history before anything is done.
Authorizations
JWT bearer token issued by the identity provider.
Path Parameters
Outbox event id of the parked posting, from the case list.
"550e8400-e29b-41d4-a716-446655440003"
Body
The case's lastSentAt, sent back only after the operator looked the posting key up in Midaz and it holds nothing. Releases a posting whose sent record Midaz cannot confirm (LENDER-0457) by sending it once, and only while the sent record is no younger than this value; ignored when midazTransactionId is given.
The id of the Midaz transaction that holds this posting, when the operator found it there (LENDER-0457). The lender reads that transaction by id, checks its correlationId metadata is this posting's key, and writes the receipt from it; nothing is sent.
Response
OK
True when this call closed the case: Midaz already held the posting and its receipt was written, or the posting was sent once. False when the posting was not parked (a receipt exists or it is not quarantined); nothing was changed.

