POST
/
fixeddepositaccounts
/
{accountId}
/
prematureClose
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"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string
required
Example:

"default"

Body

application/json