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

    Service responsible for handling withdrawal operations in the backoffice system.

    Only use this if the withdrawal method maps 1:1 with a Bank transaction.

    Index

    Constructors

    Methods

    • Processes a withdrawal operation by reconciling it with a Bank transaction.

      Parameters

      • args: { bankTransactionId: string; withdrawalId: string }

        The arguments object

        • bankTransactionId: string

          The ID of the Bank transaction to reconcile with

        • withdrawalId: string

      Returns Promise<void>

      When withdrawal doesn't exist for quote

      When withdrawal is already reconciled

      When Bank Transaction is reconciled by another incompatible type

      When withdrawal amount doesn't match Bank Transaction amount