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

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

Response

200 - application/json
ddddd

The response is of type object.