curl --request POST \
--url https://spark.test.woodcore.co/api/v2/savingsaccounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"activate": false,
"clientId": 1092,
"createdDate": "15 March 2022",
"productId": 1,
"openingBalance": "500"
}
'{}curl --request POST \
--url https://spark.test.woodcore.co/api/v2/savingsaccounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"activate": false,
"clientId": 1092,
"createdDate": "15 March 2022",
"productId": 1,
"openingBalance": "500"
}
'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
{}
The response is of type object.