Skip to main content

Create Fixed Deposit

POST /fixed-deposit

Description

Creates a new fixed deposit account for a user. This endpoint requires authentication headers and a request body with the details of the fixed deposit.

Headers:

NameTypeDescription
tenantIdstringThe unique identifier for the tenant (required).
countryCodestringThe country code (required).
userIdstringThe unique identifier for the user (required).

Request Body:

NameTypeDescription
requestIdstringA unique identifier for the request.
titlestringThe title of the fixed deposit account.
productIdintegerThe ID of the fixed deposit product.
depositAmountintegerThe amount to deposit in the fixed deposit account.
rollOverbooleanIndicates whether the deposit should be rolled over.
sourceAccountIdstringThe ID of the source account for the deposit.
rolloverTypestringThe type of rollover. Example: CAPITAL_PROFIT_ROLLOVER.

Example Request Body:

{
"requestId": "string",
"title": "string",
"productId": 0,
"depositAmount": 0,
"rollOver": true,
"sourceAccountId": "string",
"rolloverType": "CAPITAL_PROFIT_ROLLOVER"
}'

Sample Response: 200

{
"status": true,
"statusCode": 0,
"message": "string",
"data": {},
"errors": [
{
"message": "string",
"data": {},
"descriptiveMessage": "string"
}
]
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /fixed-deposit \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


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