Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1751

Saving Account - Allow using batch API for deposit, withdraw, holdAmount, releaseAmount, data table query

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 1.9.0
    • 1.9.0
    • Savings

    Description

      Goal

      Have it supported to call the batch API, in which there are multiple

      • get account balance ({url}/savingsaccounts/{accountId})
      • deposit
      • withdraw
      • insert data into data table
      • holdAmount
      • releaseAmount

      commands, related to a Saving account. Make it possible to perform all the ones that are included in a batch as 1 transaction.

      Example use cases - but should work generally

      Case 1 in one trx:

      1. get balance
      2. withdraw
      3. insert transaction details into a data table
      4. withdraw
      5. insert transaction details into a data table
      6. deposit
      7. insert transaction details into a data table
      8. deposit
      9. insert transaction details into a data table

      Case 2 in one trx:

      1. get balance
      2. withdraw
      3. withdraw
      4. deposit
      5. deposit
      6. insert transaction details into a data table
      7. insert transaction details into a data table
      8. insert transaction details into a data table
      9. insert transaction details into a data table

      Case 3 in one trx:

      1. deposit
      2. insert transaction details into a data table

      Case 4 in one trx:

      1. get balance
      2. withdraw
      3. deposit
      4. insert transaction details into a data table

       

       

      Attachments

        Issue Links

          Activity

            People

              ezolnbl Zoltán Nébli
              peter.santa Peter Santa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: