POST
/
loans
/
calculate
curl --request POST \
  --url https://spark.test.woodcore.co/api/v2/loans/calculate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "clientId": 1092,
  "createdDate": "15 March 2022",
  "duration": 12,
  "durationBy": "Month",
  "expectedDisbursementDate": "15 March 2022",
  "interestRate": 5,
  "interestType": "Flat",
  "linkDepositAccountId": 1,
  "numberOfRepayments": 12,
  "principal": 500000,
  "productId": 1,
  "repaymentEvery": 1,
  "repaymentFrequency": "Monthly"
}'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json
ddddd

The response is of type object.