Starts the top-level cancelLedgerAccountWithdrawalWorkflow which voids the
redemption (skipped for batched ACH-credit), undoes any virtual account
sweep, and refunds the user's ledger account to flip the withdrawal to
RETURNED. skipReturn marks the withdrawal FAILED instead and sends
the funds to refundLedgerAccountId when given; skipSweepUndo leaves a
performed virtual account sweep in place. Uses a distinct workflow id
(cancel-<id>) so it doesn't collide with the still-pending initiate
workflow handle that owns <id>.
Optionalreason?: stringOperator-entered reason, recorded on the FAILED/RETURNED transition.
OptionalrefundLedgerAccountId?: stringWith skipReturn, the ledger account the funds go to instead.
OptionalskipReturn?: booleanOptionalskipSweepUndo?: booleanRe-kicks the rail-appropriate initiate*WithdrawalWorkflow for a stuck
withdrawal, refusing one already COMPLETED, FAILED or RETURNED. Idempotent: skips the
start if the existing workflow handle (workflowId = withdrawalId) is
still RUNNING, mirroring LedgerAccountTransferWorkflowService.create.
The process default: retries start on the queue the
temporalnamespace names.