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