curl --request POST \
--url https://spark.test.woodcore.co/api/v2/fixeddepositaccounts/{accountId}/close \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"closedOnDate": "06 March 2023",
"note": "Closing and transfering amount to savings",
"onAccountClosureId": "200",
"toSavingsAccountId": 2,
"transferDescription": "Transfered matured amount to savings account"
}'{}curl --request POST \
--url https://spark.test.woodcore.co/api/v2/fixeddepositaccounts/{accountId}/close \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"closedOnDate": "06 March 2023",
"note": "Closing and transfering amount to savings",
"onAccountClosureId": "200",
"toSavingsAccountId": 2,
"transferDescription": "Transfered matured amount to savings account"
}'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"default"
ddddd
The response is of type object.