Calculate Premature Amount
POST /api/v{version}/FixedDeposit/accounts/{accountId}/calculate-premature-amount
Description
This endpoint calculates the premature amount for a fixed deposit account. It takes into account the specified account ID and version to return the amount that can be withdrawn before the maturity date.
Parameters
- accountId (
integer($int32), path, required): The ID of the fixed deposit account. - 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 arefranden.
Responses
- 200 OK
- Media Type: Controls Accept header.
- Description: Success
- Example Value:
{
"amount": 1234.56,
"currency": "USD",
"status": "Success",
"message": "Premature amount calculated successfully"
}
LANGUAGE
CURL REQUEST
curl --request POST \
--url /api/v{version}/FixedDeposit/accounts/{accountId}/calculate-premature-amount \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!