[Mifos-users] Seeking help on codes ot be used for Block/Unblock on Savings

7 views
Skip to first unread message

Srinivas Vadali

unread,
Jun 9, 2025, 11:25:03 PMJun 9
to A good place to start for users or folks new to Mifos.
Hello - I am trying to use the API POST https://Domain Name/api/v1/savingsaccounts/{savingsId}?command=block. The request body has a value for Code. Is that hard coded with what's shown or is that something that I need to configure?
{
   "officeId":1,
   "clientId":1,
   "savingsId":1,
   "resourceId":1,
   "changes":{
      "subStatus":{
         "id":400,
         "code":"SavingsAccountSubStatusEnum.block",
         "value":"Block",
         "none":false,
         "inactive":false,
         "dormant":false,
         "escheat":false,
         "block":true,
         "blockCredit":false,
         "blockDebit":false
      }
   }
}
The parameter highlighted above is what I am seeking help on    "code":"SavingsAccountSubStatusEnum.block",
Appreciate the help and guidance on this. If this is a configuration, can some one please advise on how to configure this

Regards
Reply all
Reply to author
Forward
0 new messages