PUT
/
loans
/
{loanId}
/
modify
curl --request PUT \
  --url https://spark.test.woodcore.co/api/v2/loans/{loanId}/modify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "clientId": 3,
  "createStandingInstructionAtDisbursement": true,
  "createdDate": "5 October 2024",
  "duration": 10,
  "durationBy": "Month",
  "expectedDisbursementDate": "6 October 2024",
  "interestRate": 5,
  "interestType": "Flat",
  "linkDepositAccountId": 573,
  "loanTermFrequency": 10,
  "loanType": "individual",
  "numberOfRepayments": 10,
  "principal": 200000,
  "productId": 2,
  "repaymentEvery": 1,
  "repaymentFrequency": "Monthly",
  "repaymentStartingDate": "8 October 2024"
}'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

loanId
string
required
Example:

"default"

Body

application/json

Response

200 - application/json
ddddd

The response is of type object.