@cfxlabsinc/b2b-services
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Re-kicks the rail-appropriate initiate*WithdrawalWorkflow for a withdrawal that's stuck in CREATED/PENDING. Idempotent: skips the start if the existing workflow handle (workflowId = withdrawalId) is still RUNNING, mirroring LedgerAccountTransferWorkflowService.create.

      Parameters

      Returns Promise<
          | { ok: true; value: void }
          | {
              error:
                  | ServiceError<"WITHDRAWAL_NOT_FOUND", { id: string }>
                  | ServiceError<
                      "WITHDRAWAL_RETRY_UNSUPPORTED",
                      {
                          methodId: | "US_WIRE"
                          | "SWIFT_WIRE"
                          | "US_ACH"
                          | "US_INSTANT"
                          | "MX_SPEI"
                          | "US_WIRE_DRAWDOWN"
                          | "AF_WITHDRAWAL"
                          | "ACH_PULL"
                          | "BLOCKCHAIN";
                      },
                  >;
              ok: false;
          },
      >