POST
/
api
/
v1
/
loans
/
upload-documents
Upload documents for a loan.
curl --request POST \
  --url https://demoapi.saasphereltd.com/api/v1/loans/upload-documents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "loan_id": 123,
  "documents": [
    "architecto"
  ]
}
'
{
  "status": "00",
  "message": "Successful",
  "data": []
}

Authorizations

Authorization
string
header
required

Paste only the token (no "Bearer " prefix).

Body

application/json
loan_id
integer
required

The loan ID.

Example:

123

documents
string[]
required

Array of documents to upload.

Example:
["architecto"]

Response

200 - application/json
status
string
Example:

"00"

message
string
Example:

"Successful"

data
any[]
Example:
[]