curl --request POST \
--url https://spark.test.woodcore.co/api/v2/intratransfer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"comment": "A description of the transfer",
"fromAccountId": 2,
"fromAccountType": "savings",
"fromClientId": 1,
"fromOfficeId": 1,
"toAccountId": 2,
"toAccountType": "savings",
"toClientId": 1,
"toOfficeId": 1,
"transactionDate": "17 March 2022",
"transferAmount": "112.45"
}'
{}
curl --request POST \
--url https://spark.test.woodcore.co/api/v2/intratransfer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"comment": "A description of the transfer",
"fromAccountId": 2,
"fromAccountType": "savings",
"fromClientId": 1,
"fromOfficeId": 1,
"toAccountId": 2,
"toAccountType": "savings",
"toClientId": 1,
"toOfficeId": 1,
"transactionDate": "17 March 2022",
"transferAmount": "112.45"
}'
{}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ddddd
The response is of type object
.