POST
/
loans
/
{loanId}
/
reject
curl --request POST \
  --url https://spark.test.woodcore.co/api/v2/loans/{loanId}/reject \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "note": "Loan Rejected by Opemipo.",
  "rejectedOnDate": "27 July 2023"
}'
{}

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.