Fixed Deposit Accounts
Manage fixed deposit accounts with maturity tracking, premature closure, and interest calculations
/fineract-provider/api/v1/fixeddepositaccountsList fixed deposit accounts
Retrieves a list of all fixed deposit accounts.
Query Parameters
sqlSearchstringSQL-style search
externalIdstringFilter by external ID
offsetintegerPagination offset
Returns
Request
curl --request GET \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/fixeddepositaccounts" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json"Response
{
"totalFilteredRecords": 25,
"pageItems": [
{
"id": 1,
"displayName": "Sample Item 1",
"status": "active"
},
{
"id": 2,
"displayName": "Sample Item 2",
"status": "active"
}
]
}/fineract-provider/api/v1/fixeddepositaccounts/{accountId}Retrieve fixed deposit account
Gets detailed information about a specific fixed deposit account.
Path Parameters
accountIdintegerrequiredAccount ID
Query Parameters
associationsstringInclude associated data
Returns
Request
curl --request GET \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/fixeddepositaccounts/:accountId" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json"Response
{
"id": 1,
"status": {
"id": 300,
"code": "statusType.active",
"value": "Active"
},
"officeId": 1,
"officeName": "Head Office",
"createdDate": "2024-01-15",
"lastModifiedDate": "2024-01-20"
}/fineract-provider/api/v1/fixeddepositaccountsSubmit new fixed deposit application
Creates a new fixed deposit account application.
Request Bodyrequired
Fixed deposit account details
clientIdintegerproductIdintegersubmittedOnDatestringdepositAmountnumberDeposit amount
depositPeriodintegerDeposit period
depositPeriodFrequencyIdintegerPeriod frequency type
externalIdstringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/fixeddepositaccounts" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"clientId": 1,
"productId": 1,
"submittedOnDate": "01 January 2024",
"depositAmount": 1000,
"depositPeriod": 1,
"depositPeriodFrequencyId": 1,
"externalId": "sample_externalId",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/fixeddepositaccounts/{accountId}?command=prematureClosePremature close fixed deposit
Closes a fixed deposit account before its maturity date, potentially with penalty.
Path Parameters
accountIdintegerrequiredAccount ID
Request Bodyrequired
Premature closure details
closedOnDatestringonAccountClosureIdintegerClosure type (transfer/withdrawal)
toSavingsAccountIdintegerTarget savings account
paymentTypeIdintegernotestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/fixeddepositaccounts/:accountId?command=prematureClose" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"closedOnDate": "01 January 2024",
"onAccountClosureId": 1,
"toSavingsAccountId": 1,
"paymentTypeId": 1,
"note": "sample_note",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}/fineract-provider/api/v1/fixeddepositaccounts/{accountId}?command=calculatePrematureAmountCalculate premature closure amount
Calculates the amount that would be received if the fixed deposit is closed prematurely.
Path Parameters
accountIdintegerrequiredAccount ID
Request Bodyrequired
Calculation date
closedOnDatestringdateFormatstringlocalestringReturns
Request
curl --request POST \
--url "https://your-fineract-instance.com/fineract-provider/api/v1/fixeddepositaccounts/:accountId?command=calculatePrematureAmount" \
--header "Authorization: Basic {credentials}" \
--header "Fineract-Platform-TenantId: default" \
--header "Content-Type: application/json" \
--data '{
"closedOnDate": "01 January 2024",
"dateFormat": "01 January 2024",
"locale": "sample_locale"
}'Response
{
"officeId": 1,
"resourceId": 1,
"changes": {}
}Was this page helpful?