Search Fixed Deposit Account

To search for an existing fixed deposit account, you need to make a GET request to the specified endpoint:

GET /api/FixedDepositAccount/v1/Search This process allows you to retrieve information about existing fixed deposit accounts based on specific search parameters.

A successful request will return the details of the fixed deposit account that matches the search criteria.

Headers

Name
Value

Content-Type*

application/json

Authorization*

Bearer <token>

Request-Reference

{unique-reference}

Query Parameter

Name
Data Type (length)
Description

accountNumber

string

The unique number identifying the account

customerID

string

The unique identifier of the customer associated with the account

accountName

string

The name associated with the account

productCode

string

The code of the product associated with the account

accountOfficerCode

string

The code of the account officer managing the account

accountStatus

string

The current status of the account (e.g., Active, Inactive)

hasDisbursed

boolean

Indicates whether funds have been disbursed from the account using true or false

startDate

date

The start date of the account activity

endDate

date

The end date of the account activity

pageNumber

integer

The current page number for pagination

pageSize

integer

The number of records per page

sortColumn

string

The column by which the results are sorted

direction

string

The direction of the sort (e.g., ascending or descending)

Here is an example request and response with a sample payload sent to the endpoint in Curl format.

Sample Request
curl --location -g '{{baseurl}}/api/FixedDepositAccount/v1/Search?AccountNumber=1000002993&CustomerID=001&AccountName=Test&ProductCode=001&AccountOfficerCode=003&AccountStatus=Active&HasDisbursed=true&StartDate=2022-01-01&EndDate=2022-03-04&PageNumber=1&PageSize=10&SortColumn=DateCreated&Direction=asc' \
--header 'Authorization: bearer {token}' \
--header 'request-reference: {unique_reference}' \
--header 'Content-Type: application/json' \
--data ''
Respose: 200
{
  "status": true,
  "message": "string",
  "data": {
    "data": [
      {
        "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
        "accountNumber": "string",
        "accountName": "string",
        "productName": "string",
        "limit": 0,
        "tenure": 0,
        "dateCreated": "2023-01-29T15:00:25.475Z",
        "commencementDate": "2023-01-29T15:00:25.475Z",
        "maturityDate": "2023-01-29T15:00:25.475Z",
        "useDefaultFee": true,
        "feeCodes": [
          {
            "feeCode": "string"
          }
        ],
        "feeAmount": 0,
        "useDefaultInterest": true,
        "interestCode": "string",
        "interestAmount": 0,
        "securityPledged": true,
        "securityType": "string",
        "securityValuation": 0,
        "description": "string",
        "initiator": "string",
        "guarantorName": "string",
        "guarantorPhoneNumber": "string",
        "status": "string",
        "ledgerBalance": "string",
        "availableBalance": "string",
        "withdrawableBalance": "string"
      }
    ],
    "recordCount": 0
  }
}

Last updated