Paying for an Investment using Wallet Balance
Goal: To allow an investor to use the available funds in their platform Wallet to pay for a confirmed Investment.
Actors: Investor
Steps
Selection: During the "Investment Details" step of the investment process, the Investor selects "Wallet Balance" as their payment method. The
Investor Dashboarddisplays the wallet API's investment capacity (balance + inc_balance - out_balance).Validation: Upon submitting the "Investment Details" step, the
Investment Process Managementservice confirms theInvestmentdetails.Balance Check: It then calls the
Integrated Wallet Solutionto verify that theWallet's available balance is sufficient to cover theInvestmentamount.Fund Reservation: If the capacity check passes, the
Integrated Wallet Solutioncreates aninvestmentTransactionwithwaitstatus and increases the persistedout_balanceby the investment amount. This reserves the funds before provider submission.Legal Confirmation and Transfer Trigger: The
Investmentproceeds to theLEGALLY_CONFIRMEDstatus (assuming compliance checks pass). The Investment Process Management service instructs the Integrated Wallet Solution to finalize the payment.Internal Transfer: The
Integrated Wallet Solutionsubmits the reserved investment transfer. On completion, it debits the user'sWalletbalance, decreasesout_balance, and credits theOffer's collection wallet.Settlement: Upon successful wallet transfer completion from Dwolla, the wallet worker updates the
Investment'sfunding_statusto the lowercase wire valuesettled. This wallet path does not wait for an Offer close.Outcome: The investment is successfully paid using the investor's internal platform wallet balance, and its wallet transfer is recorded as
settled.