curl --request POST \
--url https://spark.test.woodcore.co/api/v2/savingsaccounts/{savingsId}/lien \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"transactionAmount": "10000",
"transactionDate": "17 March 2022"
}'
{}
curl --request POST \
--url https://spark.test.woodcore.co/api/v2/savingsaccounts/{savingsId}/lien \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"transactionAmount": "10000",
"transactionDate": "17 March 2022"
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
"1"
ddddd
The response is of type object
.