Skip to main content

Close Fixed Deposit Account

POST /api/v{version}/FixedDeposit/accounts/{accountId}/close

Description

This endpoint is used to close a fixed deposit account. Upon successful closure, the funds can be transferred to a specified savings account. You need to provide details such as a note, the ID of the savings account to which funds will be transferred, and an optional description of the transfer.

Parameters

  • accountId (integer, path, required): The ID of the fixed deposit account to be closed.
  • version (string, path, required): The version of the API.
  • Accept-Language (string, header, optional): Change the default response message language from English (en). Available languages are fr and en.

Request Body

  • Media Type: application/json

Example Value

{
"note": "Closing account due to maturity.",
"toSavingsAccountId": 12345,
"onAccountClosureId": "closure_67890",
"transferDescription": "Transfer of matured funds"
}

Responses

200 OK Media Type: Controls Accept header. Description: Indicates the success of the fixed deposit account closure operation.

Example Value

{
"status": true,
"statusCode": 200,
"message": "Fixed deposit account closed successfully.",
"data": {
"accountId": 123456,
"closureId": "closure_67890"
},
"errors": []
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /api/v{version}/FixedDeposit/accounts/{accountId}/close \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!